Skip to content

Instantly share code, notes, and snippets.

@ambakshi
Created August 15, 2014 03:31
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 ambakshi/2893cd307f1e116b3eb2 to your computer and use it in GitHub Desktop.
Save ambakshi/2893cd307f1e116b3eb2 to your computer and use it in GitHub Desktop.
$ ~/parse-with-help-from-git.sh data --game-tag foo
Hi from the data command
INPUT_FILE=
DATASET=
GAME_TAG=foo
[amit.bakshi@gii1302greendog bin (master)]
$ ~/parse-with-help-from-git.sh data --bad-arg foo
error: unknown option `bad-arg'
usage: parse-with-help-from-git subcommand <options>
subcommands:
data - download a dataset
-h, --help show help
-d, --debug debug output
-v, --verbose verbose output
-f, --file ... input file
options for data
--dataset ... specify dataset to download (eg, 20140219_26816) (default: latest)
-g, --game-tag ... specify game-tag (default: GAME_TAG env or hc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment