Skip to main content
Manage local CLI configuration. Configuration lives in ~/.observal/config.json; aliases live in ~/.observal/aliases.json. Both files are written atomically with mode 0600.

Commands

Every command supports explicit table and JSON output. Human-readable table output is the default. config path preserves a bare path in table mode for shell composition.

Show configuration

Token values and fragments are never displayed. Output reports only whether access, refresh, or harness-hook credentials are configured. Environment overrides are included because the command shows effective configuration.

Set configuration

Only these user-managed keys are accepted: Authentication and identity fields are managed by observal auth and cannot be set here. The removed output and color settings had no runtime consumers. Select JSON explicitly for each command. JSON output distinguishes the persisted value from the effective value, which may be overridden by an environment variable.

Configuration path

Table mode prints only the absolute path. JSON includes the path and whether the file currently exists.

Set or remove an alias

Alias names must start with a letter and may contain letters, numbers, dots, underscores, and hyphens, up to 64 characters. Targets may be UUIDs, canonical namespace/slug identities, names, or other references accepted by the destination command. Omitting the target removes the alias. Removing an already absent alias is an idempotent success with changed set to false in JSON.

List aliases

JSON returns an items array and total. Empty output preserves the same shape.

Environment overrides

Environment values take precedence over persisted values for the current invocation. config set changes the file but does not replace an active environment override. See Environment variables for supported overrides.