Commit 621afd0
Add Usage CLI spec for shell completions and docs (#69)
* feat: add Usage CLI spec for shell completions and docs
Add exfig.usage.kdl with full specification of all 19 CLI commands,
flags, and arguments. This enables generating shell completions
(bash/zsh/fish) and markdown documentation from a single source of truth.
- Add usage tool to mise.toml with completions and docs tasks
- Generate and attach shell completions as GitHub Release assets
- Update CLAUDE.md with completions commands and KDL sync reminder
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: harden release workflow and fix Usage spec inaccuracies
Pin usage tool to v2.18.2 in both mise.toml and release workflow,
add --fail/pipefail to curl, validate generated completion files are
non-empty. Fix version prefix (v2.8.0) and schemas default path in
exfig.usage.kdl. Add version sync reminder to CLAUDE.md.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: improve filter argument help texts in Usage spec
Match the Swift source help descriptions with single/multiple/wildcard
examples for colors, icons, and images filter arguments.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 48c081c commit 621afd0
5 files changed
Lines changed: 391 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
195 | 213 | | |
196 | 214 | | |
197 | 215 | | |
| |||
201 | 219 | | |
202 | 220 | | |
203 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
204 | 225 | | |
205 | 226 | | |
206 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
| |||
279 | 285 | | |
280 | 286 | | |
281 | 287 | | |
| 288 | + | |
| 289 | + | |
282 | 290 | | |
283 | 291 | | |
284 | 292 | | |
| |||
0 commit comments