Skip to content
v0.5.0

CLI

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

cogno and cogno run both start the app. cogno --help lists all commands.

FlagDescription
--config <path>Use a different config file for this launch
--set key=valueOverride a setting for this launch only. The file does not change. Can be repeated

Both flags also work with the commands 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 default config instead
cogno config get <key>Print the value Cogno uses for one setting, taking your config file and --set into account
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

Run in a Cogno terminal, the action runs in the Cogno window of that terminal. This is also true for a terminal with a shell on another machine.

If the action ran, the command prints dispatched: <name>. If not, it prints why, for example an unknown action name or a feature that is switched off, and exits with a non-zero code.

Run in any other terminal, the action runs in the Cogno that is open. If Cogno is not running, it starts and then runs the action.

The Actions page lists every action.