CLI
cogno [--config <path>] [--set key=value ...] run action list run <name> [args...] config show [--defaults] get <key> pathcogno and cogno run both start the app. cogno --help lists all commands.
Launch flags
Section titled “Launch flags”| Flag | Description |
|---|---|
--config <path> | Use a different config file for this launch |
--set key=value | Override a setting for this launch only. The file does not change. Can be repeated |
Both flags also work with the commands below.
# Use a project-specific configcogno --config ~/work/.cogno.config
# Temporarily disable WebGLcogno --set terminal.webgl=false
# Combine flagscogno --config ~/work/.cogno.config --set font.size=16See the Config page for all settings.
cogno config
Section titled “cogno config”| Command | Description |
|---|---|
cogno config show | Print the content of your active config file, followed by any --set overrides |
cogno config show --defaults | Print 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 path | Print the path of the active config file |
cogno config showcogno config show --defaultscogno config get shell.defaultcogno config pathcogno action
Section titled “cogno action”| Command | Description |
|---|---|
cogno action list | Print all available action names with their descriptions |
cogno action run <name> [args...] | Run an action by name, with optional arguments |
cogno action listcogno action run open_configRun 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.