3

I have a CLI built using Thor. I need a global option for all my tasks except a few. I added the global option by defining a class_option, but I am not able to figure out how to remove that option from a select few tasks. If I use remove_class_option() in one of my tasks, then the global option is removed for good, and no longer available.

Any help, greatly appreciated!

rupakg
  • 510
  • 4
  • 7
  • Maybe you could use the method described in http://stackoverflow.com/a/14360552/789593 – N.N. Feb 15 '13 at 16:44

0 Answers0