lib/couch/commands.rb in couch-0.0.4 vs lib/couch/commands.rb in couch-0.1.0
- old
+ new
@@ -7,10 +7,11 @@
The most common couch commands are:
generate Generate new code (short-cut alias: "g")
push Push application code to CouchDB
pull Pull latest application code from CouchDB
+ routes List application urls
In addition to those, there are:
destroy Undo code generated with "generate"
All commands can be run with -h for more information.
@@ -24,9 +25,11 @@
require 'couch/commands/destroy'
when 'push'
require 'couch/commands/push'
when 'pull'
require 'couch/commands/pull'
+when 'routes'
+ require 'couch/commands/routes'
when '--help', '-h'
puts HELP_TEXT
when '--version', '-v'
require 'couch/version'