cli.files_arguments
A jadpo files command names an action it doesn't have, a store the app doesn't keep files in, a file the store doesn't hold, or a local file it can't use.
Area 14, Tools; not declinable; the next step is usually the agent's.
Why Jadpo refuses it
jadpo files reaches a store of files by its connection in app.jadpo,
and a file by the key the runtime made for it. It never acts on another
store or file for a name it doesn't know, never writes over a local file,
and never puts bytes under a key that already holds a file, since a file
never changes once it is kept.
What it looks like
A bakery keeps its price sheets in a store of files:
A store named a letter short is refused with the one nearest:
jadpo files ls sheet --dev error sheet isn't a store of files
- reason
- A store is named by its connection in
app.jadpo:sheets. - next
- Use
sheets(agent) - rule
- cli.
files_ arguments - help
- https://jadpo.
dev/docs/errors/cli. files_ arguments
(agent) at the end of the next: line means your coding agent can make
the fix itself.
An action it doesn't have is refused with the ones it does:
jadpo files list sheets --dev error list isn't something jadpo files does
- reason
jadpo fileslists the app's stores of files, andls,show,get,putandcopyact on one.- next
- Run
jadpo filesto list the stores (agent) - rule
- cli.
files_ arguments - help
- https://jadpo.
dev/docs/errors/cli. files_ arguments
How to fix it
If the store or the action is misspelt, use the one the command names:
jadpo files ls sheets --devThe command lists the files jadpo dev's copy of sheets keeps.
If you don't know a store's name or a file's key, list them first:
jadpo filesjadpo files ls sheets --dev
The first lists the app's stores, and the second the keys one keeps.
If a local file is in the way, name a file that isn't there yet:
jadpo files get sheets 3f/a2/3fa2c1d0-0000-4000-8000-000000000001 sheet-copy.csv --devThe command writes the new file and leaves the other one alone.
Related
Markdown for agents: /docs/errors/cli.files_arguments.md.Built from Jadpo's main branch at commit 9080dc3.