Skip to content

Commit 8459d88

Browse files
authored
improve create command output (#1859)
Now after running create command it will display more info
1 parent 23e30dc commit 8459d88

File tree

1 file changed

+7
-0
lines changed
  • sdk/python/packages/flet/src/flet/cli/commands

1 file changed

+7
-0
lines changed

sdk/python/packages/flet/src/flet/cli/commands/create.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
from flet.cli.commands.base import BaseCommand
55
from flet_core.utils import slugify
6+
from colorama import Fore, Style
67

78

89
class Command(BaseCommand):
@@ -64,3 +65,9 @@ def handle(self, options: argparse.Namespace) -> None:
6465
defaults=True,
6566
) as worker:
6667
worker.run_copy()
68+
print(Fore.LIGHTGREEN_EX + "\nDone. Now run:\n")
69+
print(Style.RESET_ALL)
70+
print(Fore.CYAN + "cd", end=" ")
71+
print(Fore.WHITE + project_name, end="\n")
72+
print(Fore.CYAN + "flet run")
73+
print(Style.RESET_ALL)

0 commit comments

Comments
 (0)