Update progress bars
This commit is contained in:
parent
5636e187aa
commit
5a57ab02e8
|
@ -49,14 +49,14 @@ var rootCmd = &cobra.Command{
|
||||||
WithShowElapsedTime(false).
|
WithShowElapsedTime(false).
|
||||||
WithRemoveWhenDone(false).
|
WithRemoveWhenDone(false).
|
||||||
WithShowCount(false).
|
WithShowCount(false).
|
||||||
WithBarFiller(pbarFillStyle.Sprint("—")).
|
WithBarFiller(pbarFillStyle.Sprint("─")).
|
||||||
WithLastCharacter("—").
|
WithLastCharacter("─").
|
||||||
WithBarCharacter("—").
|
WithBarCharacter("─").
|
||||||
WithTitleStyle(pbarTitleStyle).
|
WithTitleStyle(pbarTitleStyle).
|
||||||
WithBarStyle(pbarStyle)
|
WithBarStyle(pbarStyle)
|
||||||
spinner = *pterm.DefaultSpinner.
|
spinner = *pterm.DefaultSpinner.
|
||||||
WithRemoveWhenDone(true).
|
WithRemoveWhenDone(true).
|
||||||
WithSequence("-", "\\", "|", "/").
|
WithSequence("─", "\\", "|", "/").
|
||||||
WithStyle(pbarTitleStyle).
|
WithStyle(pbarTitleStyle).
|
||||||
WithDelay(time.Millisecond * 100)
|
WithDelay(time.Millisecond * 100)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue