kapi context widen
kapi widen <id>Widen a confirmed rule past the point its evidence was seen at.
A rule learned in one place holds in that place. Widening says it holds more widely: "--to workspace" puts it in force in every project you work on here, and naming an axis drops that axis from the rule's point so it stops being specific about it.
A project that has its own decision about the word keeps it. The more specific answer always wins.
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 widen 7 --to workspaceFlags
| Flag | Type | Default | Description |
|---|---|---|---|
| --note | string | why | |
| --project , -p | string | path to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted) | |
| --to | string | "workspace", or the name of an axis the rule should stop being specific about |
More examples
kapi context widen 7 --to mode← Back to the Command Reference