cli.services_arguments
A jadpo services command names an action it doesn't have, a service the app doesn't run, or an option its action doesn't take.
Area 14, Tools; not declinable; the next step is usually the agent's.
Why Jadpo refuses it
jadpo services lists the containers the app's packages run beside it,
and starts, stops, restarts, reads or opens a shell in one. Each action
but the list needs to know which service, named by its connection in
app.jadpo, and it never picks one for you. A service a connection
doesn't run is named with those the app does run.
What it looks like
An app whose connections run no service:
application {}jadpo services logs pdfs error There is no service pdfs: the app runs none
- reason
- A service is a container a provider package's
runs:declares, started beside the app for a connection to it, and no connection inapp.jadpois to such a package. - next
- Run
jadpo servicesonce a connection uses a package withruns:(agent) - rule
- cli.
services_ arguments - help
- https://jadpo.
dev/docs/errors/cli. services_ 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 services reboot error reboot isn't something jadpo services does
- reason
jadpo serviceslists the services, or manages one:list,start,stop,restart,logsorshell.- next
- Run
jadpo servicesto list them (agent) - rule
- cli.
services_ arguments - help
- https://jadpo.
dev/docs/errors/cli. services_ arguments
How to fix it
If you want to see the services, list them, then name one by its connection:
jadpo servicesjadpo services logs pdfs
The list names each service the app runs, by its connection in
app.jadpo, and the second command prints what that one wrote.
If you want what a production service wrote, ask the deployable for it, since a shell is for development only:
jadpo services logs pdfs --deployable appThat reads the service's output through the running deployable, on the machine it runs on.
Related
Markdown for agents: /docs/errors/cli.services_arguments.md.Built from Jadpo's main branch at commit f05ed31.