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

Version Path
pvcglue-0.1.39 bin/pvc
pvcglue-0.1.38 bin/pvc
pvcglue-0.1.37 bin/pvc
pvcglue-0.1.36 bin/pvc
pvcglue-0.1.35 bin/pvc
pvcglue-0.1.34 bin/pvc
pvcglue-0.1.33 bin/pvc
pvcglue-0.1.32 bin/pvc
pvcglue-0.1.31 bin/pvc
pvcglue-0.1.30 bin/pvc
pvcglue-0.1.29 bin/pvc
pvcglue-0.1.28 bin/pvc
pvcglue-0.1.27 bin/pvc