public
Description: A Ruby web application framework
Homepage: http://www.mackframework.com
Clone URL: git://github.com/markbates/mack.git
Search Repo:
Click here to lend your support to: mack and make a donation at www.pledgie.com !
Added options banner to mack_ring_server.
markbates (author)
Wed Apr 16 18:04:52 -0700 2008
commit  a716b351a7295db03511c2715fbc8da34ca785f0
tree    334f154aab0d22480c116c64e6f948802eebfb32
parent  3661b06d42bfbe42bebc41822bb9c72f276fe659
...
3
4
5
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
8
9
...
3
4
5
 
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
0
@@ -3,7 +3,25 @@ require 'rubygems'
0
 require 'daemons'
0
 require 'rinda/ring'
0
 require 'rinda/tuplespace'
0
-require 'fileutils'
0
+require 'fileutils'
0
+require 'optparse'
0
+require 'optparse/time'
0
+require 'ostruct'
0
+
0
+options = OpenStruct.new
0
+opts = OptionParser.new do |opts|
0
+ opts.banner = <<-BANNER
0
+Usage: mack_ring_server <command>
0
+Available commands are:
0
+
0
+- start
0
+- stop
0
+- restart
0
+
0
+BANNER
0
+end
0
+
0
+opts.parse!(ARGV)
0
 
0
 FileUtils.mkdir_p(File.join("tmp", "pids"))
0
 

Comments

    No one has commented yet.