Skip to content

docs(cli): document every 0.36.0 command, flag and exit code - #1306

Merged
gildesmarais merged 2 commits into
mainfrom
docs/gem-gaps-cli
Nov 24, 2026
Merged

gildesmarais merged 2 commits into
mainfrom
docs/gem-gaps-cli

Conversation

@gildesmarais

Copy link
Copy Markdown
Member

What changed

The CLI reference now covers every command, flag and exit code in html2rss 0.36.0.

  • New sections for inspect, recon, test, doctor and tree.
  • Commands are ordered as the curation workflow: inspect, recon, capture, validate, test, apply, scrape.
  • capture documents --output-dir, --write, --topics and the <domain>/index.yml layout it writes.
  • validate, apply and scrape gain their missing flags and input forms.
  • A strategies table, including the httpx, faraday and browserless aliases.
  • An exit-codes table, with a test && apply pipe example.
  • scrape --max-requests no longer claims a default of 4. Without the flag, the budget is derived from the pipeline and capped at 10.

Why

The CLI gained these commands and flags over the last few gem releases without matching docs.

Validation

  • make lint and make build pass.
  • A fresh-context review checked each flag against html2rss help and the CLI source, and ran the exit codes it could offline. It came back Conditional on the --max-requests default and five wording items, all fixed here.

🤖 Generated with Claude Code

gildesmarais and others added 2 commits November 24, 2026 15:55
Add inspect, recon, test, doctor and tree. Document capture output
options and the <domain>/index.yml layout, validate and apply options,
the strategy values and aliases, and an exit-code table. Order commands
as the curation workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gildesmarais
gildesmarais marked this pull request as ready for review November 24, 2026 15:00
@gildesmarais
gildesmarais merged commit cbd713d into main Nov 24, 2026
5 checks passed
@gildesmarais
gildesmarais deleted the docs/gem-gaps-cli branch November 24, 2026 15:15
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