lib/ruby_terraform/commands/output.rb in ruby-terraform-0.45.0.pre.pre.1 vs lib/ruby_terraform/commands/output.rb in ruby-terraform-0.45.0.pre.pre.2
- old
+ new
@@ -13,14 +13,16 @@
def configure_command(builder, opts)
name = opts[:name]
state = opts[:state]
no_color = opts[:no_color]
+ json = opts[:json]
mod = opts[:module]
builder = builder
.with_subcommand('output') do |sub|
sub = sub.with_flag('-no-color') if no_color
+ sub = sub.with_flag('-json') if json
sub = sub.with_option('-state', state) if state
sub = sub.with_option('-module', mod) if mod
sub
end
builder = builder.with_argument(name) if name