class Rhelm::Subcommand::Env

Helm env subcommand: `helm env [flags]`. docs: helm.sh/docs/helm/helm_env/

Attributes

help[R]

Public Class Methods

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

  @help = options[:help]
end

Public Instance Methods

cli_args() click to toggle source
Calls superclass method Rhelm::Subcommand::Base#cli_args
# File lib/rhelm/subcommand/env.rb, line 20
def cli_args
  super.tap do |args|
    args << "--help" if help
  end.flatten
end
subcommand_name() click to toggle source
# File lib/rhelm/subcommand/env.rb, line 16
def subcommand_name
  "env"
end