Class: Sumologic::CLI::Commands::ListAppsCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Sumologic::CLI::Commands::ListAppsCommand
- Defined in:
- lib/sumologic/cli/commands/list_apps_command.rb
Overview
Handles the list-apps command execution
Instance Attribute Summary
Attributes inherited from BaseCommand
Instance Method Summary collapse
Methods inherited from BaseCommand
Constructor Details
This class inherits a constructor from Sumologic::CLI::Commands::BaseCommand
Instance Method Details
#execute ⇒ Object
10 11 12 |
# File 'lib/sumologic/cli/commands/list_apps_command.rb', line 10 def execute list_resource(label: 'app catalog', key: :apps) { client.list_apps } end |