Sha256: 7b939b55d73ea1db1db729a10833cc81d3dfdaa93e2e1aebac7828a2851e9f4b
Contents?: true
Size: 891 Bytes
Versions: 3
Compression:
Stored size: 891 Bytes
Contents
#!/usr/bin/env ruby require "rubygems" require "yaml" require "zip/zip" require "net/scp" require "net/ssh" require "fileutils" require "optparse" require File.dirname(File.expand_path(__FILE__))+"/../lib/traquitana.rb" @options = {:verbose=>false} opts = OptionParser.new opts.banner = "Usage: traq [options] <setup>" opts.on("-v","--version","Show version") do puts Traquitana::VERSION exit 0 end opts.on("-c","--cleanup","Clean up old files") do Traquitana::Cleaner.new.run exit 0 end opts.on("-V","--verbose","Verbose mode") do @options[:verbose] = true end opts.on("-f","--file file","Config file") do |file| @options[:filename] = file end opts.on("-t","--target target","Target") do |target| @options[:target] = target end opts.parse! if ARGV[0] =~ /setup/ Traquitana::Config.instance.setup else Traquitana::Deployer.new(@options).run end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
traquitana-0.0.17 | bin/traq |
traquitana-0.0.16 | bin/traq |
traquitana-0.0.15 | bin/traq |