Sha256: 808593ba563773894d3a1e151af91120c9de6b92bdd612f0988e0af1742779f1
Contents?: true
Size: 1.75 KB
Versions: 2
Compression:
Stored size: 1.75 KB
Contents
# frozen_string_literal: true module Terradactyl module Terraform module Subcommands module Destroy def defaults { 'backup' => nil, 'auto-approve' => false, 'force' => false, 'lock' => true, 'lock-timeout' => '0s', 'no-color' => false, 'parallelism' => 10, 'refresh' => true, 'state' => 'terraform.tfstate', 'state-out' => nil, # 'target' => [], # not implemented # 'var' => [], # not implemented 'var-file' => nil } end def switches %w[ auto-approve force no-color ] end end end module Rev015 module Destroy include Terradactyl::Terraform::Subcommands::Destroy def defaults super.reject { |k, _v| k == 'force' } end def switches super.reject { |e| e == 'force' } end def arguments super.reject { |k, _v| k == 'force' } end end end module Rev1_00 module Destroy include Terradactyl::Terraform::Rev015::Destroy end end module Rev1_01 module Destroy include Terradactyl::Terraform::Rev015::Destroy end end module Rev1_02 module Destroy include Terradactyl::Terraform::Rev015::Destroy end end module Rev1_03 module Destroy include Terradactyl::Terraform::Rev015::Destroy end end module Rev1_04 module Destroy include Terradactyl::Terraform::Rev015::Destroy end end module Commands class Destroy < Base end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
terradactyl-terraform-1.4.1 | lib/terradactyl/terraform/commands/destroy.rb |
terradactyl-terraform-1.4.0 | lib/terradactyl/terraform/commands/destroy.rb |