diff --git a/cmd/create.go b/cmd/create.go index 0ffe109fc..45aef5f2a 100644 --- a/cmd/create.go +++ b/cmd/create.go @@ -135,7 +135,7 @@ func create(cmd *cobra.Command, args []string) (err error) { deployer.Verbose = config.Verbose // Progress bar - listener := progress.New() + listener := progress.New(progress.WithVerbose(config.Verbose)) // Instantiate a client, specifying concrete implementations for // Initializer and Deployer, as well as setting the optional verbosity param. diff --git a/progress/progress.go b/progress/progress.go index f94bd0e1c..8f19b72ab 100644 --- a/progress/progress.go +++ b/progress/progress.go @@ -188,4 +188,5 @@ func (b *Bar) overwrite(prefix string) { clear = "\033[K" ) fmt.Fprintf(b.out, "\r%v%v%v%v/%v %v\n", up, clear, prefix, b.i, b.n, b.t) + // fmt.Fprintf(b.out, "\r%v%v/%v %v\033[K", prefix, b.i, b.n, b.t) }