Sha256: 9826a44889649c1f1b5a447584d49e7f8594589fe1494b295f3c89fffb5a785a

Contents?: true

Size: 579 Bytes

Versions: 6

Compression:

Stored size: 579 Bytes

Contents

#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../lib/purple_shoes'

arg = ARGV[0]
path = File.expand_path(arg.gsub(/\\/, "/")) if arg
ARGV[0] = path

case arg
when '-m', '-men'
  Shoes.show_manual
when '-mjp'
  Shoes.show_manual 'Japanese'
when '-h', nil
  puts "Usage: pshoes (options or app.rb)
  -m, -men     Open the built-in English manual.
  -mjp         Open the built-in Japanese manual.
  -v           Display the version info.
  -h           Show this message."
when '-v'
  puts IO.read File.join(DIR, '../VERSION')
else
  load path
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
purple_shoes-0.7.166 bin/pshoes
purple_shoes-0.6.153 bin/pshoes
purple_shoes-0.5.149 bin/pshoes
purple_shoes-0.0.126 bin/pshoes
purple_shoes-0.0.115 bin/pshoes
purple_shoes-0.0.101 bin/pshoes