class Rhelm::Subcommand::List
Helm list subcommand: `helm list [flags]`. docs: helm.sh/docs/helm/helm_list/
Attributes
all[R]
all_namespaces[R]
date[R]
deployed[R]
failed[R]
filter[R]
help[R]
max[R]
offset[R]
output[R]
pending[R]
reverse[R]
selector[R]
short[R]
superseded[R]
time_format[R]
uninstalled[R]
uninstalling[R]
Public Class Methods
new(options = {})
click to toggle source
Calls superclass method
Rhelm::Subcommand::Base::new
# File lib/rhelm/subcommand/list.rb, line 27 def initialize(options = {}) super(options) @all = options[:all] @all_namespaces = options[:all_namespaces] @date = options[:date] @deployed = options[:deployed] @failed = options[:failed] @filter = options[:filter] @help = options[:help] @max = options[:max] @offset = options[:offset] @output = options[:output] @pending = options[:pending] @reverse = options[:reverse] @selector = options[:selector] @short = options[:short] @superseded = options[:superseded] @time_format = options[:time_format] @uninstalled = options[:uninstalled] @uninstalling = options[:uninstalling] end
Public Instance Methods
cli_args()
click to toggle source
Calls superclass method
Rhelm::Subcommand::Base#cli_args
# File lib/rhelm/subcommand/list.rb, line 54 def cli_args super.tap do |args| args << '--all' if all args << '--all-namespaces' if all_namespaces args << '--date' if date args << '--deployed' if deployed args << '--failed' if failed args << ['--filter', filter] if filter args << '--help' if help args << ['--max', max] if max args << ['--offset', offset] if offset args << ['--output', output] if output args << '--pending' if pending args << '--reverse' if reverse args << ['--selector', selector] if selector args << '--short' if short args << '--superseded' if superseded args << ['--time-format', time_format] if time_format args << '--uninstalled' if uninstalled args << '--uninstalling' if uninstalling end.flatten end
subcommand_name()
click to toggle source
# File lib/rhelm/subcommand/list.rb, line 50 def subcommand_name 'ls' end