aboutsummaryrefslogtreecommitdiff
path: root/bcst/args.py
diff options
context:
space:
mode:
Diffstat (limited to 'bcst/args.py')
-rw-r--r--bcst/args.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bcst/args.py b/bcst/args.py
index 6ae54bf..993c9ed 100644
--- a/bcst/args.py
+++ b/bcst/args.py
@@ -3,7 +3,9 @@
import argparse
args_parser = argparse.ArgumentParser()
-args_parser.add_argument("resource", help="A JSON resource file.")
-args_parser.add_argument("destination", help="Start page folder name.")
+args_parser.add_argument("resource", nargs="?", help="A JSON resource file.")
+args_parser.add_argument("destination", nargs="?",help="Start page folder name.")
+args_parser.add_argument("-l","--list", dest="list",action="store_true", help="List available themes.")
+args_parser.add_argument("-e","--extract", metavar="theme",dest="extract", help="Extract theme resource.")
args = args_parser.parse_args()