cli.incident_arguments
A jadpo incident command is given more than one file, one it can't read, or nothing where there is no terminal to give text at.
Area 14, Tools; not declinable; the next step is usually the agent's.
Why Jadpo refuses it
jadpo incident explains the events in one log text: a file, standard input (-), or, with no argument in a terminal, text given at its prompt. Two files could hold two builds' events, and with no terminal there is no prompt to give text at, so it names what it takes rather than guess which text was meant.
What it looks like
A project:
Two log files are named:
jadpo incident web-1.log web-2.log error jadpo incident takes one argument
- reason
- It was given
web-1.log web-2.log. - next
- Run
jadpo incident web-1.log(agent) - rule
- cli.
incident_ arguments - help
- https://jadpo.
dev/docs/errors/cli. incident_ arguments
(agent) at the end of the next: line means your coding agent can make the fix itself.
How to fix it
If the events are in two files, put the lines in one, or pipe them together:
cat web-1.log web-2.log | jadpo incident -Events from either file are found and grouped by request.
If no terminal is attached, as in a script or an agent's shell, give the text as a file or on standard input:
jadpo incident event.jsonThe events in the file are explained as they would be from the prompt.
Related
Markdown for agents: /docs/errors/cli.incident_arguments.md.Built from Jadpo's main branch at commit 72d483f.