class Taskmeister::Cli::Commands::Edit

Public Instance Methods

execute!() click to toggle source
# File lib/taskmeister/cli/commands.rb, line 60
def execute!
  task = @task_list[@options.task_id]

  search_path = task ? "+/#{task.id} " : ""

  system "vim #{search_path}#{@task_list.file_path}"
end