Prints one or more files; content arrives in the envelope's rendered channel, per-file outcomes in the model.
File path or paths.
Optionaloptions: CatApiOptions
Binary handling.
Envelope whose fs.cat model lists per-file outcomes.
Changes the session's working directory.
Optionalpath: string
Target directory; omit for home, '-' for the previous cwd.
Envelope carrying the fs.cwd model on success.
Copies files or directories.
Source path or paths.
Destination path (a directory when several sources).
Optionaloptions: { recursive?: boolean }
recursive copies directories.
Envelope whose fs.cp model carries per-source outcomes.
Lists a directory (or several).
Optionalpaths: string | string[]
Target path or paths; omit to list the session cwd.
Optionaloptions: LsApiOptions
Sorting and presentation flags.
Envelope whose fs.listing model carries entries per target.
Creates one or more directories.
Directory path or paths, absolute or cwd-relative.
Optionaloptions: { parents?: boolean }
parents: make missing parents and accept a folder
already there (mkdir -p); without it both are errors.
Envelope whose fs.mkdir model lists per-target outcomes.
Moves or renames files or directories.
Source path or paths.
Destination path (a directory when several sources).
Envelope whose fs.mv model carries per-source outcomes.
Reports the session's current working directory.
Optionaloptions: { titles?: boolean }
titles substitutes feed/plugin titles into the path.
Envelope carrying the fs.cwd model.
Removes files or directories.
Target path or paths, absolute or cwd-relative.
Optionaloptions: RmApiOptions
Recursive and force flags.
Envelope whose fs.rm model lists per-target outcomes.
Creates a file, optionally with content.
Target file path, absolute or cwd-relative.
Optionaloptions: TouchApiOptions
Content source, when the file should not be empty.
Envelope whose fs.touch model lists per-target outcomes.
The chell command vocabulary as typed calls.
Method names keep the shell's own verbs verbatim (
ls,mkdir,rm): they are the projection's external schema, the same exemption the style guide grants wire field names. Every method resolves to the command's envelope; a failed command is anerror-status envelope, never a throw.