lib/cloudstack-cli/commands/project.rb in cloudstack-cli-0.0.1 vs lib/cloudstack-cli/commands/project.rb in cloudstack-cli-0.0.2
- old
+ new
@@ -1,9 +1,9 @@
class Project < Thor
desc "list", "list projects"
def list
- cs_cli = CloudstackCli::Helper.new
+ cs_cli = CloudstackCli::Helper.new(options[:config])
projects = cs_cli.projects
if projects.size < 1
puts "No projects found"
else
projects.each do |project|
\ No newline at end of file