feat(cli): add description when choosing a commit rule by namwoam · Pull Request #1825 · commitizen-tools/commitizen

Closes #1822

Description

This PR adds descriptions to the commit message rule selection step.

Checklist

Was generative AI tooling used to co-author this PR?

  • No

Code Changes

  • [] Add test cases to all the changes you introduce
  • [✅ ] Run uv run poe all locally to ensure this change passes linter check and tests
  • Manually test the changes:
    • [✅ ] Verify the feature/bug fix works as expected in real-world scenarios
    • [✅ ] Test edge cases and error conditions
    • Ensure backward compatibility is maintained
    • Document any manual testing steps performed
  • Update the documentation for the changes

Documentation Changes

  • Run uv run poe doc locally to ensure the documentation pages renders correctly
  • Check and fix any broken links (internal or external)

Expected Behavior

When selecting the commit rule at cz init, it should appear a description when selecting a commit rule.

Before:
Screenshot 2026-01-31 at 11 08 56 AM

After:
Screenshot 2026-01-31 at 12 50 58 PM

Additional Context

Issue: #1822