lib/cloudstack-cli/commands/stack.rb in cloudstack-cli-0.1.0 vs lib/cloudstack-cli/commands/stack.rb in cloudstack-cli-0.1.1

- old
+ new

@@ -1,8 +1,14 @@ class Stack < CloudstackCli::Base desc "create STACKFILE", "create a stack of servers" - def create(stackfile) - # TODO + def create(stack_file) + #begin + stack = JSON.parse(File.read(stack_file)) + #rescue Exception => e + $stderr.puts "Can't find the stack file #{stack_file}." + exit + #end + p stack end end \ No newline at end of file