-
Notifications
You must be signed in to change notification settings - Fork 2
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
Introduce con-duct
"gateway" entrypoint for subcommands
#122
Comments
just to be clear, you're thinking |
|
so it would look like:
|
yeap, it could indeed. moreover |
Thanks @yarikoptic. if its all under a single python package, why not stick with a single top level entry point? |
In principle could be duct and then |
Ah ok, im with you now. The point is to avoid subcommands in duct, since it wouldn't play nice with the inner command positional argument. |
con-duct
"gateway" entrypoint for subcommands
Also |
just an idea: previously we mentioned establishing
duct-suite
but now that we have it ascon-duct
on pypi andcon_duct
python module, it should just becon-duct
CLI...This way, eventually, someone could even come up with
con
frontend to allcon-*
tools if we follow'sgit
's approach ofgit-
prefix and just taking anygit-blah
intogit blah
;-)WDYT @asmacdo !
con-duct
is made available in default lean installation, although sub-commands (to function) might require additional componentsclick
library does that for you)con-duct --help
listing of those commands could mention what those dependencies are and/or either they are installed.duct
==con-duct run
so it is nicely visible incon-duct --help
which would list the commandscon-duct
"dynamically extensible" similarly to how eithergit
ordatalad
do itgit blah
is picking up anygit-blah
in PATH (after considering built-ins under/usr/lib/git-core
).git-annex
defines protocol forgit-annex-remote-
helpers, but AFAIK does not extendgit annex COMMAND
namespacedatalad
uses Python entry points under the common prefix (datalad.
) and conventions for interfaces to define in its "datalad-extensions"The text was updated successfully, but these errors were encountered: