Bläddra i källkod

Merge pull request #269 from Avaiga/fix/#268-wrong-taipy-create-message

Fix/#268 - Remove the taipy create post-message
Đỗ Trường Giang 1 år sedan
förälder
incheckning
bc345b35d0
1 ändrade filer med 1 tillägg och 7 borttagningar
  1. 1 7
      src/taipy/_cli/_scaffold_cli.py

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

@@ -38,11 +38,5 @@ class _ScaffoldCLI:
         args = _CLI._parse()
 
         if getattr(args, "which", None) == "create":
-            application_path = cookiecutter(cls._TEMPLATE_MAP[args.template])
-            print(
-                f"New Taipy application has been created at {application_path}"
-                f"\n\nTo start the application, replace `main.py` with your"
-                f" application main Python file and run the following command:"
-                f"\n\tcd {application_path} && python main.py"
-            )
+            cookiecutter(cls._TEMPLATE_MAP[args.template])
             sys.exit(0)