diff --git a/README.md b/README.md index 92f6d78..da29dc8 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,8 @@ Prompt your users for input with a simple command. gum input > answer.text ``` +Shell running gum input typing I love bubble gum <3 + #### Write Prompt your users to write some multi-line text. @@ -90,6 +92,8 @@ Prompt your users to write some multi-line text. gum write > story.text ``` +Shell running gum write typing My favorite flavors are: + #### Filter Allow your users to filter through a list of options by fuzzy searching. @@ -101,6 +105,8 @@ echo Cherry >> flavors.text cat flavors.text | gum filter > selection.text ``` +Shell running gum filter on different bubble gum flavors + #### Choose Ask your users to choose an option from a list of choices. @@ -112,6 +118,8 @@ CARD=$(gum choose --height 15 {{A,K,Q,J},{10..2}}" "{♠,♥,♣,♦}) echo "Was your card the $CARD?" ``` +Shell running gum choose on a deck of cards, picking the Ace of Hearts + #### Progress Display a progress bar while loading. The following command will display a @@ -122,6 +130,8 @@ seconds to complete the progress bar. gum progress --increment 0.1 --interval 1s ``` +Shell running gum progress + #### Spinners Display a spinner while taking some running action. We specify the command to @@ -132,6 +142,8 @@ command exits. gum spin --spinner dot --title "Buying Bubble Gum..." -- sleep 5 ``` +Shell running gum spin while sleeping for 5 seconds + ## Styling and Layout #### Style