bootstrap-vz/bootstrapvz
Filipe Brandenburger 84cf497c66 Support --color option to indicate whether to use colors in the terminal
Mimic the behavior of the --color=<auto|always|never> found in tools
like `ls' and `grep'. Default to `auto' which checks whether stderr is a
tty to define whether colors are used.

Tested:
- Ran ./boostrap-vz --color=never and --color=always, confirmed
  colorization worked as expected.
- Ran ./boostrap-vz --color=auto ${manifest_file} 2>bootstrap.log,
  confirmed colors were not added to boostrap.log by default, repeated
  the test with --color=always and confirmed escape sequences were
  output.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-22 11:46:19 -07:00
..
base Support --color option to indicate whether to use colors in the terminal 2014-08-22 11:46:19 -07:00
common Fix list of tasks and their ordering 2014-07-24 20:20:54 -07:00
plugins Removed a check to verify file type 2014-08-14 18:10:54 -07:00
providers Disable SSH password auth on GCE 2014-08-14 18:10:54 -07:00
__init__.py Properly fix imports and make bootstrapvz work like a package 2014-04-02 21:32:10 +02:00