mirror of
https://github.com/charmbracelet/gum
synced 2024-06-15 20:15:08 +02:00
Update Spin on README.md
This commit is contained in:
parent
27d235b03c
commit
28fa08424f
|
@ -294,10 +294,14 @@ gum pager < README.md
|
|||
Display a spinner while running a script or command. The spinner will
|
||||
automatically stop after the given command exits.
|
||||
|
||||
To view the command's output, use the `--show-output` flag.
|
||||
To view output in real-time add the `--live-output` flag as well.
|
||||
|
||||
```bash
|
||||
gum spin --spinner dot --title "Buying Bubble Gum..." -- sleep 5
|
||||
```
|
||||
|
||||
|
||||
<img src="https://stuff.charm.sh/gum/spin.gif" width="600" alt="Shell running gum spin while sleeping for 5 seconds" />
|
||||
|
||||
Available spinner types include: `line`, `dot`, `minidot`, `jump`, `pulse`, `points`, `globe`, `moon`, `monkey`, `meter`, `hamburger`.
|
||||
|
|
Loading…
Reference in a new issue