danielgtaylor / openapi-cli-generator

Generate a CLI from an OpenAPI 3 specification
MIT License
178 stars 49 forks source link

Creating subcommands #33

Open AhmadHamid opened 4 years ago

AhmadHamid commented 4 years ago

Hi, Thanks for a very useful tool!

I can't seem to figure out how to create subcommands like $ docker container rm <containerName>.

If i try adding the path: /container/rm/{containerName}, the command will be created as $ docker container-rm <containerName>

This is the first time that I am using both OpenAPI and this tool, so I am in no way an expert.

Thanks!

falzm commented 4 years ago

@AhmadHamid looks like your use case could be fulfilled by this PR: #32 </shameless plug>