Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

Subcommands not recognised #11

Open
viztastic opened this issue Sep 6, 2017 · 0 comments
Open

Subcommands not recognised #11

viztastic opened this issue Sep 6, 2017 · 0 comments

Comments

@viztastic
Copy link

Hi @rdegges great framework.

I have the following case:

Usage:
  mycli configure
  mycli tenant new <tenant-domain>... --name=TENANT_NAME
  mycli tenant rm <tenant-domain>...
  mycli tenant configure <tenant-domain>
  mycli -h | --help
  mycli --version

I'm able to easily create a new configure class to handle the configure command. The issue is with tenant, am I supposed to create a new tenant subdirectory and create a class for each of the subcommands (new, rm and configure) or am i supposed to modify the loop you have in main?

Any thoughts would be appreciated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant