class Rhelm::Subcommand::Verify

Helm verify subcommand: `helm verify PATH [flags]`. docs: helm.sh/docs/helm/helm_verify/

Attributes

keyring[R]
path[R]

Public Class Methods

new(path, options = {}) click to toggle source
Calls superclass method Rhelm::Subcommand::Base::new
# File lib/rhelm/subcommand/verify.rb, line 11
def initialize(path, options = {})
  super(options)

  @path = path
  @keyring = options[:keyring]
end

Public Instance Methods

cli_args() click to toggle source
Calls superclass method Rhelm::Subcommand::Base#cli_args
# File lib/rhelm/subcommand/verify.rb, line 22
def cli_args
  super.tap do |args|
    args << ['--keyring', keyring] if keyring

    args << path
  end.flatten
end
subcommand_name() click to toggle source
# File lib/rhelm/subcommand/verify.rb, line 18
def subcommand_name
  "verify"
end