$ ~/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)