equal
deleted
inserted
replaced
16 |
16 |
17 """This module supplies an interactive shell with remote api configured. |
17 """This module supplies an interactive shell with remote api configured. |
18 |
18 |
19 Usage is simple: |
19 Usage is simple: |
20 |
20 |
21 App Engine interactive console for srabbelier-melange |
21 App Engine interactive console |
22 >>> from soc.models.user import User |
22 >>> from soc.models.user import User |
23 >>> gen = lambda: User.all() |
23 >>> gen = lambda: User.all() |
24 >>> it = deepFetch(gen) |
24 >>> it = deepFetch(gen) |
25 >>> result = [i for i in it] |
25 >>> result = [i for i in it] |
26 """ |
26 """ |
134 if len(sys.argv) < 2: |
134 if len(sys.argv) < 2: |
135 print "Usage: %s app_id [host]" % (sys.argv[0],) |
135 print "Usage: %s app_id [host]" % (sys.argv[0],) |
136 sys.exit(1) |
136 sys.exit(1) |
137 |
137 |
138 main(sys.argv[1:]) |
138 main(sys.argv[1:]) |
139 |
|