Method: ListTool::App::UseCommand.execute

Defined in:
lib/list_tool/app/commands/use_command.rb

.execute(options, lister) ⇒ Object

Raises:



21
22
23
# File 'lib/list_tool/app/commands/use_command.rb', line 21

def self.execute options, lister
  raise(ListNotFoundError, 'no list with given number') if lister.set_default_list( options[:list] ).nil?
end