Repository navigation
fix(cli): fill blank --help descriptions - #246
Conversation
🤖 MERGED
GitHub merged this pull request.
72ddb5ed-14fa-49d4-b645-4aa8039a9802 Selected findings run after merge and open separate pull requests. |
There was a problem hiding this comment.
Harlan Agent Kit posted this automated review. AI open source policy.
Automated Review: READY.
Optional follow-ups
Trivial (30/100) · Update help promises writes in check mode
The new help says omitting SKILL updates every installed Skill. The same help exposes --check, which only checks update relations, and --interactive, which requires omitting SKILL and lets the user select updates. The positional description therefore promises writes or bulk updates in modes that behave differently.
Optional follow-up: Describe SKILL as a filter on the installed Skills in scope and leave write behavior to the mode descriptions.
Trivial (25/100) · Help coverage test accepts empty descriptions
The new guard checks only whether Clap metadata is `None`. An explicit empty description such as `#[arg(help = "")]` supplies `Some` with empty text, so the guard passes while the argument still has a blank description in `--help`. The command description check has the same gap.
Optional follow-up: Require nonempty text after trimming when checking command and argument descriptions.
|
Thanks :) |
This fills the blank rows in
--help, whereskilld config setoffered<KEY> <VALUE>and kept the keys a secret, with a test that catches the next blank row.