octodash
An opinionated version of dashdash
Example Usage
const OctoDash = const CLI_OPTIONS = names: "first-thing" "f" type: "string" env: "FIRST_THING" required: true help: "first thing to specify" names: "second-thing" "s" type: "string" env: "SECOND_THING" help: "second thing to specify" names: "third-thing" "t" type: "base64" env: "THIRD_THING" default: "Y29vbAo=" help: "third thing to specify" const octoDash = argv: processargv cliOptions: CLI_OPTIONSconst options = octoDashconsoleoctoDash // exits with status 0octoDash // prints error and exists with status code 1