Sha256: 2f3b728494f6d5244b67428fcf9b0ed74a2be6e380176925b4d79b5faf61baf6
Contents?: true
Size: 537 Bytes
Versions: 2
Compression:
Stored size: 537 Bytes
Contents
class InfrastructureStack < CloudstackCli::Base desc "create STACKFILE", "create a infrastructure stack" def create(stackfile) puts stack = parse_file(stackfile) say "Create '#{stack["name"]}' infrastructure stack...", :green create_domains(stack['domains']) say "Finished.", :green end desc "destroy STACKFILE", "destroy a infrastructure stack" def destroy(stackfile) end no_commands do def create_domains(domains) domains.each do |domain| puts domain end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cloudstack-cli-1.0.0.rc3 | lib/cloudstack-cli/commands/infrastructure_stack.rb |
cloudstack-cli-1.0.0.rc2 | lib/cloudstack-cli/commands/infrastructure_stack.rb |