class MiGA::Cli::Action::NextStep

Public Instance Methods

parse_cli() click to toggle source
# File lib/miga/cli/action/next_step.rb, line 7
def parse_cli
  cli.parse do |opt|
    cli.opt_object(opt, [:project, :dataset_opt])
  end
end
perform() click to toggle source
# File lib/miga/cli/action/next_step.rb, line 13
def perform
  obj = cli.load_project_or_dataset
  n = obj.next_task
  cli.puts(n || '?')
end