Skip to content

Instantly share code, notes, and snippets.

@daGrevis
Created May 22, 2019 21:37
Show Gist options
  • Save daGrevis/1561191062c5d46a4b0259097facf13b to your computer and use it in GitHub Desktop.
Save daGrevis/1561191062c5d46a4b0259097facf13b to your computer and use it in GitHub Desktop.
$ node src/index.js -h
Options:
--make e.g. bmw [string] [required]
--fuel [string] [choices: "petrol", "gas", "diesel", "hybrid"]
--transmission [string] [choices: "manual", "automatic"]
--year-from e.g. 2006 [string]
--year-to e.g. 2009 [string]
--liters-from e.g. 2.0 [string]
--liters-to e.g. 2.5 [string]
--email-to [string] [default: "dagrevis@gmail.com"]
--email-from [string] [default: "ss-watcher@dagrev.is"]
--sendgrid-key [string]
--cron-schedule [string] [default: "*/30 * * * *"]
-h, --help Show help [boolean]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment