diff --git a/README.md b/README.md index f0328ca..fc05c41 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Gum ===

- Gum Image + Gum Image

Latest Release GoDoc @@ -12,7 +12,7 @@ Gum Gum helps you write glamorous bash scripts by providing a collection of beautiful and highly configurable ready-to-use utilities. -Shell running different gum commands +Shell running different gum commands ## Installation @@ -66,7 +66,7 @@ Prompt your users for input with a simple command. gum input > answer.text ``` -Shell running gum input typing Not much, you? +Shell running gum input typing Not much, you? #### Write @@ -76,7 +76,7 @@ Prompt your users to write some multi-line text. gum write > story.text ``` -Shell running gum write typing a story +Shell running gum write typing a story #### Filter @@ -89,7 +89,7 @@ echo Cherry >> flavors.text cat flavors.text | gum filter > selection.text ``` -Shell running gum filter on different bubble gum flavors +Shell running gum filter on different bubble gum flavors #### Choose @@ -115,7 +115,7 @@ echo "What do you need from the grocery store?" cat foods.txt | gum choose --no-limit ``` -Shell running gum choose with numbers and gum flavors +Shell running gum choose with numbers and gum flavors #### Spin @@ -127,7 +127,7 @@ command exits. gum spin --spinner dot --title "Buying Bubble Gum..." -- sleep 5 ``` -Shell running gum spin while sleeping for 5 seconds +Shell running gum spin while sleeping for 5 seconds ## Styling @@ -142,7 +142,7 @@ gum style \ 'Bubble Gum (1¢)' 'So sweet and so fresh!' ``` -Bubble Gum, So sweet and so fresh! +Bubble Gum, So sweet and so fresh! ## Layout @@ -165,7 +165,7 @@ BUBBLE_GUM=$(gum join "$BUBBLE" "$GUM") gum join --align center --vertical "$I_LOVE" "$BUBBLE_GUM" ``` -I LOVE Bubble Gum written out in four boxes with double borders around them. +I LOVE Bubble Gum written out in four boxes with double borders around them. ## Format @@ -188,7 +188,7 @@ echo '{{ Bold "Tasty" }} {{ Italic "Bubble" }} {{ Color "99" "0" " Gum " }}' \ echo 'I :heart: Bubble Gum :candy:' | gum format -t emoji ``` -Running gum format for different types of formats +Running gum format for different types of formats ## Examples @@ -210,7 +210,7 @@ git commit -m "$(gum input --width 50 --placeholder "Summary of changes")" \ -m "$(gum write --width 80 --placeholder "Details of changes")" ``` -Running the ./examples/commit.sh script to commit to git +Running the ./examples/commit.sh script to commit to git #### Open files in your `$EDITOR` @@ -232,7 +232,7 @@ SESSION=$(tmux list-sessions -F \#S | gum filter --placeholder "Pick session..." tmux switch-client -t $SESSION || tmux attach -t $SESSION ``` -Picking a tmux session with gum filter +Picking a tmux session with gum filter #### Pick commit hash from history @@ -243,7 +243,7 @@ commit hash of the selected commit. git log --oneline | gum filter | cut -d' ' -f1 # | copy ``` -Picking a commit with gum filter +Picking a commit with gum filter #### Choose packages to uninstall @@ -268,6 +268,6 @@ We’d love to hear your thoughts on this project. Feel free to drop us a note! Part of [Charm](https://charm.sh). -The Charm logo +The Charm logo Charm热爱开源 • Charm loves open source