Sha256: 0ed7ba0d5ec94b108ace9e39c25e3b13fae88907ef255e9f03055e98d65705c5
Contents?: true
Size: 976 Bytes
Versions: 1
Compression:
Stored size: 976 Bytes
Contents
#!/usr/local/bin/ruby TRYOUTS_HOME = File.expand_path(File.join(File.dirname(__FILE__), '..')) local_libs = %w{tryouts net-scp amazon-ec2 aws-s3 caesars drydock rye storable sysinfo annoy} local_libs.each { |dir| $:.unshift File.join(TRYOUTS_HOME, '..', dir, 'lib') } require 'drydock' require 'tryouts' require 'tryouts/cli' # = TryoutsCLI # # This is the Drydock definition for the bin/tryouts executable module TryoutsCLI extend Drydock debug :on default :run, :with_args global :q, :quiet, "Decrease output" global :v, :verbose, "Increase output" do @verbose ||= 0 @verbose += 1 end about "Run tryouts from current working directory" argv :files command :run => Tryouts::CLI::Run about "Show dreams available from the current working directory" argv :files command :dreams => Tryouts::CLI::Run about "Show tryouts available from the current working directory" argv :files command :list => Tryouts::CLI::Run end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tryouts-0.4.0 | bin/tryouts |