busy-umbrella-36067
10/02/2018, 10:14 PMwhite-balloon-205
lemon-spoon-91807
10/02/2018, 10:28 PMbitter-oil-46081
10/02/2018, 10:32 PMbusy-umbrella-36067
10/02/2018, 10:34 PMpulumi preview --non-interactive --color always
lemon-spoon-91807
10/02/2018, 10:34 PMbusy-umbrella-36067
10/02/2018, 10:36 PMTERM
env varlemon-spoon-91807
10/02/2018, 10:37 PMbusy-umbrella-36067
10/02/2018, 10:42 PM--color raw
should ignore itlemon-spoon-91807
10/02/2018, 10:44 PMbusy-umbrella-36067
10/02/2018, 10:44 PMlemon-spoon-91807
10/02/2018, 10:53 PMbig-piano-35669
color.Never
, due to
if globalColorization == colors.Always && !terminal.IsTerminal(int(os.Stdout.Fd())) {
return colors.Never
}
? Not sure, but if so, it seems like if someone explicitly asked for colorization, we should respect it?bitter-oil-46081
10/02/2018, 11:24 PMglamorous-printer-66548
10/04/2018, 3:54 AMwhite-balloon-205
lemon-spoon-91807
10/04/2018, 9:53 PM--color=always
, we'll respect that and actually print colors no matter what. Leaving out the command line option, or specifying 'auto' will put us in the mode where we try to figure out what's best in terms or colors or not.