 |
|
| |
GUM(1) |
A tool for glamorous shell scripts. |
GUM(1) |
gum - A tool for glamorous shell scripts.
gum [options...] [argument...]
- choose [<options>
...] [flags]
Choose an option from a list of choices
- OPTIONS
- confirm
[<prompt>] [flags]
Ask a user to confirm an action
- OPTIONS
- file [<path>]
[flags]
Pick a file from a folder
- OPTIONS
- filter [<options>
...] [flags]
Filter items from a list
- OPTIONS
- format
[<template> ...] [flags]
Format a string using a template
- OPTIONS
-l, --language="" Programming language
to parse code
- --strip-ansi
- Strip ANSI sequences when reading from STDIN
- --theme="pink"
- Glamour theme to use for markdown formatting
- -t,
--type="markdown"
- Format to use (markdown,template,code,emoji)
- input
[flags]
Prompt for some input
- OPTIONS
- join <text> ...
[flags]
Join text vertically or horizontally
- OPTIONS
--align="left" Text alignment
- --horizontal
- Join (potentially multi-line) strings horizontally
- --vertical
- Join (potentially multi-line) strings vertically
- log <text> ...
[flags]
Log messages to output
- OPTIONS
Scroll through a file
- OPTIONS
- spin <command> ...
[flags]
Display spinner while running a command
- OPTIONS
- style [<text> ...]
[flags]
Apply coloring, borders, spacing to text
- OPTIONS
- table
[flags]
Render a table of data
- OPTIONS
--border.align="left" Text Alignment
- --border.background=""
- Background Color
- --border.bold
- Bold text
- --border.border-background=""
- Border Background Color
- --border.border-foreground=""
- Border Foreground Color
- --border.border="none"
- Border Style
- --border.faint
- Faint text
- --border.foreground=""
- Foreground Color
- --border.height=0
- Text height
- --border.italic
- Italicize text
- --border.margin="0
0"
- Text margin
- --border.padding="0
0"
- Text padding
- --border.strikethrough
- Strikethrough text
- --border.underline
- Underline text
- --border.width=0
- Text width
- -b,
--border="rounded"
- border style
- --cell.align="left"
- Text Alignment
- --cell.background=""
- Background Color
- --cell.bold
- Bold text
- --cell.border-background=""
- Border Background Color
- --cell.border-foreground=""
- Border Foreground Color
- --cell.border="none"
- Border Style
- --cell.faint
- Faint text
- --cell.foreground=""
- Foreground Color
- --cell.height=0
- Text height
- --cell.italic
- Italicize text
- --cell.margin="0
0"
- Text margin
- --cell.padding="0
0"
- Text padding
- --cell.strikethrough
- Strikethrough text
- --cell.underline
- Underline text
- --cell.width=0
- Text width
- -c,
--columns=COLUMNS,...
- Column names
- --fields-per-record=0
- Sets the number of expected fields per record
- -f,
--file=""
- file path
- Text Alignment
- Background Color
- Bold text
- Border Background Color
- Border Foreground Color
- Border Style
- Faint text
- Foreground Color
- Text height
- Italicize text
- Text margin
- Text padding
- Strikethrough text
- Underline text
- Text width
- --height=0
- Table height
- --hide-count
- Hide item count on help keybinds
- --lazy-quotes
- If LazyQuotes is true, a quote may appear in an unquoted field and a
non-doubled quote may appear in a quoted field
- -p, --print
- static print
- -r,
--return-column=0
- Which column number should be returned instead of whole row as string.
Default=0 returns whole Row
- --selected.align="left"
- Text Alignment
- --selected.background=""
- Background Color
- --selected.bold
- Bold text
- --selected.border-background=""
- Border Background Color
- --selected.border-foreground=""
- Border Foreground Color
- --selected.border="none"
- Border Style
- --selected.faint
- Faint text
- --selected.foreground="212"
- Foreground Color
- --selected.height=0
- Text height
- --selected.italic
- Italicize text
- --selected.margin="0
0"
- Text margin
- --selected.padding="0
0"
- Text padding
- --selected.strikethrough
- Strikethrough text
- --selected.underline
- Underline text
- --selected.width=0
- Text width
- -s,
--separator=","
- Row separator
- --show-help
- Show help keybinds
- --timeout=0s
- Timeout until choose returns selected element
- -w,
--widths=WIDTHS,...
- Column widths
- version-check
<constraint> [flags]
Semver check current gum version
- write
[flags]
Prompt for long-form text
- OPTIONS
(c) 2022-2024 Charmbracelet, Inc.
Released under MIT license.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc.
|