Class: JCF::CLI::Commands::CF::Services

Inherits:
JCF::CLI::Command show all
Defined in:
lib/jcf/cli/commands/cf/services.rb

Instance Method Summary collapse

Methods inherited from JCF::CLI::Command

inherited

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