Sha256: bac507cf8a5f566fbeb2c9bced19d4d50495db4a8b57f14953d4fc64dfaf8de6
Contents?: true
Size: 555 Bytes
Versions: 15
Compression:
Stored size: 555 Bytes
Contents
#!/usr/bin/env ruby require 'gitlab/qa' require 'optparse' options = OptionParser.new do |opts| opts.banner = 'Usage: gitlab-qa [options] Scenario URL [[--] path] [rspec_options]' opts.on('-v', '--version', 'Show the version') do require 'gitlab/qa/version' puts "#{$PROGRAM_NAME} : #{Gitlab::QA::VERSION}" exit end opts.on('-h', '--help', 'Show the usage') do puts opts exit end opts.parse! end if ARGV.size >= 1 Gitlab::QA::Scenario .const_get(ARGV.shift) .perform(*ARGV) else puts options exit 1 end
Version data entries
15 entries across 15 versions & 1 rubygems