Permalink
Browse files

new skel

  • Loading branch information...
1 parent 387e5ca commit 60897543dcd60f58a91a900d889a468fbb91ddf9 @fiorix committed Dec 11, 2012
Showing with 7 additions and 3 deletions.
  1. +7 −3 cyclone/app.py
View
10 cyclone/app.py
@@ -83,7 +83,11 @@ def usage(version, target):
-s --set-pkg-version Set version on package name [default: False]
-t --target=PATH Set path where project is created [default: %s]
-l --license=FILE Append the following license file [default: Apache 2]
- -f --foreman Create a foreman based project \
+ -s --appskel=SKEL Set the application skeleton [default: default]
+
+Appskel:
+ default Basic cyclone project
+ foreman Create a foreman based project \
(suited to run on heroku and other PaaS)
""" % (version, target))
sys.exit(0)
@@ -99,7 +103,7 @@ def main():
license_file = None
skel = "default"
- shortopts = "hgsp:m:v:t:l:s"
+ shortopts = "hgsp:m:v:t:l:a:"
longopts = ["help", "git", "set-pkg-version",
"project=", "modname=", "version=", "target=", "license=",
"appskel="]
@@ -133,7 +137,7 @@ def main():
elif o in ("-l", "--license"):
license_file = a
- elif o in ("-s", "--appskel"):
+ elif o in ("-a", "--appskel"):
if a in ("default", "foreman"):
skel = a
else:

0 comments on commit 6089754

Please sign in to comment.