commit | c57ddccebe3f6d2347dafa472c03af02a41f906f | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Mon Feb 16 23:34:48 2015 -0800 |
committer | Scott Baker <smbaker@gmail.com> | Mon Feb 16 23:34:48 2015 -0800 |
tree | 188ccc1a63143122253e152b4e17873aeac95a36 | |
parent | 27a9a64a2764a3506d1bbaab113e37278aee48f5 [diff] |
add 'generateapi' command to regenerate the rest api
diff --git a/planetstack/scripts/opencloud b/planetstack/scripts/opencloud index d460312..893bc16 100755 --- a/planetstack/scripts/opencloud +++ b/planetstack/scripts/opencloud
@@ -168,3 +168,6 @@ if [ "$COMMAND" = "genkeys" ]; then genkeys fi +if [ "$COMMAND" = "generateapi" ]; then + python apigen/modelgen apigen/api.template.py > genapi.py +fi \ No newline at end of file