Class: ForemanMaintain::Cli::Procedure::ByTagCommand
- Defined in:
- lib/foreman_maintain/cli/advanced/procedure/by_tag_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
#execute ⇒ Object
21 22 23 |
# File 'lib/foreman_maintain/cli/advanced/procedure/by_tag_command.rb', line 21 def execute puts help end |
#help ⇒ Object
25 26 27 28 29 30 |
# File 'lib/foreman_maintain/cli/advanced/procedure/by_tag_command.rb', line 25 def help if self.class.recognised_subcommands.empty? warn 'WARNING: There were no tags found in procedures' end super end |