lib/conjur/command/variables.rb in conjur-cli-2.1.2 vs lib/conjur/command/variables.rb in conjur-cli-2.1.3
- old
+ new
@@ -28,10 +28,10 @@
display(api.variable(id), options)
end
end
desc "Add a value"
- arg_name "variable value"
+ arg_name "variable ( value | STDIN )"
command :"values:add" do |c|
c.action do |global_options,options,args|
id = require_arg(args, 'variable')
value = args.shift || STDIN.read