Skip to content

Instantly share code, notes, and snippets.

@ambakshi
Created Aug 15, 2014
Embed
What would you like to do?
$ ~/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