Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Enable CLICOLOR and CLICOLOR_FORCE env variables #557

Merged
merged 1 commit into from
Sep 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
@@ -31,6 +31,9 @@ func NewRootCommand() *cobra.Command {
if verbose {
log.SetLevel(log.DebugLevel)
}
log.SetFormatter(&log.TextFormatter{
EnvironmentOverrideColors: true,
})
}

command.RunE = func(cmd *cobra.Command, args []string) error {