Method: TheFox::Timr::Command::TrackCommand#run
- Defined in:
- lib/timr/command/track_command.rb
#run ⇒ Object
See BasicCommand#run.
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/timr/command/track_command.rb', line 96 def run if @help_opt help return end @timr = Timr.new(@cwd) @timr.load_all_tracks if @task_opt run_task_command elsif @add_opt run_add elsif @remove_opt run_remove elsif @set_opt run_set else run_show end end |