Charm Gum Has a Free API That Most Developers Dont Know About

go dev.to

Gum by Charm is a tool for building beautiful shell scripts. It provides interactive prompts, spinners, file pickers, and styled text — all from bash. Interactive Prompts # Text input NAME=$(gum input --placeholder "Your name") # Multi-line text BIO=$(gum write --placeholder "Tell us about yourself") # Confirm gum confirm "Delete all files?" && rm -rf ./temp # Choose from list COLOR=$(gum choose "Red" "Green" "Blue" "Yellow") # Multi-select FRAMEWORKS=$(gum choose --no-limit "

Read Full Tutorial open_in_new
arrow_back Back to Tutorials