Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (12 sloc) 248 Bytes
#! /usr/bin/env ruby
ENV['HENZELL_SQL_QUERIES'] = 'y'
CMD = ARGV[0] || 'listgame.rb'
while true
print "!lg: "
a = STDIN.gets
break unless a
cmd = "!lg " + a.chomp
puts cmd
system "./commands/#{CMD} '' 'greensnark' '#{cmd}'"
puts
end