Class: TaskwarriorWeb::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/taskwarrior-web/runner.rb

Constant Summary collapse

TASK_BIN =
'task'

Class Method Summary collapse

Class Method Details

.run(command) ⇒ Object



6
7
8
9
# File 'lib/taskwarrior-web/runner.rb', line 6

def self.run(command)
  command = TASK_BIN + " #{command}"
  `#{command}`
end