We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d87324d commit ba60746Copy full SHA for ba60746
command/meta.go
@@ -154,9 +154,11 @@ func (m *Meta) allNamespaces() bool {
154
}
155
156
func (m *Meta) Colorize() *colorstring.Colorize {
157
+ noColor := m.noColor || os.Getenv(EnvNomadCLINoColor) != ""
158
+
159
return &colorstring.Colorize{
160
Colors: colorstring.DefaultColors,
- Disable: m.noColor || !terminal.IsTerminal(int(os.Stdout.Fd())),
161
+ Disable: noColor || !terminal.IsTerminal(int(os.Stdout.Fd())),
162
Reset: true,
163
164
0 commit comments