ansi=auto|never|always

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2023-04-05 12:44:18 +02:00 committed by Nicolas De loof
parent 1bca8d5c01
commit d3e49fe360
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ func RootCommand(streams command.Cli, backend api.Service) *cobra.Command { //no
switch ansi {
case "never":
progress.Mode = progress.ModePlain
case "tty":
case "always":
progress.Mode = progress.ModeTTY
}
if opts.WorkDir != "" {