pass through verbose mode

This commit is contained in:
Luke K 2020-05-28 13:53:06 +00:00
parent 9671e5af74
commit 5ec4ac644a
No known key found for this signature in database
GPG Key ID: 4896F75BAF2E1966
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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)
}