Class: Rhelm::Subcommand::Env
Overview
Helm env subcommand: ‘helm env [flags]`. docs: helm.sh/docs/helm/helm_env/
Instance Attribute Summary collapse
-
#help ⇒ Object
readonly
Returns the value of attribute help.
Attributes inherited from Base
#client, #debug, #kube_apiserver, #kube_as_group, #kube_as_user, #kube_context, #kube_token, #kubeconfig, #namespace, #registry_config, #repository_cache, #repository_config
Instance Method Summary collapse
- #cli_args ⇒ Object
-
#initialize(options = {}) ⇒ Env
constructor
A new instance of Env.
- #subcommand_name ⇒ Object
Methods inherited from Base
#args, #full_cli_call, #report_failure, #run
Constructor Details
#initialize(options = {}) ⇒ Env
Returns a new instance of Env.
10 11 12 13 14 |
# File 'lib/rhelm/subcommand/env.rb', line 10 def initialize( = {}) super @help = [:help] end |
Instance Attribute Details
#help ⇒ Object (readonly)
Returns the value of attribute help.
8 9 10 |
# File 'lib/rhelm/subcommand/env.rb', line 8 def help @help end |
Instance Method Details
#cli_args ⇒ Object
20 21 22 23 24 |
# File 'lib/rhelm/subcommand/env.rb', line 20 def cli_args super.tap do |args| args << "--help" if help end.flatten end |
#subcommand_name ⇒ Object
16 17 18 |
# File 'lib/rhelm/subcommand/env.rb', line 16 def subcommand_name "env" end |