Class: ForemanMaintain::Cli::PackagesCommand
- Defined in:
- lib/foreman_maintain/cli/packages_command.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#available_checks, #available_procedures, available_tags, #available_tags, completion_map, completion_types, dashize, #dashize, delete_duplicate_assumeyes_if_any, interactive_option, label_option, #label_string, option, #option_wrapper, parameter, #print_check_info, #reporter, #run_scenario, #run_scenarios_and_exit, service_options, subcommand, #tag_string, tags_option, #underscorize
Methods included from ForemanMaintain::Concerns::Logger
Methods included from ForemanMaintain::Concerns::Finders
#check, #detector, #feature, #find_all_scenarios, #find_checks, #find_procedures, #find_scenarios, #procedure
Instance Method Details
#run_scenario_or_rescue ⇒ Object
82 83 84 85 86 87 |
# File 'lib/foreman_maintain/cli/packages_command.rb', line 82 def run_scenario_or_rescue yield rescue NotImplementedError puts 'Command is not implemented for Debian based operating systems!' exit 0 end |