class Ckancli::CLI

Handle the application command line parsing and the dispatch to various command objects

@api public

Constants

Error

Error raised by this runner

Public Instance Methods

upload(*) click to toggle source
# File lib/ckancli/cli.rb, line 33
def upload(*)
  if options[:help]
    invoke :help, ['upload']
  else
    require_relative 'commands/upload'
    Ckancli::Commands::Upload.new(options).execute
  end
end