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.40 bin/henry-ruby-container
henry-container-0.1.39 bin/henry-ruby-container
henry-container-0.1.38 bin/henry-ruby-container