Class: Kuberun::CLI
- Inherits:
-
Thor
- Object
- Thor
- Kuberun::CLI
- Defined in:
- lib/kuberun/cli.rb
Overview
Handle the application command line parsing and the dispatch to various command objects
Constant Summary collapse
- DEFAULT_OPTIONS_FOR_KUBECTL_OPTIONS =
{ type: :string, default: '', desc: 'See kubectl options' }
- BASE_KUBECTL_OPTIONS =
{ 'certificate-authority': {}, 'client-certificate': {}, 'client-key': {}, 'cluster': {}, 'context': {}, 'insecure-skip-tls-verify': {}, 'kubeconfig': {}, 'namespace': { aliases: :'-n' }, 'token': {}, 'v': { type: :numeric, default: 0, desc: 'Log level, also passed to kubectl' }, }
- Error =
Error raised by this runner
Class.new(StandardError)