Skip to content

docs(cli): rewrite the cargo-hammerwork command reference to match the real CLI - #60

Merged
CodingAnarchy merged 1 commit into
masterfrom
docs/cli-readme
Oct 9, 2026
Merged

CodingAnarchy merged 1 commit into
masterfrom
docs/cli-readme

Conversation

@CodingAnarchy

Copy link
Copy Markdown
Owner

Summary

The command reference in cargo-hammerwork/README.md documented 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 on job retry/cancel, [--opt X] synopsis lines). It is rewritten from the clap definitions and the --help output of the built binary.

  • Every command group has a one-line description, runnable examples with real flags, and the notable behaviour (--confirm / --dry-run requirements, required flags, file formats, value sets).
  • Added the previously undocumented archive group and the missing queue, cron, batch, workflow, backup and webhook subcommands.
  • The config section now states the real precedence (flag, then env, then file, then defaults), the per-platform config path, and HAMMERWORK_CONFIG.
  • Removed the stale module tree and feature bullets (worker start/stop, log tailing).

Verification

Every cargo hammerwork line in the README parses against the built binary (checker: 126 commands, 0 rejected). MERMAID_EXAMPLE.md and hammerwork-web/README.md also pass. The root README.md still has migrate/status lines; those are fixed in #58, so they are not touched here.

🤖 Generated with Claude Code

…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>
@CodingAnarchy
CodingAnarchy merged commit 9a6ea81 into master Oct 9, 2026
17 checks passed
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