Skip to content

Commit

Permalink
improve create command output (#1859)
Browse files Browse the repository at this point in the history
Now after running create command it will display more info
  • Loading branch information
dshaw0004 authored Sep 19, 2023
1 parent 23e30dc commit 8459d88
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sdk/python/packages/flet/src/flet/cli/commands/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from flet.cli.commands.base import BaseCommand
from flet_core.utils import slugify
from colorama import Fore, Style


class Command(BaseCommand):
Expand Down Expand Up @@ -64,3 +65,9 @@ def handle(self, options: argparse.Namespace) -> None:
defaults=True,
) as worker:
worker.run_copy()
print(Fore.LIGHTGREEN_EX + "\nDone. Now run:\n")
print(Style.RESET_ALL)
print(Fore.CYAN + "cd", end=" ")
print(Fore.WHITE + project_name, end="\n")
print(Fore.CYAN + "flet run")
print(Style.RESET_ALL)

0 comments on commit 8459d88

Please sign in to comment.