-
Notifications
You must be signed in to change notification settings - Fork 111
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
Extension command line argument in conflict with datalad
level argument
#7573
Comments
could be |
Sure we can do that. But that's not my concern though. Why shouldn't |
I thought it was a generic known issue, but I searched myself into
I think it belongs to the main repo, will transfer here is some food for thought:
and
so if we get that early fail - we seems to not bother importing extensions via entry points. |
https://github.com/datalad/datalad-extension-template/blob/793c5543b8f1385e007ceb2b8cd1db667b9d38e6/datalad_helloworld/hello_cmd.py#L37
The
-l
command argument above doesn't work.datalad
seems to be interpreting it as adatalad
level argument instead of an extension level argument.Changing
-l
to-x
,args=("-x", "--language")
, works just fine.❯ datalad hello-cmd -x de demo(ok): /Users/isaac/Developer/Dartmouth/workshop/datalad-extension-template [Tachchen!]
The text was updated successfully, but these errors were encountered: