Class: JCF::CLI::Commands::CF::Services
- Inherits:
-
JCF::CLI::Command
- Object
- Dry::CLI::Command
- JCF::CLI::Command
- JCF::CLI::Commands::CF::Services
- Defined in:
- lib/jcf/cli/commands/cf/services.rb
Instance Method Summary collapse
Methods inherited from JCF::CLI::Command
Instance Method Details
#call(broker:) ⇒ Object
14 15 16 17 |
# File 'lib/jcf/cli/commands/cf/services.rb', line 14 def call(broker:, **) # gather all service offerings and plans for a single broker out.puts formatter.format(data: JCF::CF::Services.first(name: broker), tree: true) end |