`oore config`
Read and write persistent daemon URL and session-token defaults for the Oore CLI.
oore config stores defaults used by other CLI commands.
oore config set <KEY> <VALUE>
oore config get <KEY>Keys
| Key | Meaning |
|---|---|
daemon_url | Backend base URL |
session_token | Stored session fallback used by oore status |
Other keys are rejected.
oore config set daemon_url https://ci.example.com
oore config get daemon_urlThe default file is <install-root>/config.json, normally
~/.oore/config.json. Set OORE_CONFIG_FILE to use another path. On Unix, Oore
writes the file with mode 0600 because it can contain a session token.
Resolution order
Commands that use the stored daemon default resolve a URL in this order:
- The command’s
--daemon-urloption OORE_DAEMON_URLdaemon_urlin the CLI confighttp://127.0.0.1:8787
oore status resolves a token in this order:
- The command’s
--tokenoption OORE_SESSION_TOKENsession_tokenin the CLI config
Oore uses the stored token only when the selected URL matches the stored daemon_url.
Changing daemon_url to another endpoint clears the stored token. This prevents Oore from sending one backend’s token to another backend.
oore login writes both values after validating or creating a session. Some
commands define their own URL or token requirement instead of using these
stored defaults; their --help output is authoritative.