Write a local file into the workspace (shared or downloads)
Write a local file to a workspace path, creating parent folders.
The app lets you write into downloads and, as owner, shared; the agent's working directory (section other) is the agent's own and refuses writes from outside.
Use - to read the content from stdin.
Examples:
Put a fixture where the agent can read it
mutiro user workspace write amelia ledger.json ./ledger.json --section shared
mutiro user workspace write <agent> <path> <local-file> [flags]
Put a fixture where the agent can read it
| Flag | Type | Description |
|---|---|---|
| -h, --help | bool | help for write |
| Flag | Type | Description |
|---|---|---|
| --config | string | config file (default is ./.mutiro.yaml in current directory) |
| --debug | bool | debug mode |
| --json | bool | Output as JSON |
| --root | string | Workspace root: owner, or user:<username> for a user's private root (owners only) (default "owner") |
| --section | string | Workspace section: downloads, shared, agent or other (default "other") |
| -v, --verbose | bool | verbose output |