diff --git a/persoconf/main.py b/persoconf/main.py index f08a73f..3887468 100755 --- a/persoconf/main.py +++ b/persoconf/main.py @@ -178,6 +178,7 @@ parser_help = subparsers.add_parser("help", help="Print this help") # Package parser_package = subparsers.add_parser("package", help="Package a persoconf repository") parser_package.add_argument( "apps", type=str, help="The apps to package ; defaults to all apps", nargs="*", default=[] ) +parser_package.add_argument( "type", type=str, help="The type of package to use", nargs="?", default="tar", choices = [ "tar" ] ) # Update parser_update = subparsers.add_parser("update", help="Backup an app configuration in the persoconf directory with the configuration in use now") @@ -377,4 +378,7 @@ if args.command == "update": else: log.warning("Failed to update %s from %s ; ignoring" % (f, appmeta.files[f]["dest"])) +# PACKAGE COMMAND +######################################## + ########################################