Sha256: 6891703bda06698002414b6cddfbb52c36a6bfc5131d4c20bc066305c3e44a31

Contents?: true

Size: 495 Bytes

Versions: 8

Compression:

Stored size: 495 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[local 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

Pvcglue::CLI.start
puts "----- Done -----"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pvcglue-0.1.24 bin/pvc
pvcglue-0.1.23 bin/pvc
pvcglue-0.1.22 bin/pvc
pvcglue-0.1.21 bin/pvc
pvcglue-0.1.20 bin/pvc
pvcglue-0.1.19 bin/pvc
pvcglue-0.1.18 bin/pvc
pvcglue-0.1.17 bin/pvc