Skip to main content

cirron config

Unified configuration management for the Cirron CLI. The config command manages three scopes: CLI settings (API URL, timeout, retries), global user preferences, and project-level settings. It also provides a hardware subcommand for ML hardware profiles.

Usage

Options

OptionDescriptionDefault
--scope <scope>Configuration scope (cli, global, project)Auto
--list, -lList configuration settingsfalse
--get, -g <key>Get a specific configuration value-
--set, -s <key=value>Set a configuration value-
--delete, -d <key>Delete a configuration value-
--resetReset configuration to defaultsfalse
--edit, -eInteractive configuration editorfalse
--explain <key>Show setting resolution chain across scopes-
--export <file>Export configuration to file-
--import <file>Import configuration from file-
--template, -t <name>Apply a settings template-
--verboseVerbose outputfalse
--jsonOutput in JSON formatfalse
When no scope is specified: --list shows all scopes; --get walks the resolution chain (project > global > cli); --set defaults to project; --edit prompts for scope; --export, --import, --reset, --delete require an explicit --scope.

Scopes

ScopeDescriptionStorage
cliAPI URL, timeout, retries, auth token~/.cirron/config.json
globalUser preferences shared across projects~/.cirron/settings.json
projectProject-specific behavior settingscirron.yaml in project root

CLI scope keys

KeyDescriptionDefaultValid Values
apiUrlCirron API URLhttps://app.cirron.comValid URL
defaultEnvDefault environment for commandsproductiondevelopment, staging, production
timeoutRequest timeout in milliseconds300001000-300000
retriesRetry attempts for failed requests30-10

Interactive Mode

Running cirron config with no options prompts for scope selection:

Hardware Subcommand

Manage hardware profiles used during compilation and build.
OptionDescriptionDefault
--detectDetect current device hardwarefalse
--configureConfigure hardware interactivelyfalse
--listList available hardware profilesfalse
--profile <name>Use specific hardware profile-
--save [filename]Save hardware configuration to file-
--from <path>Load hardware configuration from file-
--currentUse current device specificationsfalse
--jsonOutput in JSON formatfalse
--verboseShow detailed informationfalse
Detection reports CPU, memory, GPU, CUDA availability, and framework compatibility (PyTorch, TensorFlow, scikit-learn). Configuration modes: auto-detect, preset profiles, or manual specification. When run inside a project, the command prompts to save and optionally apply the profile to the current cirron.yaml.

Security and Storage

  • Token masking: tokens display as abc12345********.
  • Restricted deletion: only token can be deleted via config --delete; for auth changes use cirron auth logout.
  • File locations: ~/.cirron/config.json (CLI), ~/.cirron/settings.json (global), cirron.yaml (project), ~/.cirron/hardware/ (hardware profiles).

Environment Variables

  • cirron auth - Manage authentication
  • cirron info —hardware - Quick hardware detection (shortcut for cirron config hardware --detect)
  • cirron info —diagnostics - Run diagnostic checks
  • cirron status - Check system status