class Rockette::CLI

@api public Handle actions and parameters

Constants

Error

Error raised by this runner

Public Instance Methods

config(*) click to toggle source
# File lib/rockette/cli.rb, line 60
def config(*)
  if options[:help]
    invoke :help, ["config"]
  else
    require_relative "commands/config"
    Rockette::Commands::Config.new(options).execute
  end
end
deploy(*) click to toggle source
# File lib/rockette/cli.rb, line 29
def deploy(*)
  if options[:help]
    invoke :help, ["deploy"]
  else
    require_relative "commands/deploy"
    Rockette::Commands::Deploy.new(options).execute
  end
end
export(*) click to toggle source
# File lib/rockette/cli.rb, line 48
def export(*)
  if options[:help]
    invoke :help, ["export"]
  else
    require_relative "commands/export"
    Rockette::Commands::Export.new(options).execute
  end
end
interactive(*) click to toggle source
# File lib/rockette/cli.rb, line 72
def interactive(*)
  if options[:help]
    invoke :help, ["interactive"]
  else
    require_relative "commands/interactive"
    Rockette::Commands::Interactive.new(options).execute
  end
end
version() click to toggle source
# File lib/rockette/cli.rb, line 12
def version
  require_relative "version"
  puts "v#{Rockette::VERSION}"
end