Sha256: c8e0c36243fd07201d8b0efdedb3231f01352e2eb28ee4ac301a2a380bf82c29

Contents?: true

Size: 539 Bytes

Versions: 3

Compression:

Stored size: 539 Bytes

Contents

#!/usr/bin/env ruby

require File.dirname(__FILE__) + '/../lib/erlapi'

require 'optparse'

options = {}
OptionParser.new do |opts|
  opts.banner = "Usage: erlapi -o [output_dir] -s [source_dir]"

  opts.on("-o", "--output OUTPUT_DIR", "Output dir") do |o|
    options[:output_dir] = o
  end
  
  opts.on("-s", "--source SOURCE_DIR", "Source dir with erlang docs") do |s|
    options[:source_dir] = s
  end
  
  opts.on_tail("-h", "--help", "Show this message") do
     puts opts
     exit
   end
  
end.parse!

Erlapi::Cmd.start!(options)

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
prepor-erlapi-0.1.8 bin/erlapi
prepor-erlapi-0.1.9 bin/erlapi
erlapi-0.1.9 bin/erlapi