static flags = {
bytes: flags.boolean({
char: 'c',
description: 'print the byte counts',
}),
chars: flags.boolean({
char: 'm',
description: 'print the character counts',
}),
'files-from': flags.string({
description: 'read input from the file specified by NUL-terminated ' +
'names in file "files-from"; if "files-from" is - then read names ' +
'from standard input',
}),
file: flags.string({
char: 'f',
description: 'one or more files in which to count items',
multiple: true,
required: true,
}),
help: flags.help({char: 'h'}),
lines: flags.boolean({
char: 'l',
description: 'print the newline counts',
}),
'max-line-length': flags.integer({
char: 'L',
description: 'print the maximum display width',
}),
version: flags.version({char: 'v'}),
words: flags.boolean({
char: 'w',
description: 'print the word counts',
}),
...cli.table.flags(),
}
I tried to combine the types to no avail.