class Kuberun::CLI

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

@api public

Constants

BASE_KUBECTL_OPTIONS
DEFAULT_OPTIONS_FOR_KUBECTL_OPTIONS
Error

Error raised by this runner

Public Instance Methods

run_pod(deployment_name) click to toggle source
# File lib/kuberun/cli.rb, line 42
def run_pod(deployment_name)
  if options[:help]
    invoke :help, ['run_pod']
  else
    require_relative 'commands/run_pod'
    Kuberun::Commands::RunPod.new(deployment_name, options).execute
  end
end
version() click to toggle source
# File lib/kuberun/cli.rb, line 33
def version
  require_relative 'version'
  puts "v#{Kuberun::VERSION}"
end