root/lang/ruby/said/trunk/hey
| Revision 4028, 176 bytes (checked in by ujihisa, 2 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/usr/bin/env ruby |
| 2 | $: << File.dirname(__FILE__) |
| 3 | require 'lib/hey' |
| 4 | |
| 5 | if ARGV.length == 0 |
| 6 | puts "usage: hey <host> [<message>]" |
| 7 | exit! |
| 8 | end |
| 9 | |
| 10 | Hey.run ARGV.shift, ARGV.join(' ') |
Note: See TracBrowser
for help on using the browser.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)