{"repo":"charmbracelet/gum","free":true,"listed":false,"github":"https://github.com/charmbracelet/gum","clone":"git clone https://github.com/charmbracelet/gum.git","description":"A tool for glamorous shell scripts 🎀","language":"Go","stars":24243,"topics":["bash","shell"],"license":"MIT","category":"cli-tools","readme_excerpt":"Gum A tool for glamorous shell scripts. Leverage the power of Bubbles and Lip Gloss in your scripts and aliases without writing any Go code! The above example is running from a single shell script (source). Tutorial Gum provides highly configurable, ready-to-use utilities to help you write useful shell scripts and dotfile aliases with just a few lines of code. Let's build a simple script to help you write Conventional Commits for your dotfiles. Ask for the commit type with gum choose: [!NOTE] This command itself will print to stdout which is not all that useful. To make use of the command later on you can save the stdout to a $VARIABLE or file.txt . Prompt for the scope of these changes: Prompt for the summary and description of changes: Confirm before committing: Check out the complete example for combining these commands in a single script. Installation Use a package manager: Debian/Ubuntu Fedora/RHEL/OpenSuse FreeBSD Or download it: - [Packages][releases] are available in Debian, RPM, and Alpine formats - [Binaries][releases] are available for Linux, macOS, Windows, FreeBSD, OpenBSD, and NetBSD Or just install it with go : [releases]: https://github.com/charmbracelet/gum/releases Commands - choose : Choose an option from a list of choices - confirm : Ask a user to confirm an action - file : Pick a file from a folder - filter : Filter items from a list - format : Format a string using a template - input : Prompt for some input - join : Join text vertically or horizontally -","default_branch":null,"files":null,"tree":[],"storefront":"/r/charmbracelet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/charmbracelet/gum/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}