doesitarm/helpers/cli-options.js
2022-05-09 16:40:06 -05:00

8 lines
297 B
JavaScript

export const commandArguments = process.argv
export const cliOptions = {
verbose: commandArguments.includes('--verbose'),
withApi: commandArguments.includes('--with-api'),
noLists: commandArguments.includes('--no-lists'),
showMerges: commandArguments.includes('--show-merges'),
}