lib/ruby_terraform/commands/output.rb in ruby-terraform-0.65.0.pre.9 vs lib/ruby_terraform/commands/output.rb in ruby-terraform-0.65.0.pre.10

- old
+ new

@@ -1,30 +1,32 @@ # frozen_string_literal: true require 'stringio' require_relative 'base' +require_relative '../options/common' module RubyTerraform module Commands class Output < Base + include RubyTerraform::Options::Common + def initialize_command return if defined?(@stdout) && @stdout.respond_to?(:string) @stdout = StringIO.new end + def subcommands + %w[output] + end + def options %w[ -json - -module - -no-color -raw + -no-color -state - ] - end - - def subcommands(_parameters) - %w[output] + ] + super end def arguments(parameters) [parameters[:name]] end