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.60 bin/henry-ruby-container
henry-container-0.1.59 bin/henry-ruby-container
henry-container-0.1.58 bin/henry-ruby-container
henry-container-0.1.57 bin/henry-ruby-container
henry-container-0.1.56 bin/henry-ruby-container
henry-container-0.1.55 bin/henry-ruby-container
henry-container-0.1.54 bin/henry-ruby-container
henry-container-0.1.53 bin/henry-ruby-container
henry-container-0.1.52 bin/henry-ruby-container
henry-container-0.1.51 bin/henry-ruby-container
henry-container-0.1.50 bin/henry-ruby-container
henry-container-0.1.49 bin/henry-ruby-container
henry-container-0.1.48 bin/henry-ruby-container
henry-container-0.1.47 bin/henry-ruby-container
henry-container-0.1.46 bin/henry-ruby-container
henry-container-0.1.45 bin/henry-ruby-container
henry-container-0.1.44 bin/henry-ruby-container
henry-container-0.1.43 bin/henry-ruby-container
henry-container-0.1.42 bin/henry-ruby-container
henry-container-0.1.41 bin/henry-ruby-container