CLI Prompt
An interactive terminal prompt with commands, Tab completion with suggestions and ghost text, history on the arrow keys and built-in help, history and clear.
Preview
atlas — zshtab · ↑↓ · ctrl+l
atlas shell 2.4.0 · type help, then try: cat no<Tab>, deploy --env staging
Command: ls
notes.txt todo.md package.json
Command: cat todo.md
- [x] fix webhook retries
- [ ] write release notes
- [ ] rotate staging keys
Click the screen and type. Press ↑ for history.
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| commands | Record<string, CliCommand> | — | { description, usage?, completions?, run(args) } — run returns a string, a { kind, text } line or an array. |
| title | string | "shell" | Title bar text; names the output log. |
| prompt | string | "$" | Prompt glyph. |
| welcome | (string | CliLine)[] | [] | Lines printed before the first prompt. |
| defaultHistory | string[] | [] | Commands already in the history. |
| initialCommands | string[] | [] | Commands run at start, shown as if typed and added to the history. |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
