Class: Minfra::Cli::Main
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Logging
#debug, #deprecated, #error, #exit_error, #info, #warn
Methods included from Common
#run_cmd
Class Method Details
.exit_on_failure? ⇒ Boolean
27
28
29
|
# File 'lib/minfra/cli/main_command.rb', line 27
def self.exit_on_failure?
true
end
|
Instance Method Details
#kube(*args) ⇒ Object
9
10
11
12
|
# File 'lib/minfra/cli/main_command.rb', line 9
def kube(*args)
kube = Kube.new(options, minfra_config)
kube.kubectl_command(args)
end
|
#version ⇒ Object
23
24
25
|
# File 'lib/minfra/cli/main_command.rb', line 23
def version
puts Minfra::Cli::VERSION
end
|