put
verbmutateWrite standard input or a local file as a file of a store.
Program anyfs-writer. Origin anyfs.
Governance: the action
What the verb is and may do, as governance says it. Each annotation is expressed by the surfaces or says why it is not.
| Property | Value |
|---|---|
kind | action |
effect | mutate |
idempotent | true |
audience | both |
tier | writer |
dryRun | true |
check | false |
reachChannels | local, mcp |
reachReadOnly | false |
reachNeedsTty | false |
reachRunsAs | caller |
reachConfirmation | none |
Operands
| Operand | Meaning |
|---|---|
LOCATION | The file to write, in a store. |
SOURCE | A local file; standard input where it is left out or is -. |
Options
| Option | Meaning | Properties |
|---|---|---|
--exclusive | Only where there is no file: a file that is there is an error. | type=flag, required=false, standard=false, humanOnly=false, negatable=false, default=false |
--explain | Say how the store would carry the operation out (native, emulated or refused), and do nothing else. | type=flag, required=false, standard=false, humanOnly=false, negatable=false, default=false |
--strict | Stop where the store carries an operation out by a means that can lose or change what you meant. | type=flag, required=false, standard=false, humanOnly=false, negatable=false, default=false |
--json | Write one JSON document and nothing else for a person. | type=flag, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--quiet | Show only how it ended. | type=flag, short=q, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--verbose | Show every step as it happens. | type=flag, short=v, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--color | Use colour where the terminal shows it (--no-color turns it off). | type=flag, required=false, standard=true, humanOnly=false, negatable=true, default=true |
--non-interactive | Never ask a question: where one is needed, fail and say so. | type=flag, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--dry-run | Show what would change and change nothing. | type=flag, required=false, standard=true, humanOnly=false, negatable=false, default=false |
Examples
anyfs put fleet:/machines/alpha.json ./alpha.json # Write the local file as a file of the mount fleet.
anyfs put fleet:/notes.txt - # Write standard input.Physical: what it is drawn as
anyfs put
cli-command. Write standard input or a local file as a file of a store.
| Property | Value |
|---|---|
usage | anyfs put |
words | put |
tier | writer |
anyfs_put
mcp-tool. Write standard input or a local file as a file of a store. (action, effect mutate, safe to repeat.)
| Property | Value |
|---|---|
title | anyfs put |
toolName | anyfs_put |
readOnlyHint | false |
destructiveHint | false |
idempotentHint | true |
inputs | exclusive, explain, strict, dryRun, LOCATION, SOURCE |
required | LOCATION |
tier | writer |
Not drawn
- rest: its reach policy does not name the rest channel