Frontmatter5 fields
type- Command Documentation
title- openknowledge --help
description- Discover commands, global flags, and command-specific help.
tagstimestamp
openknowledge --help
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...]
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, integration, get, list, view |
| Share and connect | export, mcp, connect, disconnect, registry |
| Automate and operate | automation |
| Advanced and portable tools | scaffold, prompt, ast, spec, version |
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.