Sha256: 6ed8321cdf85cb9ca29c8b17734d652b6b3063114492cb6365b6335a7d529c2b

Contents?: true

Size: 600 Bytes

Versions: 1

Compression:

Stored size: 600 Bytes

Contents

#!/usr/bin/env ruby

require File.expand_path(
    File.join(File.dirname(__FILE__), %w[.. lib roo]))
require 'rubygems'
require 'choice'

Choice.options do
	header ''
	header 'Options:'
	option :help do
		long '--help'
		desc 'Show this message'
	end
	option :version do
		short '-v'
		long '--version'
		desc 'Show version'
		action do
			puts "Roo v#{Roo::VERSION}"
			exit
		end
	end
	option :info do
		short '-i'
		long '--info <spreadsheetfile>'
		desc 'Show information about a spreadsheet file'
		action do
			p Choice.choices
			puts 'Filename: '+Choice.choices['info']
		end
	end
end
# EOF

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roo-1.9.7 bin/roo