Skip to content

Commit

Permalink
new skel
Browse files Browse the repository at this point in the history
  • Loading branch information
fiorix committed Dec 11, 2012
1 parent 387e5ca commit 6089754
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions cyclone/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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="]
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 6089754

Please sign in to comment.