lyrasis/aspace-client-tasks

Update chains.thor/no_commands with optional args

Closed this issue · 0 comments

no_commands do 
    def execute(task, args = [], options = [])
      (klass, task) = Thor::Util.find_class_and_command_by_namespace(task)
      klass.new.invoke(task, args, options)
    end
  end