Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (17 sloc) 292 Bytes
#!/usr/bin/env ruby
case ARGV[0]
when "start"
STDOUT.puts "called start"
when "stop"
STDOUT.puts "called stop"
when "restart"
STDOUT.puts "called restart"
else
STDOUT.puts <<-EOF
Please provide command name
Usage:
tradition start
tradition stop
tradition restart
EOF
end