CLI reference
Execute a command and return its exact stdout, stderr and exit code.
| Argument | Description |
|---|---|
[NAME] | Kiste name, current, or self. Omit to use the current selection. |
-- COMMAND... | Remote command. Prefix it with --. |
| Option | Description |
|---|---|
--id ID | Stable command UUID, enabling cancellation from another agent. |
--cwd DIR | Working directory inside the Kiste. |
--env KEY=VALUE, -e KEY=VALUE | Environment variable in KEY=VALUE form. Repeat as needed. Repeatable. |
Examples
ARGV is passed exactly and standard input is not forwarded; pipe input with kiste ssh NAME -- CMD < file. A requested login shell such as sh -lc runs the image's login profile; use sh -c when stdout must contain only command output.
Global options such as --json work with every command; see the CLI overview.