kapi context search
kapi search <query>Ask one question and get the answer from everything the project keeps: what this is called and whether it is discouraged, and wording the project has already approved.
Results are grouped by kind rather than merged into one ranked list, because a match on a term and a match on approved wording are not scored on comparable things.
Each term also reports how often the project's content uses it. The count is as of the last "kapi up" rather than of the working tree: a term added since then shows no uses until the next run.
Try it
Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.
kapi context search widgetFlags
| Flag | Type | Default | Description |
|---|---|---|---|
| --file | string | explicit path to resource file | |
| --limit | int | 10 | max results per group |
| --local | bool | false | use resource in current directory |
| --locale, -l | string | narrow results to one language | |
| --name | string | named resource in KAPI_HOME (e.g. --name project-terms) | |
| --project, -p | string | path to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted) |
More examples
kapi context search "sign in" --locale en kapi context search widget --json← Back to the Command Reference