lib/terradactyl/terraform/commands/init.rb in terradactyl-terraform-0.13.0 vs lib/terradactyl/terraform/commands/init.rb in terradactyl-terraform-0.15.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module Terradactyl
module Terraform
- module Rev011
+ module Subcommands
module Init
def defaults
{
'backend' => true,
'backend-config' => nil,
@@ -31,12 +31,20 @@
]
end
end
end
- module Rev012
+ module Rev015
module Init
- include Rev011::Init
+ include Terradactyl::Terraform::Subcommands::Init
+
+ def defaults
+ super.reject { |k, _v| k == 'lock' }
+ end
+
+ def arguments
+ super.reject { |k, _v| k == 'lock' }
+ end
end
end
module Commands
class Init < Base