diff --git a/lokrez/__init__.py b/lokrez/__init__.py index 9b67506..8f48964 100644 --- a/lokrez/__init__.py +++ b/lokrez/__init__.py @@ -103,6 +103,12 @@ def main(): default = "rebootlyon2020", help = "The local result template to use", ) + top8_parser.add_argument( + "--template-options", "-O", + action = "append", + default = [], + help = "Template-specific options", + ) top8_parser.add_argument( "--lkrz-file", "-f", type = pathlib.Path, @@ -287,6 +293,8 @@ def main(): key = lambda p: p.placement, ), "dir_res_ssbu": dir_res_ssbu, + "dir_template": str(args.templatesdir / args.template), + "options": args.template_options, } rv = export.generate_outfile(