mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Move cliOptions to helper
This commit is contained in:
parent
9ddd105772
commit
20ad66a5de
2 changed files with 12 additions and 6 deletions
8
helpers/cli-options.js
Normal file
8
helpers/cli-options.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
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'),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue