diff --git a/README.md b/README.md index c2af4f2..0eb8f2a 100644 --- a/README.md +++ b/README.md @@ -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 ``` + Shell running gum spin while sleeping for 5 seconds Available spinner types include: `line`, `dot`, `minidot`, `jump`, `pulse`, `points`, `globe`, `moon`, `monkey`, `meter`, `hamburger`.