foreach-cli
Version:
CLI util to execute a command for each file matching a glob
32 lines • 766 B
text/coffeescript
module.exports =
'g':
alias: 'glob'
describe: 'Specify the glob '
type: 'string'
'i':
alias: 'ignore'
describe: 'Glob ignore'
type: 'string'
'nd':
alias: 'nodir'
describe: 'Ignore directories (folders)'
type: 'boolean'
'x':
alias: 'execute'
describe: 'Command to execute upon file addition/change'
type: 'string'
'c':
alias: 'forceColor'
describe: 'Force color TTY output (pass --no-c to disable)'
type: 'boolean'
default: true
't':
alias: 'trim'
describe: 'Trims the output of the command executions to only show the first X characters of the output'
type: 'number'
default: undefined
'C':
alias: 'concurrent'
describe: 'Execute commands concurrently (pass --no-C to disable)'
type: 'boolean'
default: true