Jeden/Docs

CLI command

jeden config reset

Persist one setting's schema default into the user configuration.

Exact invocation#

Shell
jeden config reset <key> [--json]

Inputs and options#

  • Required: an exact schema key. Optional: --json for the key, default value, type, description, and path.

Output and state effect#

Sets the nested user key to the schema default, atomically writes the user config, and prints the reset result. Resetting contracts.communication returns to Jeden's default communication contract; resetting contracts.functionality stores an empty string, which adds no extra prompt instruction; resetting communication.mode returns to normal and resetting an override returns it to auto.

Refusals and boundaries#

  • key-missing, key-unknown and argument-unexpected, exit 2, before any file is read; then the causes of jeden.config.write listed on the config set page.
  • A command line of the wrong form (an unknown command or option, a missing, unexpected or invalid argument, a missing confirmation) prints the error and the usage and exits 2; a refusal that retrying unchanged can help (a dependency down or not answering, a rate limit) exits 69; any other refusal or failure exits 1. A refusal a functionality declares ends with fix: … and cause: &lt;operation&gt;.&lt;cause&gt;, and jeden errors show &lt;operation&gt; lists every cause of that functionality.