Forrest logo
tool overview
On this page you find all important commands for the CLI tool gum. If the command you are looking for is missing please ask our AI.

gum

The gum command line tool is a utility that allows users to handle Git repositories more efficiently and conveniently.

  1. It is designed to simplify and streamline common Git operations for users.
  2. Gum provides a range of commands for common Git tasks, including initializing repositories, committing changes, branching, merging, and more.
  3. With gum, users can easily create a new Git repository by simply running the 'gum init' command.
  4. It offers an intuitive and user-friendly interface, making it easier for newcomers to grasp Git concepts and workflows.
  5. Gum allows users to easily switch between branches, creating and merging them seamlessly.
  6. It offers a comprehensive set of commands to aid in reviewing and comparing changes, such as 'gum diff' and 'gum log'.
  7. Users can use gum to add files to the staging area and commit changes with the 'gum add' and 'gum commit' commands, respectively.
  8. Gum also provides the ability to collaborate with others by integrating with remote repositories, enabling users to push and pull changes effortlessly.
  9. It has robust error handling and informative error messages, helping users diagnose and fix issues.
  10. Gum is open-source, actively maintained, and offers a variety of configuration options to customize the tool to fit individual workflows.

List of commands for gum:

  • gum:tldr:413d9 gum: Format text to include emojis.
    $ gum format -t ${emoji} "${:smile: :heart: hello}"
    try on your machine
    explain this command
  • gum:tldr:49ef6 gum: Open an interactive confirmation prompt and exit with either `0` or `1`.
    $ gum confirm "${Continue?}" --default=false --affirmative "${Yes}" --negative "${No}" ${select}
    try on your machine
    explain this command
  • gum:tldr:5e378 gum: Interactively pick a specific option to print to `stdout`.
    $ gum choose "${option_1}" "${option_2}" "${option_3}"
    try on your machine
    explain this command
  • gum:tldr:aa0f6 gum: Open an interactive prompt for the user to input a string with a specific placeholder.
    $ gum input --placeholder "${value}"
    try on your machine
    explain this command
  • gum:tldr:c3b5e gum: Interactively prompt for multi-line text (CTRL + D to save) and write to `data.txt`.
    $ gum write > ${data-txt}
    try on your machine
    explain this command
tool overview