Sha256: 0e41a98224df1f875342608f146d3924df379dee0a64e46dec953965a1343557
Contents?: true
Size: 401 Bytes
Versions: 36
Compression:
Stored size: 401 Bytes
Contents
class Ufo::CLI class Cancel < Base def run are_you_sure? stack = Ufo::Cfn::Stack.new(@options) stack.cancel stack.status.wait end def are_you_sure? if @options[:yes] logger.info "Canceling the #{@stack_name.color(:green)} stack" else sure?("You are about to cancel the #{@stack_name.color(:green)} stack") end end end end
Version data entries
36 entries across 36 versions & 1 rubygems