Skip to main content

Synopsis

Description

config manages two layers of configuration:
  • CLI config - stored locally in ~/.profclaw/config.json. Controls how the CLI connects to the server (API URL and token, default agent, output format).
  • Server settings - stored in config/settings.yml and the database. Controls runtime behavior of the running server (use --server flag).

Subcommands

config get

string
Optional key to retrieve. Omit to print all values. For server settings, use dotted format: system.telemetry.
boolean
Output as JSON.
boolean
Fetch server-side settings from the running API instead of the local CLI config.

config set

string
required
Configuration key to set. CLI keys: apiUrl, apiToken, defaultAgent, outputFormat. Server keys use category.key format (e.g., system.telemetry).
string
required
Value to set. For server settings, JSON values are parsed automatically (true, false, numbers, objects).
boolean
Apply change to server-side settings via API.

config login

string
API bearer token. Saved to the CLI config file and used for all subsequent API calls.
string
API base URL (e.g., https://my-server.example.com).

CLI Config Keys

Examples