Skip to content
Cogno v0.4.0

CLI

Terminal window
cogno [--config <path>] [--set key=value ...]
run
action
list
run <name> [args...]
config
show [--defaults]
get <key>
path

Without a subcommand, cogno starts the app; cogno run does the same explicitly. cogno --help prints the synopsis.

FlagDescription
--config <path>Use the config file at a custom path for this process
--set key=valueOverride a config value for this process only (does not write to the file). Can be repeated

Both flags are global, so they also apply to the subcommands below.

Terminal window
# Use a project-specific config
cogno --config ~/work/.cogno.config
# Temporarily disable WebGL
cogno --set terminal.webgl=false
# Combine flags
cogno --config ~/work/.cogno.config --set font.size=16

See the Config page for all settings.

CommandDescription
cogno config showPrint the content of your active config file, followed by any --set overrides
cogno config show --defaultsPrint the bundled default config instead
cogno config get <key>Print a single value, resolved from the defaults, your config file and --set overrides
cogno config pathPrint the path of the active config file
Terminal window
cogno config show
cogno config show --defaults
cogno config get shell.default
cogno config path
CommandDescription
cogno action listPrint all available action names with their descriptions
cogno action run <name> [args...]Run an action by name, with optional arguments
Terminal window
cogno action list
cogno action run open_config

The Actions page lists every action.