commit | 069ca8b3f02f94959c643bea83c1bd67d2b7385e | [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 | 9fd6c1c02d3f54a75f820a2fec353c753d90706d [diff] [blame] |
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