Sha256: 71e145795795ab33ac796bfc42449e7e95cb5198dc0db65d411f3188cc435a2e

Contents?: true

Size: 1.03 KB

Versions: 26

Compression:

Stored size: 1.03 KB

Contents

class Lono::Sets::Instances
  class Opts < Lono::Sets::Opts
    def delete
      operation_preferences_options
      accounts_options
      with_cli_scope do
        option :all, type: :boolean, desc: "Delete stack all instances. Overrides --accounts and --regions options"
      end
    end

    def sync
      operation_preferences_options
      accounts_options
      with_cli_scope do
        option :delete, type: :boolean, default: true, desc: "Delete stack instances that are not provided"
        option :blueprint, desc: "override convention and specify the template file to use"
        option :source, desc: "url or path to file with template"
      end
    end

    def accounts_options
      with_cli_scope do
        option :accounts, type: :array, desc: "List of accounts to apply stack set to. IE: 112233445566 223344556677"
        option :regions, type: :array, desc: "List of regions to apply stack set to. IE: us-west-2 us-east-1"
        option :sure, type: :boolean, desc: "Skip are you sure prompt"
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
lono-7.4.11 lib/lono/sets/instances/opts.rb
lono-7.4.10 lib/lono/sets/instances/opts.rb
lono-7.4.9 lib/lono/sets/instances/opts.rb
lono-7.4.8 lib/lono/sets/instances/opts.rb
lono-7.4.7 lib/lono/sets/instances/opts.rb
lono-7.4.6 lib/lono/sets/instances/opts.rb
lono-7.4.5 lib/lono/sets/instances/opts.rb
lono-7.4.4 lib/lono/sets/instances/opts.rb
lono-7.4.3 lib/lono/sets/instances/opts.rb
lono-7.4.2 lib/lono/sets/instances/opts.rb
lono-7.4.1 lib/lono/sets/instances/opts.rb
lono-7.4.0 lib/lono/sets/instances/opts.rb
lono-7.3.2 lib/lono/sets/instances/opts.rb
lono-7.3.1 lib/lono/sets/instances/opts.rb
lono-7.3.0 lib/lono/sets/instances/opts.rb
lono-7.2.3 lib/lono/sets/instances/opts.rb
lono-7.2.2 lib/lono/sets/instances/opts.rb
lono-7.2.1 lib/lono/sets/instances/opts.rb
lono-7.2.0 lib/lono/sets/instances/opts.rb
lono-7.1.0 lib/lono/sets/instances/opts.rb