Class: Gaptool::InfoCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- Gaptool::InfoCommand
- Defined in:
- lib/gaptool_client/commands.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
206 207 208 209 210 211 212 |
# File 'lib/gaptool_client/commands.rb', line 206 def execute params = hidden? ? { hidden: true } : {} nodes = Gaptool::API.query_nodes(params.merge(instance: instance, role: role, environment: environment)) Gaptool::Helpers.info(nodes, parseable?, grepable?, short?) end |