Sha256: cff251f1e08334ad07712ef8327cf2d88feef45f3d6b726757d72d3546cd9b65
Contents?: true
Size: 460 Bytes
Versions: 3
Compression:
Stored size: 460 Bytes
Contents
#!/usr/bin/env ruby require 'pvcglue/cli' # 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[alpha beta gamma delta preview production staging all].include?(ARGV[0]) ARGV[0], ARGV[1] = ARGV[1], "--stage=#{ARGV[0]}" end # puts ARGV.inspect Pvcglue::CLI.start
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pvcglue-0.1.7 | bin/pvc |
pvcglue-0.1.6 | bin/pvc |
pvcglue-0.1.5 | bin/pvc |