Sha256: 11bfbb87bd296ce1173b003479ad9a6e5b46d27f4aa50b3dd259c06fc83d29f1

Contents?: true

Size: 1021 Bytes

Versions: 43

Compression:

Stored size: 1021 Bytes

Contents

#!/bin/ruby

require 'bundler/setup'
require 'henry'
require 'trollop'

Dir["./lib/*.rb"].each {|file| require file }

opts = Trollop::options do
  version "herny-ruby-container #{Henry::Container::VERSION} - 2012 John Henry Eden"
  banner <<-BANNER
The Ruby Container for Henry. 

Usage:
    execute [options]

where [options] are:
BANNER

  opt :out, "Custom name for the results file.", :default => 'out.henry'
  opt :"out-dir", "Custom dir path where the results will be written", :default => '.'  
  opt :in, "Custom name for the input file.", :default => 'in.henry'
  opt :"in-dir", "Custom dir path where the input will be read from.", :default => '.'
  opt :hints, "Custom name for the task hints (tasks to be executed) file.", :default => 'hints.henry'
  opt :"hints-dir", "Custom dir path where the task hints (tasks to be executed) will be read from.", :default => '.'
  opt :"output-dir", "Custom dir path where the task output files will be stored.", :default => '.' 
end

Henry::Container.new(opts).execute

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
henry-container-0.1.80 bin/henry-ruby-container
henry-container-0.1.79 bin/henry-ruby-container
henry-container-0.1.78 bin/henry-ruby-container
henry-container-0.1.77 bin/henry-ruby-container
henry-container-0.1.76 bin/henry-ruby-container
henry-container-0.1.75 bin/henry-ruby-container
henry-container-0.1.74 bin/henry-ruby-container
henry-container-0.1.73 bin/henry-ruby-container
henry-container-0.1.72 bin/henry-ruby-container
henry-container-0.1.71 bin/henry-ruby-container
henry-container-0.1.70 bin/henry-ruby-container
henry-container-0.1.69 bin/henry-ruby-container
henry-container-0.1.68 bin/henry-ruby-container
henry-container-0.1.67 bin/henry-ruby-container
henry-container-0.1.66 bin/henry-ruby-container
henry-container-0.1.65 bin/henry-ruby-container
henry-container-0.1.64 bin/henry-ruby-container
henry-container-0.1.63 bin/henry-ruby-container
henry-container-0.1.62 bin/henry-ruby-container
henry-container-0.1.61 bin/henry-ruby-container