-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
CLI with non primitive types + subcommands #430
Comments
In principle it should be supported. But I have never tried having a subclass type in an |
The problem is that the definition @AlejandroBaron changing |
…s a subcommand method (#430 comment).
…s a subcommand method (#430 comment).
With pull request #444 a better error message is given when a class has a |
Hello!
I'm trying to do combine the CLI + config utility with subcommands and i'm not able to.
The CLI takes an object as an argument and in the subcommand it calls an object submethod.
This is a minimal example with 3 files
python example.py --config config.yaml subcommand
myclass.py
example.py (entrypoint)
config.yaml
Is this not supported yet?
The text was updated successfully, but these errors were encountered: