Skip to content
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

sub_commands should support a "simple" mode where a plain list of classes is supplied #5

Open
zyga opened this issue Jun 26, 2015 · 0 comments
Assignees
Milestone

Comments

@zyga
Copy link
Owner

zyga commented Jun 26, 2015

For usability, I never remember exactly what to put in sub_commands (in what order, to be precise).

I'd like this to work:

class foo(Command):
    name = 'foo'
class bar(Command):
   name = 'bar'
class main(Command):
    sub_commands = (foo, bar)
@zyga zyga added this to the 0.10 milestone Jul 2, 2015
@zyga zyga self-assigned this Jul 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant