jadpo config
On this page
Check and set local settings.
Settings are what config.jadpo declares: values a deployment provides, each read from the environment variable named after it in capitals. check lists every setting as set, default, missing or invalid against this machine's values, the process's environment over .env.local, and shows each problem with the command that fixes it; it never prints a value. set asks for one setting's value at a prompt, hidden when it is secret, checks it against the setting's type and stores it in .env.local, which it keeps out of git. A value is never an argument, so it cannot reach a shell history, a log or a chat. move makes a constant a setting: a field of its name and type in config { } with its value as default:, the constant deleted and every read rewritten to config.<name>; it refuses, changing nothing, a type a setting can't hold, a name a setting has, and a read in a query, an update by id, a backfill or another constant.
jadpo config <action> [field]Arguments
action: What to dofield(optional): The setting to store a value for, or the constant to move
On every command
--json: Print data for tools instead of text--help: Show every flag, with examples--color <when>: Choose when to use colour
jadpo config --json writes one JSON document to standard output instead of text, with the same exit code. The document has schemaVersion, command ("config"), ok, data (what the command produced, null when it failed) and diagnostics (each error with its rule, reason, next and help). A command that needs a terminal refuses --json and names the flags that do the same job.
Examples
# See which settings still need a valuejadpo config check# Store a secret without typing it anywhere it is keptjadpo config set session_signing_key# List the settings as data for toolsjadpo config check --json# Make a constant a value each deployment can setjadpo config move limits.max_retries
Errors
cli.config_arguments: Config command has invalid argumentsconfiguration.move_type_unsupported: Constant's type can't be a settingconfiguration.move_name_taken: A setting already has the constant's nameconfiguration.move_read_unsupported: Constant is read where a setting can't betoolchain.artifact_write_failed: Generated file could not be writtenconfiguration.value_missing: Required configuration is missingconfiguration.value_invalid: Configuration value is invalidcli.config_tty_required: Configuration entry requires an interactive terminalcli.config_prompt_failed: Secure configuration prompt failedconfiguration.local_read_failed: Local configuration could not be readconfiguration.local_invalid_encoding: Local configuration is not UTF-8 textconfiguration.local_syntax: Local configuration syntax is invalidconfiguration.local_unsafe_target: Local configuration target is unsafeconfiguration.local_changed: Local configuration changed during the updateconfiguration.local_write_failed: Local configuration could not be saved
Markdown for agents: /docs/jadpo-config.md.Built from Jadpo main at a707efb.