Files
IronStorage/apps/tui/COMMANDS.md
2026-08-10 08:28:55 +00:00

33 lines
1.6 KiB
Markdown

# TUI colon-command coverage
The `:` prompt uses `ironstorage::command::parse_from`, so flags, aliases, and
validation are shared with the milestone-01 command contract. Quoting is parsed
in-process; no shell or CLI executable is started. Workflow-specific screens
consume the typed requests emitted by command mode.
| Milestone-01 operation | TUI command |
| --- | --- |
| Initialize recipients | `:init GPG-ID…` |
| List/show | `:list [PATH]`, `:show [OPTIONS] [ENTRY]` |
| Find/grep | `:find TERM…`, `:grep [OPTIONS] PATTERN` |
| Insert/edit | `:insert [OPTIONS] ENTRY`, `:edit ENTRY` |
| Generate | `:generate [OPTIONS] ENTRY [LENGTH]` |
| Remove/move/copy | `:remove`, `:move`, `:copy` with their CLI arguments |
| Git init/status/log/diff/add/commit | `:git init`, `:git status`, `:git log`, `:git diff`, `:git add`, `:git commit` |
| Git remote/config | `:git remote …`, `:git config …` |
| Git fetch/pull/push/sync | `:git fetch`, `:git pull`, `:git push`, `:git sync` |
| OTP code | `:otp code [OPTIONS] ENTRY` |
| OTP insert/append | `:otp insert …`, `:otp append …` |
| OTP URI/validate | `:otp uri …`, `:otp validate URI` |
| OTP version | `:otp version` |
| Help/version | `:help [TOPIC]`, `:version` |
| TUI lease | `:lock`, `:unlock` |
`:quit` is a TUI convenience. CLI shell-script generation is intentionally
unavailable inside an interactive TUI; Tab and Shift-Tab provide contextual
in-process completion instead.
Remove requests always pass through a `y`/`n` confirmation before their typed
storage request is emitted. Command input containing OTP URIs, Git remote URLs,
or Git configuration values is omitted from history and masked while rendered.