Sha256: 19dd89e0da1e4fd858051d869b121573246ff1ab376376b3fb3aee6fd59ddb9c
Contents?: true
Size: 659 Bytes
Versions: 5
Compression:
Stored size: 659 Bytes
Contents
#!/usr/bin/env ruby require 'proboscis_cli' if(ARGV.empty? || ARGV.size > 5) puts "Usage proboscis <qa|prod> <subdomain> <server|worker> <b|i|c>" exit end environment = ARGV[0].downcase subdomain = ARGV[1].downcase target = ARGV[2].downcase type = ARGV[3].downcase subpath = 'araneae' if not ARGV[4].nil? subpath = ARGV[4].downcase end if((%w(qa prod).select {|e| e == environment}).empty? || (%w(server worker).select {|e| e == target}).empty? || (%w(b i c).select {|e| e == type}).empty?) puts "Usage proboscis <qa|prod> <subdomain> <server|worker> <b|i|c>" exit end Proboscis.connect(environment, subdomain, target, type, subpath=subpath)
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
proboscis_cli-0.1.2 | bin/proboscis |
proboscis_cli-0.1.1 | bin/proboscis |
proboscis_cli-0.1.0 | bin/proboscis |
proboscis_cli-0.0.9 | bin/proboscis |
proboscis_cli-0.0.8 | bin/proboscis |