cli.config_arguments
A jadpo config command names no action, an action it doesn't have, or a setting config.jadpo doesn't declare.
Area 14, Tools; not declinable; the next step is usually the agent's.
Why Jadpo refuses it
jadpo config checks the settings (check), stores one setting's value
(set) or makes a constant a setting (move), and set and move
each act on one name. Guessing a name that isn't declared could store a
secret under the wrong variable, so it names the nearest one instead and
does nothing.
What it looks like
A project's config.jadpo declares mail_api_key, and the command
names mail_key:
jadpo config set mail_key error mail_key isn't a setting
- reason
- The settings are
mail_api_key. - next
- Use one of them (agent)
- rule
- cli.
config_ arguments - help
- https://jadpo.
dev/docs/errors/cli. config_ arguments
(agent) at the end of the next: line means your coding agent can
make the fix itself.
An action jadpo config doesn't have is refused the same way, naming
the nearest one:
jadpo config chek error chek isn't something jadpo config does
- reason
jadpo configdoescheck,generate,move,rotationandset. Did you meancheck?- next
- Use
checkinstead ofchek(agent) - rule
- cli.
config_ arguments - help
- https://jadpo.
dev/docs/errors/cli. config_ arguments
How to fix it
If you meant a setting it declares, use the name it suggests:
jadpo config set mail_api_keyThe command asks for the value of MAIL_API_KEY at its prompt.
If the setting isn't declared yet, declare it in config.jadpo
first, beside the others:
config { /// The key the mail provider gave this app. mail_api_key: Text { secret: true } /// The key for the mail provider's sandbox. mail_key: Text { secret: true }}
jadpo config set mail_key then asks for MAIL_KEY, and jadpo config check lists the new setting.
Related
Markdown for agents: /docs/errors/cli.config_arguments.md.Built from Jadpo main at aee2e8f.