Sha256: 246eb8663fa940e6c73277560039abdf7dbb493430fd982a7382f44596f970ff
Contents?: true
Size: 734 Bytes
Versions: 2
Compression:
Stored size: 734 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 Pvcglue.logger.info('Starting up...') Pvcglue.logger.debug { ARGV.inspect } # puts Benchmark.measure { Pvcglue::CLI.start } # pvc_puts.warn("----- Done #{Benchmark.measure { Pvcglue::CLI.start }}") Pvcglue.logger.info("----- Done #{Benchmark.measure { Pvcglue::CLI.start }}")
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pvcglue-0.9.1 | bin/pvc |
pvcglue-0.9.0 | bin/pvc |