StackStorm / st2sdk

This repository contains different utilities and tools which help with the StackStorm integration pack development.
Apache License 2.0
10 stars 11 forks source link

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

Open manasdk opened 9 years ago

manasdk commented 9 years ago

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 commented 9 years ago

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.