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

Do we really need to use cmd/cmd2? #2

Open
manasdk opened this issue Jan 23, 2015 · 1 comment
Open

Do we really need to use cmd/cmd2? #2

manasdk opened this issue Jan 23, 2015 · 1 comment

Comments

@manasdk
Copy link

manasdk commented Jan 23, 2015

ps : this is me whining since I have to do more work to nicely integrate voodoo/metagen

Gripes

Impact
I don't see how we can make the cli tool modular if we would like to add more commands. I tried to move voodoo/metagen into st2sdk and ended up with do_metagen and help_metagen commands. All the args end up being params of do_metagen and help need to be kept consistent by updating disconnected string.

Overall, I tried by eventually it made me mad.

Also, do we really care about an interactive mode?

@manasdk
Copy link
Author

manasdk commented Jan 23, 2015

Some reasonable frameworks here -
http://docs.python-guide.org/en/latest/scenarios/cli/

The openstack folks seem to use cliff. Perhaps you have used some of these before and know why they may or may not be a good idea.

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

No branches or pull requests

1 participant