Repository navigation
docs(cli): add the command and configuration reference - #111
Merged
Merged
Conversation
The README keeps to what dw-mc is and how to start, so the flags and the config keys need a home of their own. docs/cli.md carries every flag with what --help cannot say: which key it overrides, which flags exclude each other, the coverage of a pass, the status markers and the --json shapes. docs/configuration.md carries every key with its values and default. Refs #110 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The flag column the README used to carry had already missed --repo and --all, so a hand-written reference needs a check that goes red the moment a flag is added or removed without it. Refs #110 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Waiting on others also holds a pull request whose CI is still running, Ready does not insist on an approval, the source layers end in terms, Claude Code is the one agent a review runs on, merge is a write ADR 0008 admits, --effort takes five values, a pass covers the repository the working directory is in unless --all or --repo says otherwise, and comments --ack is a local write the skill should know about. Refs #110 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The README gives a command list with no flags. The config block in it leaves half the keys unexplained. A flag reference written by hand drifts: the old README column missed
--repoand--allonsweepandstatus. The reference lives in two docs, and a test keeps the flag list in step with the CLI.Closes #110
What changes
docs/cli.md: every command and flag. It also covers what--helpleaves out: which config key a flag overrides, which flags exclude each other, which repositories a pass covers, thestatusmarkers, and the--jsonshapes.docs/configuration.md: everyconfig.yamlkey with its values, default and effect. README links to both docs.src/cli/docs.test.ts: fails when a command's--helpflags and its table indocs/cli.mddisagree, in either direction.terms.mergeis ADR 0008's write.--efforttakes five values.comments --ack.Test plan
pnpm check: pass, 801 tests.src/cli/docs.test.tsfails when--forceis deleted from thereviewtable indocs/cli.md.src/cli/docs.test.tsfails when a fake--bogusrow is added understamp.docs/cli.mdanddocs/configuration.mdin the rendered PR and click every relative link, includingdocs/cli.md#dw-mc-status.Risk
None: docs, plus one test.
🤖 Generated with Claude Code