Skip to content

Learn site: a task-first "Command line" page - #175

Merged
framefilter merged 2 commits into
mainfrom
docs/cli-page
Oct 11, 2026
Merged

framefilter merged 2 commits into
mainfrom
docs/cli-page

Conversation

@framefilter

Copy link
Copy Markdown
Owner

A new Learn page, "Command line" (docs/cli.html), so people can learn keyroostctl by task instead of reading --help.

What's on it

  • 14 short sections, one task each: getting started, choosing a key, naming keys, PINs and passwords, passkeys, authenticator codes, importing codes from an app, certificates (PIV), OpenPGP, notes stored on the key, resetting, scripts, troubleshooting, and every command.
  • Each section: a sentence on what and why, copy-paste commands, and what you'll see (in keyroost's actual wording, with made-up names and serials).
  • "Every command" is generated from --help by packaging/gen-cli-reference.py; its --check runs in the docs audit and now in CI, so a renamed command fails the PR until the page is updated.

Also

Checked: every command on the page runs against the real CLI (docs check); CLI tests, clippy and fmt pass; viewed at desktop and phone width.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Skvxkb6eMzytjPDmL6mPYU

framefilter and others added 2 commits October 10, 2026 21:18
keyroostctl had no single place that walks a non-technical reader through
everyday jobs: choosing a key, PINs, passkeys, codes, importing from an
app, certificates, OpenPGP, notes, resets, scripts and troubleshooting.
The new page does that with copy-paste commands and the output keyroost
actually prints, and ends with every command and its description.

That reference is generated from the --help tree by
packaging/gen-cli-reference.py, and check-docs-mechanical.sh now fails
when it falls behind the binary, so it can't drift the way hand-copied
command lists did. Every topic page links to its matching section, the
top-level --help points to the page, and TODO.md trades the finished
item for the v0.14.0 PIV .p12 import (#174).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Skvxkb6eMzytjPDmL6mPYU
The Learn page's "Every command" table is generated from --help. Its
check only ran in the release docs audit, so a renamed command would
leave the page wrong until the next release. The Linux test job now
runs the check with the keyroostctl that `cargo test` already built.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Skvxkb6eMzytjPDmL6mPYU
@framefilter
framefilter merged commit 55e3cda into main Oct 11, 2026
12 checks passed
@framefilter
framefilter deleted the docs/cli-page branch October 11, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant