cli: enhancements of doom, v1
authorMichael D Labriola <michael.d.labriola@gmail.com>
Wed, 30 Dec 2015 19:56:00 +0000 (14:56 -0500)
committerMichael D Labriola <michael.d.labriola@gmail.com>
Wed, 30 Dec 2015 19:56:00 +0000 (14:56 -0500)
commit367a749e0e2da014431add8a9b3e0e80f5ab2522
tree692d9aae95043ab663980171edbea357cf4d2887
parentc35e37a5be10781df6d6bc648677e57761591cda
cli: enhancements of doom, v1

- embed mode-specific flags in argument
- allow multiple --build ARGS --build ARGS in single run
- cleaned up help message and examples

Basically, I want to be able to do the following:

srp -vvv --root $PWD/FOO \
    -b examples/foo-3.0/srp-example-foo.notes,extradir=examples/foo-3.0 \
    -b examples/foo-3.0/srp-example-foo-functions.notes,copysrc=True \
    -b examples/foo-3.0/srp-example-foo-functions-multi.notes \
    -i srp-example-foo-*-3.*.brp \
    -B examples/bar-3.0/srp-example-bar.notes,src=examples/bar-3.0 &&
echo wowzers || exit 1
src/modules/srp/cli.py
src/modules/srp/core.py