Open pmav99 opened 5 years ago
I checked poetry's develop branch and figured it out. An MWE can be found here.
Not sure if the issue needs to be closed or not. My problem is solved but mentioning this in the documentation would not be a bad idea.
At the mean time I found this: https://poetry.eustace.io/docs/plugins/#creating-a-plugin
You cannot really create subcommands. You can create commands with spaces in names, like env
"subcommands" in https://github.com/python-poetry/poetry/blob/05f39efa52deb801800309c6ee8cce7c17f61d49/src/poetry/console/application.py#L52-L93.
I can't find any reference for creating subcommands. E.g.
As far as I can tell clikit seems to be supporting this. But is this supported on cleo? Can you provide any pointers on how to do this? Do we need a new
cleo.Application
and/orclikit.console_application
?