pulumi/pkg/diag
CyrusNajmabadi e4946a6620
Allow users to control if and how output is colorized. (#718)
Part of the work to make it easier to tests of diff output.  Specifically, we now allow users to pass --color=option for several pulumi commands.  'option' can be one of 'always', 'never', 'raw', and 'auto' (the default).  

The meaning of these flags are:

1. auto: colorize normally, unless in --debug 
2. always: always colorize no matter what
3. never: never colorize no matter what.
4. raw: colorize, but preserve the original "<{%%}>" style control codes and not the translated platform specific codes.   This is for testing purposes and ensures we can have test for this stuff across platform.
2017-12-14 11:53:02 -08:00
..
colors Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
diag.go Add (back) component outputs 2017-11-20 17:38:09 -08:00
doc.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
pos.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
sink.go Allow users to control if and how output is colorized. (#718) 2017-12-14 11:53:02 -08:00
sink_test.go Allow users to control if and how output is colorized. (#718) 2017-12-14 11:53:02 -08:00