Class: MM::Command::View
- Inherits:
-
Cards
- Object
- AbstractCommand
- Cards
- MM::Command::View
- Defined in:
- lib/mm/cmds/view.rb
Instance Method Summary collapse
Methods inherited from Cards
#do_once, #option_parser, #view
Methods inherited from AbstractCommand
#cache_options, #card_property?, #display_value, #options, #output, #run, #user_property?, #view
Instance Method Details
#doc ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/mm/cmds/view.rb', line 23 def doc %{ usage: mm view <view_name> Environment variable options: MM_VIEW => view name used to show cards, setup it as your working queue. Synopsis: mm view My Work => show cards in the view mm view My Work -a priority,owner => show cards in the view with attributes specified Options: -a att_name1,attr_name2 show specified attribute value. } end |
#parse(argv) ⇒ Object
19 20 21 |
# File 'lib/mm/cmds/view.rb', line 19 def parse(argv) [:view] = argv.join(' ').strip end |