Sha256: ab1719aa25bb937b32b7a9ab13cbc12aaed9eebfaf731a3f077e8a3ec0e1bd22
Contents?: true
Size: 350 Bytes
Versions: 1
Compression:
Stored size: 350 Bytes
Contents
require 'opsworks/stack' module OpsWorks module CLI module Helpers module Options def parse_stacks(options = {}) stacks = OpsWorks::Stack.all if options[:stack] stacks.select! { |stack| options[:stack].include?(stack.name) } end stacks end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opsworks-cli-0.2.0 | lib/opsworks/cli/helpers/options.rb |