Sha256: 238abfdd6c9ecc3ee8562cdc92ab7f35cbceeb9920e0691364b84123581de5f8

Contents?: true

Size: 412 Bytes

Versions: 5

Compression:

Stored size: 412 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'
require_relative '../options/common'

module RubyTerraform
  module Commands
    class ForceUnlock < Base
      include RubyTerraform::Options::Common

      def subcommands
        %w[force-unlock]
      end

      def options
        %w[-force] + super
      end

      def arguments(parameters)
        [parameters[:lock_id]]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-terraform-0.65.0.pre.14 lib/ruby_terraform/commands/force_unlock.rb
ruby-terraform-0.65.0.pre.13 lib/ruby_terraform/commands/force_unlock.rb
ruby-terraform-0.65.0.pre.12 lib/ruby_terraform/commands/force_unlock.rb
ruby-terraform-0.65.0.pre.11 lib/ruby_terraform/commands/force_unlock.rb
ruby-terraform-0.65.0.pre.10 lib/ruby_terraform/commands/force_unlock.rb