lib/onering/cli.rb in onering-client-0.0.57 vs lib/onering/cli.rb in onering-client-0.0.58

- old
+ new

@@ -9,11 +9,12 @@ @_args = cliargs return Onering::API.new({ 'autoconnect' => cliargs[:autoconnect], 'config' => { - 'url' => cliargs[:url], - 'path' => cliargs[:path], + 'url' => cliargs[:url], + 'path' => cliargs[:path], + 'params' => Hash[(cliargs[:param] || []).collect{|i| i.split('=',2) }], 'authentication' => { 'type' => (cliargs[:apikey_given] ? :token : nil), 'keyfile' => (cliargs[:apikey] || cliargs[:sslkey]) }.compact }.compact \ No newline at end of file