Sha256: 2a9204013d23dec67c3dc5701df17d783b9c22168280e938ab76bf00d5852546
Contents?: true
Size: 705 Bytes
Versions: 1
Compression:
Stored size: 705 Bytes
Contents
# frozen_string_literal: true require_relative 'base' module RubyTerraform module Commands class Destroy < Base def options %w[ -auto-approve -backup -force -no-color -state -target -var -var-file ] end def subcommands(_parameters) %w[destroy] end def arguments(parameters) [parameters[:directory]] end def parameter_defaults(_parameters) { vars: {}, var_files: [], targets: [] } end def parameter_overrides(parameters) { backup: parameters[:no_backup] ? '-' : parameters[:backup] } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-terraform-0.65.0.pre.9 | lib/ruby_terraform/commands/destroy.rb |