lib/terraspace/compiler/commands_concern.rb in terraspace-0.6.23 vs lib/terraspace/compiler/commands_concern.rb in terraspace-0.7.0

- old
+ new

@@ -1,14 +1,6 @@ module Terraspace::Compiler module CommandsConcern - def requires_backend? - command_is?(requires_backend_commands) - end - - def requires_backend_commands - %w[down init output plan providers refresh show up validate] - end - def command_is?(*commands) commands.flatten! commands.map!(&:to_s) commands.include?(Terraspace.argv[0]) || # IE: terraspace up Terraspace.argv[0] == "all" && commands.include?(Terraspace.argv[1]) # IE: terraspace all up