Browse Source

feat: add multi-page-gui template to scaffold cli (#202)

Đỗ Trường Giang 1 year ago
parent
commit
f62921cfe5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/taipy/_cli/_scaffold_cli.py

+ 2 - 1
src/taipy/_cli/_scaffold_cli.py

@@ -22,6 +22,7 @@ class _ScaffoldCLI:
 
     _TEMPLATE_MAP = {
         "default": str(__TAIPY_PATH / "taipy-default-template"),
+        "multi-page-gui": str(__TAIPY_PATH / "multi-page-gui"),
     }
 
     @classmethod
@@ -29,7 +30,7 @@ class _ScaffoldCLI:
         create_parser = _CLI._add_subparser("create", help="Create a new Taipy application.")
         create_parser.add_argument(
             "--template",
-            choices=["default"],
+            choices=["default", "multi-page-gui"],
             default="default",
             help="The Taipy template to create new application.",
         )