Skip to content

diffr: print a command's help or a guide with diffr help - #1040

Draft
sidkmenon wants to merge 1 commit into
sm/diffr-config-dirfrom
sm/diffr-help
Draft

sidkmenon wants to merge 1 commit into
sm/diffr-config-dirfrom
sm/diffr-help

Conversation

@sidkmenon

@sidkmenon sidkmenon commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

diffr help replaces clap's help command. With no topic it prints the
help and lists the guides. diffr help <command> prints that command's
help, as before. diffr help <guide> prints a guide; the first,
plugins, is docs/plugin.md, now part of the crate's package.

Agent plugins will call diffr help plugins, so the text an agent reads
always matches the installed diffr.

Tests: CLI tests for a guide, a command's help, and a hidden command,
which has no help topic.

@sidkmenon
sidkmenon added this pull request to stack #1041 October 8, 2026 19:06
`diffr help` replaces clap's help command. With no topic it prints the
help and lists the guides. `diffr help <command>` prints that command's
help, as before. `diffr help <guide>` prints a guide; the first,
`plugins`, is docs/plugin.md, now part of the crate's package.

Agent plugins will call `diffr help plugins`, so the text an agent reads
always matches the installed diffr.

Tests: CLI tests for a guide, a command's help, and a hidden command,
which has no help topic.

Agent-Session: 01a11aca-5007-7b80-ad35-c0a0f746a05d
Agent-Session: ec5d2c35-3045-44f3-9c41-ba4378797c8e

This branch has not been deployed

No deployments
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