bootstrap-vz/bootstrapvz/base
Filipe Brandenburger 1fe10207b8 Check the value of the --color argument
Make sure it's either `auto' (the default), `always' or `never'. If it
does not match any of the values, raise a Docopt exception that causes
it to print usage and exit.

Tested:
- $ sudo ./bootstrap-vz --color=invalid manifests/gce.manifest.yml
  Value of --color must be one of auto, always or never.
  Usage: bootstrap-vz [options] MANIFEST

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-24 10:52:08 -07:00
..
fs Convert param docs into parseable format. 2014-05-04 19:31:53 +02:00
pkg Convert param docs into parseable format. 2014-05-04 19:31:53 +02:00
__init__.py Convert every JSON file to YAML 2014-07-09 23:17:04 +02:00
bootstrapinfo.py Factor release codename fetching out into common.tools 2014-07-09 23:17:05 +02:00
log.py Support --color option to indicate whether to use colors in the terminal 2014-08-22 11:46:19 -07:00
main.py Check the value of the --color argument 2014-08-24 10:52:08 -07:00
manifest-schema.yml Convert every JSON file to YAML 2014-07-09 23:17:04 +02:00
manifest.py Allow passing data into the manifest. 2014-07-09 23:17:05 +02:00
phase.py Convert param docs into parseable format. 2014-05-04 19:31:53 +02:00
task.py Convert param docs into parseable format. 2014-05-04 19:31:53 +02:00
tasklist.py Refactor tasklist for easier integration by taskoverview 2014-05-10 17:28:31 +02:00