Added bar clearing on finish
This commit is contained in:
parent
5e214456c2
commit
bf222240da
@ -95,6 +95,7 @@ var rootCmd = &cobra.Command{
|
|||||||
progressbar.OptionShowCount(),
|
progressbar.OptionShowCount(),
|
||||||
progressbar.OptionShowIts(),
|
progressbar.OptionShowIts(),
|
||||||
progressbar.OptionSetPredictTime(false),
|
progressbar.OptionSetPredictTime(false),
|
||||||
|
progressbar.OptionClearOnFinish(),
|
||||||
progressbar.OptionEnableColorCodes(true),
|
progressbar.OptionEnableColorCodes(true),
|
||||||
progressbar.OptionSetWidth(40),
|
progressbar.OptionSetWidth(40),
|
||||||
progressbar.OptionSetTheme(progressbar.Theme{
|
progressbar.OptionSetTheme(progressbar.Theme{
|
||||||
@ -200,7 +201,6 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Todo:
|
// Todo:
|
||||||
// Clear bar on finish
|
|
||||||
// Clean up main.go
|
// Clean up main.go
|
||||||
// Fix warning logs
|
// Fix warning logs
|
||||||
// Fix wildcard log
|
// Fix wildcard log
|
||||||
|
Loading…
Reference in New Issue
Block a user