Skip to content

Instantly share code, notes, and snippets.

@maciejcieslar
Created November 7, 2018 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maciejcieslar/c2b30926669fbaab57d1fc6d4c1fe039 to your computer and use it in GitHub Desktop.
Save maciejcieslar/c2b30926669fbaab57d1fc6d4c1fe039 to your computer and use it in GitHub Desktop.
const commandArguments = program
.version('1.0.0')
.option('-e, --ext <items>', 'Extensions to watch', parsers.list)
.option('-w, --watch <items>', 'Directories to watch', parsers.list)
.option('-i, --ignore <items>', 'Directories to ignore', parsers.list)
.option('-d, --delay <n>', 'Delay before the execution', parsers.int)
.option('-x, --exe <script>', 'Execute script on restart')
.parse(process.argv)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment