A command has a name, an option parser and a dictionary of sub commands it can call.
Create an empty json document (containing just an _id) in the _docs folder of the application root.
Copy a remote CouchApp into the working directory.
Vendors are generators that download external code into the right place. The code is held in kanso packages, and situp assumes that these have been correctly built.
Write a post commit git hook such that situp.py push is called after git commit.
Create an empty html document in the _attachments folder of the specified design document. TODO: include script tags for all vendors in generated html.
LocatedFile(path, filename)
itemgetter(item, ...) –> itemgetter object
Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])
itemgetter(item, ...) –> itemgetter object
Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])
Package(url, filter)
itemgetter(item, ...) –> itemgetter object
Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])
itemgetter(item, ...) –> itemgetter object
Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])
The Push command sends the application to the CouchDB server. Specify a design to push only a single design document, otherwise all designs in the app will be pushed.