Skip to content
This repository was archived by the owner on Oct 13, 2026. It is now read-only.

feat: nook help <command> and --help after any command; a nook is a small tool, not an app - #8

Merged
vish727 merged 1 commit into
mainfrom
fix-help-wording
Sep 22, 2026
Merged

vish727 merged 1 commit into
mainfrom
fix-help-wording

Conversation

@vish727

@vish727 vish727 commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Two things the docs work surfaced.

No per-command help. nook deploy --help read --help as a directory and nook share --help asked which nook. Now nook help <command> and nook <command> --help (or -h) print a short text for every command, including the account group and the aliases (ls, secrets, and the bare account names). The texts live in one table so the docs site's generated CLI reference can read them verbatim and stay true. Every flag named in them was checked against the parsing code; two I had wrong from memory (--where on data list, --format on data export) were corrected before committing.

"app". The top-level usage said "deploy a small app". So did the README, the MCP server's instructions, and the skill file. The landing page was rewritten to get that word out and the generated reference was putting it straight back. A nook is a small tool at its own URL, everywhere now.

go test ./... and go vet clean. Needs a v0.5.1 tag; nookd's install endpoint serves the CLI from the pinned module, so the new help reaches install.sh on nookd's next bump.

…mall tool, not an app

There was no per-command help: nook deploy --help read --help as a
directory. Every command now has a short text reachable both ways, kept in
one table so generated docs can read it verbatim.

The top-level usage, the README, the MCP server instructions, and the
skill file said "app". A nook is a small tool at its own URL; that word
was the last place the old one survived.
@vish727
vish727 merged commit 673a2dd into main Sep 22, 2026
1 check passed
@vish727
vish727 deleted the fix-help-wording branch September 22, 2026 03:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant