class Rhelm::Subcommand::History
Helm history subcommand: `helm history RELEASE_NAME [flags]`. docs: helm.sh/docs/helm/helm_history/
Attributes
help[R]
max[R]
output[R]
release_name[R]
Public Class Methods
new(release_name, options = {})
click to toggle source
Calls superclass method
Rhelm::Subcommand::Base::new
# File lib/rhelm/subcommand/history.rb, line 13 def initialize(release_name, options = {}) super(options) @release_name = release_name @help = options[:help] @max = options[:max] @output = options[:output] end
Public Instance Methods
cli_args()
click to toggle source
Calls superclass method
Rhelm::Subcommand::Base#cli_args
# File lib/rhelm/subcommand/history.rb, line 26 def cli_args super.tap do |args| args << "--help" if help args << [ '--max', max ] if max args << [ '--output', output ] if output args << release_name end.flatten end
subcommand_name()
click to toggle source
# File lib/rhelm/subcommand/history.rb, line 22 def subcommand_name "history" end