Name | Type | Required | Default | Hint |
files | globber | true | A file globbing pattern that matches one or more files | |
spacesOrTabs | string | false | spaces | Convert to spaces or tabs |
spaceTabCount | number | false | 4 | The number of spaces per tab |
exclude | string | false | A list of globbing patterns to ignore | |
force | boolean | false | false | Skip user confirmation of modiying files |
verbose | boolean | false | false | Output additional information about each file affected |
Normalizes the indentation for a file or set of files
indents **.cf* tabsChange the number of spaces per tab
indents **.cf* tabs 2To skip the confirmation, use the --force flag.
indents models/**.cfc --forcePrint the file path of each file affected with the --verbose flag.
indents includes/*.cfm --verboseExclude a list a globber patterns
indents ** *.png,node_modules/You can set global default parameters for this command to use like so:
config set command.defaults.indents.force=true
config set command.defaults.indents.verbose=true
config set command.defaults.indents.exclude=.git/,*.png