class Dapp::Kube::CLI::Command::Kube::ValueGet

Public Instance Methods

run(argv = ARGV) click to toggle source
# File lib/dapp/kube/cli/command/kube/value_get.rb, line 33
def run(argv = ARGV)
  self.class.parse_options(self, argv)
  repo = self.class.required_argument(self, 'repo')
  run_dapp_command(nil, options: cli_options(repo: repo)) do |dapp|
    value_key = self.class.required_argument(self, "VALUE_KEY")
    dapp.public_send(run_method, value_key)
  end
end