Skip to content

Conversation

@gpshead
Copy link
Owner

@gpshead gpshead commented Jul 4, 2025

Integrate the user-friendly features from PR python#16 by @picnixz into the automation support from PR python#45, making the CLI more intuitive:

  • Change --gh-issue to --issue, accepting multiple formats:

  • Add smart section matching with:

    • Case-insensitive matching: --section lib matches "Library"
    • Partial matching: --section doc matches "Documentation"
    • Common aliases: --section api matches "C API"
    • Separator normalization: --section core-and-builtins
  • Improve error messages for invalid sections

This combines the automation features from PR python#45 with the interface improvements suggested by @picnixz in PR python#16, as reviewed by @hugovk and @larryhastings.

Integrate the user-friendly features from PR python#16 by @picnixz into the
automation support from PR python#45, making the CLI more intuitive:

- Change --gh-issue to --issue, accepting multiple formats:
  * Plain numbers: --issue 12345
  * With gh- prefix: --issue gh-12345
  * GitHub URLs: --issue python/cpython#12345

- Add smart section matching with:
  * Case-insensitive matching: --section lib matches "Library"
  * Partial matching: --section doc matches "Documentation"
  * Common aliases: --section api matches "C API"
  * Separator normalization: --section core-and-builtins

- Improve error messages for invalid sections

This combines the automation features from PR python#45 with the interface
improvements suggested by @picnixz in PR python#16, as reviewed by @hugovk
and @larryhastings.

Co-authored-by: picnixz <picnixz@users.noreply.github.com>
@gpshead gpshead marked this pull request as ready for review July 4, 2025 04:17
@gpshead gpshead merged commit 8217638 into knights-who-say-stdin Jul 4, 2025
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.

2 participants