-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfestFor Hacktoberfest Participants!For Hacktoberfest Participants!up-for-grabs
Description
--dry-run flag for generation paths
Summary
Add a --dry-run flag to show what CommitLM would generate without writing files or modifying commit messages.
Scope
commitlm generate --dry-runprints the synthesized commit message and/or doc path + preview.- Respect in hooks via env var
COMMITLM_DRY_RUN=1(no file writes).
Tasks
- Wire flag at CLI and pass through to generators.
- Ensure no writes and exit code 0.
- Add examples to README.
Acceptance criteria
- Running with
--dry-runnever creates/changes files. - Output includes which provider/model would be used.
Test plan
Stage a change; run commitlm generate --dry-run and verify only stdout changes.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfestFor Hacktoberfest Participants!For Hacktoberfest Participants!up-for-grabs