Sha256: 4cc30d9f796b2aaffa413c418686b756ef22ec74929eadeb4e357558bfea570a

Contents?: true

Size: 494 Bytes

Versions: 2

Compression:

Stored size: 494 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

2 entries across 2 versions & 1 rubygems

Version Path
pvcglue-0.1.26 bin/pvc
pvcglue-0.1.25 bin/pvc