Replies: 2 comments 4 replies
-
|
For the last few years, I have played sysadmin and so have seen lots of The VersionWriter class is mutually exclusive with version and name and has some methods like This covers the most common case simply which is printing version like This will also make it easier for |
Beta Was this translation helpful? Give feedback.
-
|
I just proposed a PR in #3581 to document the freezing status of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To fix some of the open-issues and feature requests around
click.version_option, we need to introduce new slots.See for instance #2331, where we need to introduce a new slot alongside the existing
package_name, that could be namemodule_name. That way we can distinguish the 2 concept that are hard to reconcile.Other related issues to
@version_option:version_option()toCommand(params=)#2324version_optionmodule name and package name are not equivalent #2331That was my strategy in Click-Extra. But I ended up spending a lot of time fixing edge-cases and adding a lot of other slots to make them somewhat comprehensible.
I need the feedback on the community about Click's
@version_optionand its future direction:click.version_optionaltogether?If you want to check what kind of monstrosity this can of worms opens, you can check how my full-featured
@version_optionneeds 1000 lines of code at:Beta Was this translation helpful? Give feedback.
All reactions