lib/cloudstack-cli/commands/account.rb in cloudstack-cli-0.0.1 vs lib/cloudstack-cli/commands/account.rb in cloudstack-cli-0.0.2

- old
+ new

@@ -1,9 +1,9 @@ class Account < Thor desc 'list [NAME]', 'list accounts' def list(name = nil) - cs_cli = CloudstackCli::Helper.new + cs_cli = CloudstackCli::Helper.new(options[:config]) accounts = cs_cli.list_accounts(name) if accounts.size < 1 puts "No accounts found" else accounts.each do |account| \ No newline at end of file