Skip to content

ocloud file

ocloud v3.17.3View Markdown

Generated from ocloud 3.17.3. All ocloud commands · Olef Cloud overview · olef commands

Stored plain files for workspaces, projects, and agents

Global options (--org, --project-root, --quiet, --redact) apply across commands; see the ocloud command catalog.

Print a plain file’s content (raw; --json for an envelope with content_base64). Secret files can’t be read back

Terminal window
ocloud file get --help
Argument Description
<path> Required. Positional argument.
--json A JSON envelope with the file’s metadata and content_base64
--workspace / -w A workspace (name or id; default: the one linked here)
--project A project (id or slug): every workspace of it, or those --scope says
--agent An agent (team/name, a unique name, or its id): loaded in every run of that agent
--personal With --agent: your own, loaded only in runs for you

Paths, sizes and kinds of the stored files (no contents)

Terminal window
ocloud file list --help
Argument Description
--workspace / -w A workspace (name or id; default: the one linked here)
--project A project (id or slug): every workspace of it, or those --scope says
--agent An agent (team/name, a unique name, or its id): loaded in every run of that agent
--personal With --agent: your own, loaded only in runs for you

Store a file for runs, from a local file: at PATH in the source tree, or in the agent’s home (‘~/…’). Plain files read back; --secret ones never do

Terminal window
ocloud file put --help
Argument Description
<path> Required. Where it appears: app/google-services.json, or ‘~/.claude/mcp.json’ (quoted, so the shell leaves ~ alone)
--from Required. The local file to read
--secret A secret file: write-only, masked in run output, never loaded next to outside code
--allow-secret Store it as a plain file even though it looks like a secret
--workspace / -w A workspace (name or id; default: the one linked here)
--project A project (id or slug): every workspace of it, or those --scope says
--agent An agent (team/name, a unique name, or its id): loaded in every run of that agent
--personal With --agent: your own, loaded only in runs for you
--scope With --project: which of its workspaces get it (default: all)
--workspaces With --project: these workspaces only (names or ids; implies --scope workspaces)

Delete a stored file

Terminal window
ocloud file rm --help
Argument Description
<path> Required. Positional argument.
--workspace / -w A workspace (name or id; default: the one linked here)
--project A project (id or slug): every workspace of it, or those --scope says
--agent An agent (team/name, a unique name, or its id): loaded in every run of that agent
--personal With --agent: your own, loaded only in runs for you