You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add user-friendly interface improvements to blurb add command
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 <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,8 @@
3
3
## 2.1.0 (unreleased)
4
4
5
5
* Add automation support to `blurb add` command:
6
-
* New `--gh-issue` option to specify GitHub issue number
7
-
* New `--section` option to specify NEWS section
6
+
* New `--issue` option to specify GitHub issue number (supports URLs and various formats)
7
+
* New `--section` option to specify NEWS section (with smart case-insensitive matching)
8
8
* New `--rst-on-stdin` option to read entry content from stdin
9
9
* Useful for CI systems and automated tools
10
10
* Uses `cyclopts` for command line parsing instead of rolling our own to reduce our code size, this changes the help format and brings in a dependency.
0 commit comments