DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Gum: A tool for glamorous shell scripts  (Read 22,442 times)

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,027
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Linux User
Gum: A tool for glamorous shell scripts
« on: October 17, 2025, 07:04 PM »
This is very cool, a suite of TUI tools harnessing the power of the Charmbracelet Go libraries, but for bash/cmd/powershell scripts:

Quote
Charmbracelet Gum
Gum provides highly configurable, ready-to-use utilities to help you write useful shell scripts and dotfiles aliases with just a few lines of code.

https://github.com/charmbracelet/gum

gum600.png

gum.gif


Lots of examples at the Github site, and more here: https://tech.aufomm.com/how-do-i-use-charmbracelet-gum-to-improve-my-scripts/
This has now replaced Select, Dialog, and Whiptail for me. 
It is still in active development, so there may be bugs lurking, so YMMV.


from trying to create better interactive scripts and ending up hating select, dialog, and whiptail all at the same time.
All children left unattended will be given a mocha and a puppy.
« Last Edit: October 17, 2025, 08:15 PM by Edvard »

Original address: https://www.donationcoder.com/forum/index.php?topic=55460.0