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

Add support for subcommand #9

Open
0ncorhynchus opened this issue Sep 28, 2019 · 0 comments
Open

Add support for subcommand #9

0ncorhynchus opened this issue Sep 28, 2019 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@0ncorhynchus
Copy link
Owner

0ncorhynchus commented Sep 28, 2019

propose a function for subcommands:

#[derive(SubCommands)]
enum MySubCommands {
    Help(MyHelp),
    Version(MyVersion),
    List(ListUpItems),
    Add(AddItem),
    Remove(RemoveItem),
}
@0ncorhynchus 0ncorhynchus added this to the v0.3.0 milestone Sep 28, 2019
@0ncorhynchus 0ncorhynchus added the enhancement New feature or request label Sep 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant