All apps/Gum

Gum

gum

A tool for glamorous shell scripts.

Runs as gum|macOS, Linux, Windows|github.com

Command form

ai-draft · 3 tasks · 17 fields

Interactive prompts for shell scripts. Styling options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui gum

gum choose

Choose from a list

Choose an option from a list of choices.

Choose from a listExample values, fixed in this page — nothing here reaches a terminal
Basic
Options*
string
Maximum picks
integer
TasksEach one presets the form for one job
Choose
optionslimit
ParametersOnly these flags are editable in the form
Options
string · positional 0 · repeatable
Maximum picks
integer
--limit
Unlimited picks
boolean
--no-limit
List height
integer
--height
Cursor symbol
string
--cursor
Preselected options
string · repeatable
--selected

gum confirm

Ask to confirm

Ask a user to confirm an action.

Ask to confirmExample values, fixed in this page — nothing here reaches a terminal
Basic
Prompt
string
Yes label
string
No label
string
TasksEach one presets the form for one job
Confirm
promptaffirmativenegative
ParametersOnly these flags are editable in the form
Prompt
string · positional 0
Yes label
string
--affirmative
No label
string
--negative
Default to yes
boolean
--default
Timeout
e.g. 10s.
string
--timeout

gum input

Prompt for input

Prompt for a single line of input.

Prompt for inputExample values, fixed in this page — nothing here reaches a terminal
Basic
Placeholder
string
Prompt
string
Initial value
string
TasksEach one presets the form for one job
Input
placeholderpromptvalue
ParametersOnly these flags are editable in the form
Placeholder
string
--placeholder
Prompt
string
--prompt
Initial value
string
--value
Mask input
boolean
--password
Max length
integer
--char-limit
Width
integer
--width
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed gum against its version. A form that does not match your version is not offered.