Class: HammerCLIForemanTemplates::ExportCommand
- Inherits:
-
HammerCLIForeman::Command
- Object
- HammerCLIForeman::Command
- HammerCLIForemanTemplates::ExportCommand
- Defined in:
- lib/hammer_cli_foreman_templates/export.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
21 22 23 24 25 26 |
# File 'lib/hammer_cli_foreman_templates/export.rb', line 21 def execute templates = send_request['templates'] templates = [] unless option_verbose print_data(templates) HammerCLI::EX_OK end |