Sha256: 792ec369f7f9138001dfdb8e22793249a12b63d78936dc56effeca9431490a23

Contents?: true

Size: 305 Bytes

Versions: 5

Compression:

Stored size: 305 Bytes

Contents

module Cifrado
  module Plugins
    class Saio
      
      desc 'flavors', 'List image flavors available'
      def flavors
        flavors = service.flavors.all
        flavors.each do |f|
          Log.info "[#{f.id}]".ljust(5) + "  #{f.name}"
        end
        flavors
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cifrado-0.2.1 lib/cifrado/cli/saio/flavors.rb
cifrado-0.2.0 lib/cifrado/cli/saio/flavors.rb
cifrado-0.1.3 lib/cifrado/cli/saio/flavors.rb
cifrado-0.1.2 lib/cifrado/cli/saio/flavors.rb
cifrado-0.1.1 lib/cifrado/cli/saio/flavors.rb