Sha256: 616152ba32eb8c79c548caf81f3642efd3cb065de3b31dae0dd998d7216f6b04
Contents?: true
Size: 1014 Bytes
Versions: 26
Compression:
Stored size: 1014 Bytes
Contents
class Lono::Sets class Instances < Lono::Command opts = Opts.new(self) desc "delete STACK_SET", "Delete CloudFormation stack set instances." long_desc Lono::Help.text("sets/instances/delete") opts.delete def delete(stack) Delete.new(options.merge(stack: stack)).run end desc "sync STACK_SET", "Sync CloudFormation stack set instances." long_desc Lono::Help.text("sets/instances/sync") opts.sync def sync(stack) Sync.new(options.merge(stack: stack)).run end desc "list STACK_SET", "List CloudFormation stack set instances." long_desc Lono::Help.text("sets/instances/list") def list(stack) List.new(options.merge(stack: stack)).run end desc "status STACK_SET", "Show current status of stack instances." long_desc Lono::Help.text("sets/instances/status") def status(stack) instances_status = Status.new(options.merge(stack: stack)) success = instances_status.run exit 3 unless success end end end
Version data entries
26 entries across 26 versions & 1 rubygems