Sha256: f9b78acb8fdf09508134ce2681d7811849867543ca93ce105866a1a5c0ce97c8
Contents?: true
Size: 399 Bytes
Versions: 3
Compression:
Stored size: 399 Bytes
Contents
module OpsWorks module CLI module Helpers module Options def parse_stacks(options = {}) if options[:stack] OpsWorks::Stack.all.select do |stack| options[:stack].include?(stack.name) end else options[:active] ? OpsWorks::Stack.active : OpsWorks::Stack.all end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
opsworks-cli-0.7.1 | lib/opsworks/cli/helpers/options.rb |
opsworks-cli-0.7.0 | lib/opsworks/cli/helpers/options.rb |
opsworks-cli-0.6.0 | lib/opsworks/cli/helpers/options.rb |