CmdID

CmdID / Commands

gum

Make glamorous shell scripts. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Interactively pick a specific option to print to stdout

gum choose "option1" "option2" "..."Identify

Open an interactive prompt for the user to input a string with a specific placeholder

gum input --placeholder "value"Identify

Open an interactive confirmation prompt and exit with either <0> or <1>

gum confirm "Continue?" --default=false --affirmative "Yes" --negative "No" && echo "Yes selected" || echo "No selected"Identify

Show a spinner while a command is taking place with text alongside

gum spin --spinner dot --title "loading..." commandIdentify

Format text to include emojis

gum format --type emoji ":smile: :heart: hello"Identify

Interactively prompt for multi-line text and write the input to a file

gum write >path/to/fileIdentify