You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collapse top-level CLI help into group rows with registry-backed sub help (#284)
* Collapse top-level CLI help into group rows with registry-backed sub help
One row per command group at the top level; 'hyp <group> --help' now
lists each subcommand with its registered summary. Dispatch intercepts
a leading --help for every command (group table or usage + optional
long help), so command bodies stay help-free. Documented in LLP 0009.
Also includes dependency bumps in package.json (@aws-sdk, squirreling).
* Restore --bin in daemon install help under central --help interception
Central `--help` interception (this PR) renders the registration `usage`
for a leaf command instead of running the command body. `runDaemonInstall`
still supports `--bin <path>`, and its now-bypassed self-help documented it,
but the registration `usage` omitted it, so `hyp daemon install --help`
silently dropped the flag. Add `--bin <path>` to the registration usage so
the primary help path matches what the command accepts, plus a regression
test asserting the flag stays documented.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Phillip Cunliffe <phillip.cunliffe@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
help: 'Token sources (pick one): positional argument, --token-file, or stdin.\nA bare argv token lands in shell history; scripts should prefer\n--token-file or stdin.',
help: 'Disconnects this machine from its central server: stops forwarding and\nconfig pull, undoes org-driven client attaches, and removes the forward\ncredential. Keeps query sessions, the local config, and the daemon service.',
214
221
run: runLeave,
215
222
},
216
223
{
@@ -228,39 +235,54 @@ function buildCoreCommands() {
228
235
},
229
236
{
230
237
name: 'ignore',
231
-
summary:
232
-
'Write a .hypignore so HypAware never records this folder subtree, or --local-only to withhold from forwarding only (--check reports status)',
238
+
summary: 'Exclude a folder subtree from recording or forwarding',
0 commit comments