Sha256: 9bc592d1885322faa247ab08b917a95bd0a0435c61e4377c87646ddbd678389a
Contents?: true
Size: 588 Bytes
Versions: 13
Compression:
Stored size: 588 Bytes
Contents
#!/usr/bin/env ruby require 'pvcglue/cli' require 'benchmark' # Allow use of Capistrano style environment syntax and convert to 'standard' syntax # Example: `pvc production bootstrap` ==> `pvc bootstrap --stage=production` # TODO: refactor to use a list of user specified environments if ARGV.count >= 2 && %w[local vmtest test alpha beta gamma delta preview production staging all].include?(ARGV[0]) ARGV[0], ARGV[1] = ARGV[1], "--stage=#{ARGV[0]}" end # puts ARGV.inspect # puts Benchmark.measure { Pvcglue::CLI.start } puts "----- Done #{Benchmark.measure { Pvcglue::CLI.start }}"
Version data entries
13 entries across 13 versions & 1 rubygems