class GradesFirst::TaskCLI

Public Instance Methods

add(description) click to toggle source
# File lib/gradesfirst/task_cli.rb, line 18
def add(description)
  set_pivotal_tracker_api_token
  execute(GradesFirst::TaskAddCommand, description)
end
delete(position) click to toggle source
# File lib/gradesfirst/task_cli.rb, line 24
def delete(position)
  set_pivotal_tracker_api_token
  execute(GradesFirst::TaskDeleteCommand, position)
end
list() click to toggle source
# File lib/gradesfirst/task_cli.rb, line 30
def list
  set_pivotal_tracker_api_token
  execute(GradesFirst::TaskListCommand)
end
move(from, to) click to toggle source
# File lib/gradesfirst/task_cli.rb, line 36
def move(from, to)
  set_pivotal_tracker_api_token
  execute(GradesFirst::TaskMoveCommand, from , to)
end
toggle(position) click to toggle source
# File lib/gradesfirst/task_cli.rb, line 42
def toggle(position)
  set_pivotal_tracker_api_token
  execute(GradesFirst::TaskToggleCommand, position)
end