Skip to main content

Configuration

Read and edit the Otto controller configuration. Configuration is stored at ~/.otto/config.json.

otto config​

Prints the current controller configuration as JSON.

Usage​

otto config

Examples​

# Print current configuration
otto config

Output is JSON to stdout. Fields include relay URL, client identity, and stored settings.

Exit codes​

CodeMeaning
0Configuration printed successfully
1Config file missing or unreadable

otto settings​

Opens an interactive settings editor to update controller-global configuration values.

Usage​

otto settings

Keyboard shortcuts​

KeyAction
↑ / ↓Navigate settings
EnterEdit selected setting
sSave changes
q / EscQuit without saving

Examples​

otto settings

Editable fields include relay URL and other controller-global values. Changes are persisted to ~/.otto/config.json after save.

Exit codes​

CodeMeaning
0Settings saved or exited cleanly
1Failed to write config