Name | Type | Required | Default | Hint |
files | globber | true | A file globbing pattern that matches one or more files | |
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 |
Remove those pesky trailing spaces from each line that some editors add.
Can be run on a single file or aginst a list of files defined by a file globbing pattern.
rts **.cf*Skip the user confirmation with the --force flag.
rts models/**.cfc --forcePrint the file path of each file affected with the --verbose flag.
rts includes/*.cfm --verboseExclude a list a file globbing patterns
rts ** *.png,node_modules/You can set global default parameters for this command to use like so:
config set command.defaults.rts.force=true
config set command.defaults.rts.verbose=true
config set command.defaults.rts.exclude=.git/,*.png