-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show zopectl.command commands as well #18
Comments
+1 |
Looking at the example, wouldn't it be easier to change the entry point to p.r.zope2instance.ctl in collective.solr? This would also bypass the issues I have described here: collective/collective.solr#88 (comment). |
@tschorr sure, that would be a fix for collective.solr, but I guess collective.solr is not the only package that provides commands, so if instead of having to fix all and every single distribution (and get a release for each of them), we list all commands we only have to care about a single package to fix and release. |
I cannot find many packages that use In my opinion it is rather confusing that there are two different entry point names for exactly the same functionality. So this now might be a good chance to simplify things and maybe get rid of one of the two entry points. Or at least put some deprecation warning for the |
p.r.zope2instance can show and run commands defined on setup.py like this:
Actually it can also run (but not display them on its help) any command defined like:
It would be great if the help command could also show them as well.
If not one is puzzled about installing a distribution (collective.solr for example) that claims to install some commands but that are not shown at all when running
bin/instance help
.Is there any reason to not show them?
The text was updated successfully, but these errors were encountered: