Sha256: f03afaef5191bc11b2652987887639e416206383a690ec8988b7a932914e7916

Contents?: true

Size: 539 Bytes

Versions: 11

Compression:

Stored size: 539 Bytes

Contents

module Ebfly
  class ElasticBeanstalk < Thor
    include Command

    desc "list-solution-stacks", "List available solution stacks"
    def list_solution_stacks
      ret = run { eb.list_available_solution_stacks() }
      debug ret

      SUPPORTED_SOLUTION_STACKS.each do |sss|
        puts ""
        puts "=== #{sss} ==="
        stacks = ret[:solution_stacks].select do |ss|
          supported = false
          supported = true if ss.include? sss
          supported
        end
        puts stacks.sort
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ebfly-0.1.10 lib/ebfly/command/elasticbeanstalk.rb
ebfly-0.1.9 lib/ebfly/command/elasticbeanstalk.rb
ebfly-0.1.8 lib/ebfly/command/elasticbeanstalk.rb
ebfly-0.1.7 lib/ebfly/command/elasticbeanstalk.rb
ebfly-0.1.6 lib/ebfly/command/elasticbeanstalk.rb
ebfly-0.1.5 lib/ebfly/command/elasticbeanstalk.rb
ebfly-0.1.4 lib/ebfly/command/elasticbeanstalk.rb
ebfly-0.1.3 lib/ebfly/command/elasticbeanstalk.rb
ebfly-0.1.2 lib/ebfly/command/elasticbeanstalk.rb
ebfly-0.1.1 lib/ebfly/command/elasticbeanstalk.rb
ebfly-0.1.0 lib/ebfly/command/elasticbeanstalk.rb