Images of shells by the sea

Gum – tool for glamorous shell scripts

Gum is a tool for glamorous shell scripts. Leverage the power of Bubbles and Lip Gloss in your scripts and aliases without writing any Go code.

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.

This is free and open source software.

Available commands:

  • Choose: Choose an option from a list of choices. You can also select multiple items with the --limit or --no-limit flag, which determines the maximum of items that can be chosen.
  • Confirm: Ask a user to confirm an action. Exits with code 0 (affirmative) or 1 (negative) depending on selection.
  • File: Prompt the user to select a file from the file tree.
  • Filter: Filter a list of values with fuzzy matching.
  • Format: Processes and formats bodies of text. gum format can parse markdown, template strings, and named emojis.
  • Input: Prompt for input with a simple command.
  • Join: Combine text vertically or horizontally. Use this command with gum style to build layouts and pretty output.
  • Pager: Scroll through a long document with line numbers and a fully customizable viewport.
  • Spin: Display a spinner while running a script or command. The spinner will automatically stop after the given command exits.
  • Style: Pretty print (applies coloring, borders, spacing to text) any string with any layout with one command.
  • Table: Select a row from some tabular data.
  • Write: Prompt for long-form text.
  • Log: Logs messages to the terminal at using different levels and styling using the charmbracelet/log library.

Website: github.com/charmbracelet/gum
Support:
Developer: Charmbracelet, Inc
License: MIT License

Commands available with gum

Gum is written in Go. Learn Go with our recommended free books and free tutorials.


Explore Linux

Best Free and Open Source Software - A huge collection of recommended free and open source software covering every major category.
In-depth Linux Software Reviews - Detailed assessments of Linux software covering features, usability and overall quality.

The Big List of Active Linux Distros - An extensive collection of actively developed Linux distributions.
Open Source Alternatives - Alternatives to software and services from Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle and others.
Essential Linux System Tools - Indispensable utilities for monitoring, maintaining and managing Linux systems.
Linux Productivity Tools - Useful utilities for improving productivity and streamlining everyday tasks.
Alternatives to Popular CLI Tools - Modern alternatives to familiar command-line utilities supplied with Linux systems.
Awesome Free Linux Game Tools - Tools, utilities and companion software that improve gaming on Linux.
Machine Learning on Linux - Machine learning and deep learning software, self-hosted applications and practical tools.
Saving Money with Linux - Practical ways to reduce electricity consumption and lower computing costs with Linux.
Linux Candy - Fun, entertaining and sometimes delightfully quirky software from the lighter side of Linux.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted