Skip to main content

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.

Commandcontext search
Groupcontext-person
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 widget
Flags
FlagTypeDefaultDescription
--filestringexplicit path to resource file
--limitint10max results per group
--localboolfalseuse resource in current directory
--locale, -lstringnarrow results to one language
--namestringnamed resource in KAPI_HOME (e.g. --name project-terms)
--project, -pstringpath 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