Sha256: fbd9ba1c959a5c4ac627b4f5d3946d7c4a74cdbf44cf96b8519c5b80e1256c9f
Contents?: true
Size: 799 Bytes
Versions: 1
Compression:
Stored size: 799 Bytes
Contents
# frozen_string_literal: true require "cri" require "cfer/auster/cli/_shared" module Cfer module Auster module CLI def self.destroy Cri::Command.define do name "destroy" usage "destroy aws-region/config-set count-or-tag" description "Destroys this Auster step in your AWS account." CLI.standard_options(self) run do |opts, args, cmd| if args.length < 2 puts cmd.help exit 1 else CLI.repo_from_options(opts) do |repo| config_set = repo.config_set(args[0]) step = repo.step_by_count_or_tag(args[1]) step.destroy(config_set) end end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
auster-0.2.2 | lib/cfer/auster/cli/destroy.rb |