lib/cloudstack-cli/cli.rb in cloudstack-cli-0.7.3 vs lib/cloudstack-cli/cli.rb in cloudstack-cli-0.7.4

- old
+ new

@@ -22,11 +22,12 @@ say "cloudstack-cli version #{CloudstackCli::VERSION}" end map %w(-v --version) => :version desc "setup", "initial configuration of Cloudstack connection settings" - def setup - invoke "environment:add", :environment => options[:environment] + def setup(env = options[:environment]) + invoke "environment:add", [env], + :config_file => options[:config_file] end desc "command COMMAND [arg1=val1 arg2=val2...]", "run a custom api command" def command(command, *args) params = {'command' => command} \ No newline at end of file