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
I'm looking at adding argcomplete support to Plumbum.cli (Someone might also look at Click at some point in the future, hopefully). It's really pretty simple to add directly to Plumbum, since there is no need for monkey patching. I just need a few things:
Can I have permission to use the same flag and file descriptors to connect as argcomlete? I don't want to have a new, separate global completer for each library.
Can I include a copy the global argcomplete script? I'm not sure about the licences, I think you can give permission to include it under plumbum's licence? This is optional, as simply listing "argcomplete support" for plumbum and "plumbum support" for argcomplete would probably work fine.
Do you have any recommendations, or would you like to help create this? The process of creating suggestions is the part that will need work.
I have an early proof of concept mentioned here: tomerfiliba/plumbum#212, you can take a look, it supports - and -- options.
The text was updated successfully, but these errors were encountered:
You raise an interesting question of what to do when two or more programs want to use complete -D. I'm not aware of a good answer for that. Do they stack properly?
It would be nice to define a standard Python shell completions interface, including things like file descriptors, muting, exit semantics, environment variables, etc. I'm open to that possibility, but someone will need to write it up (I can review it) and present it to the community for comments.
Both packages are provided under permissive licenses (Apache and BSD) so you can do whatever you want. I don't have any strong opinions aside from the obvious point that you should think about how these packages will interact and might conflict when simultaneously used in bash and in Python.
I'm looking at adding argcomplete support to Plumbum.cli (Someone might also look at Click at some point in the future, hopefully). It's really pretty simple to add directly to Plumbum, since there is no need for monkey patching. I just need a few things:
I have an early proof of concept mentioned here: tomerfiliba/plumbum#212, you can take a look, it supports
-
and--
options.The text was updated successfully, but these errors were encountered: