Class: VMCAppfog::Frameworks

Inherits:
VMC::CLI
  • Object
show all
Defined in:
lib/appfog-vmc-plugin/commands/frameworks.rb

Instance Method Summary collapse

Instance Method Details

#frameworksObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/appfog-vmc-plugin/commands/frameworks.rb', line 5

def frameworks
  frameworks =
    with_progress("Getting frameworks") do
      client.frameworks
    end

  line unless quiet?

  table(
    %w{Name},
    frameworks.collect { |r|
      [c(r.name, :name),
      ]
    })
end