CouchDB design document uploader
CouchDesign is dependent on SpiderMonkey and Ruby 1.9
$ gem build couchdesign.gemspec
$ sudo gem install couchdesign-x.x.x.gem
$ couchdesign <file> <database> [<host>=localhost] [<port>=5984]
To force a update in case of a conflict
$ couchdesign -f <file> <database> [<host>=localhost] [<port>=5984]
To get a help text
$ couchdesign -h
CouchDesign stores a revision file containing the new revision number after an upload. The naming scheme for this file is as follows
<host>__<port>__<database>__<file>.rev