Repository navigation
docs(cli): rewrite the cargo-hammerwork command reference to match the real CLI - #60
Merged
Merged
Conversation
…e real CLI Replace the invented commands and synopsis-style flag lines (job delete, batch create/status, cron add/remove, maintenance cleanup/health, workflow status, backup verify, positional IDs on retry/cancel) with runnable examples taken from the actual clap definitions. Add the previously undocumented archive group and the missing queue, cron, batch, workflow, backup and webhook subcommands. Document the real precedence for the database URL and the config file (HAMMERWORK_CONFIG). Co-Authored-By: Claude Opus 5.5 <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.
Summary
The command reference in
cargo-hammerwork/README.mddocumented many commands and flags that do not exist (job delete,batch create/status,cron add/remove,maintenance cleanup/health,workflow status,backup verify, positional IDs onjob retry/cancel,[--opt X]synopsis lines). It is rewritten from the clap definitions and the--helpoutput of the built binary.--confirm/--dry-runrequirements, required flags, file formats, value sets).archivegroup and the missingqueue,cron,batch,workflow,backupandwebhooksubcommands.HAMMERWORK_CONFIG.Verification
Every
cargo hammerworkline in the README parses against the built binary (checker: 126 commands, 0 rejected).MERMAID_EXAMPLE.mdandhammerwork-web/README.mdalso pass. The rootREADME.mdstill hasmigrate/statuslines; those are fixed in #58, so they are not touched here.🤖 Generated with Claude Code