kapi context
kapi context [path]Retrieve the content context this project goes by: the terms, the voice and the rules that hold, without needing to know which store holds the answer.
Two questions, and every asset-shaped lookup is one of them:
kapi context <path> what applies HERE: the voice in force at that location, its guidance, the terms bound there kapi context --profile <n> the same answer for a named profile, when you have no file in hand kapi context search <query> what we know about THIS: terms, prior wording
Communication is contextual: a legal notice is not a help article. Ask what the project says before you write, rather than learning it from a failing check afterwards.
Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.
kapi context docs/guide.md| Flag | Type | Default | Description |
|---|---|---|---|
| --file | string | explicit path to resource file | |
| --limit | int | 25 | max terms to render |
| --local | bool | false | use resource in current directory |
| --locale , -l | string | narrow the reported terms to one language | |
| --name | string | named resource in KAPI_HOME (e.g. --name project-terms) | |
| --profile | string | answer for a named profile instead of a location | |
| --project , -p | string | path to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted) |
kapi context docs/guide.md --json kapi context --profile marketing kapi context search widget← Back to the Command Reference