openknowledge --help
August 7, 2026 ยท View on GitHub
Installed releases include the shorter okn alias. The documentation uses
this alias in shell examples.
Usage
okn --help
okn -h
okn <command> --help
okn automation jobs <subcommand> --help
okn --error-format json <command> [args...]
okn --no-telemetry <command> [args...]
Command help also accepts -h and -help. Nested job commands provide
subcommand help. Other groups can provide a group overview. The
command reference gives task-based behavior and examples.
Command groups
| Group | Commands |
|---|---|
| Start here | setup, search, validate |
| Work locally | agent, get, list, view |
| Share and connect | export, mcp, connect, disconnect, registry |
| Automate and operate | automation |
| Advanced and portable tools | scaffold, prompt, ast, spec, version, telemetry |
An unknown command prints root usage to stderr and exits with status 2.
Put the global --error-format text|json option before the command. JSON mode
wraps error diagnostics on stderr. It does not change command stdout or
command-specific JSON. See
Machine-readable contracts.
Put the global --no-telemetry option before the command. This option disables
telemetry for the current command and saves the disabled preference. See
telemetry.
Source anchors
packages/cli/cmd/openknowledge/main.go