Files
pbakaus_impeccable/tests/oracle/cases/skills.mjs
T
Paul BakausandClaude Fable 5.1 5ea8787b02 Port: Fix skill subcommand help handling (#708)
Upstream sha a264199177.

`install`, `link`, `update` and `check` render static help before entering
any operational path, through both the top-level verb and the legacy `skills`
namespace, for `--help` and `-h` alike.

Verified against origin/main's `cli/bin/cli.js`: all six spellings produce
identical text and exit codes.

Oracle: a new `tests/oracle/cases/skills.mjs` with seven help cases. Only the
help paths are pinned there; every other installer path writes into harness
directories or reaches the network.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vau2X53xGTjjTCXWMVBoNY
2026-09-03 13:07:22 -07:00

18 lines
905 B
JavaScript

/**
* The installer verbs' static help (`install`, `link`, `update`, `check`).
*
* Only the help paths are pinned here: every other installer path writes into
* harness directories or reaches the network, which the corpus keeps out. The
* help text must render before any operational path runs (#708), through both
* the top-level verb and the legacy `skills` namespace.
*/
export default [
{ id: 'skills-install-help', verb: 'install', args: ['--help'] },
{ id: 'skills-install-help-short', verb: 'install', args: ['-h'] },
{ id: 'skills-link-help', verb: 'link', args: ['--help'] },
{ id: 'skills-update-help', verb: 'update', args: ['--help'] },
{ id: 'skills-check-help', verb: 'check', args: ['--help'] },
{ id: 'skills-namespace-install-help', verb: 'skills', args: ['install', '--help'] },
{ id: 'skills-namespace-check-help-short', verb: 'skills', args: ['check', '-h'] },
];