diff --git a/example.env b/example.env deleted file mode 100644 index e69de29..0000000 diff --git a/myte/frameworks.py b/myte/frameworks.py deleted file mode 100644 index d767480..0000000 --- a/myte/frameworks.py +++ /dev/null @@ -1,41 +0,0 @@ -# tools.py - -""" -This module defines all functions and classes to create the boilerplate. -""" - -import inquirer -from rich import print as mprint -from rich.prompt import Prompt - - -class CreateProject: - """ This class defines the project creation """ - - @staticmethod - def create_project(): - """ This function defines the project creation """ - - project_name = Prompt.ask( - "Project Name", default="myte-project") - - mprint(f"✅ Project name: {project_name}") - - frameworks_choice = ["Flask", "Bottle", "Web2py"] - - frameworks = [ - - inquirer.List( - "framework", - message="Select a framework", - choices=frameworks_choice, - carousel=True, # Enables arrow key navigation - ) - ] - - selected_framework = inquirer.prompt(frameworks) - - mprint(f"✅ {selected_framework['framework']}, selected") - - if selected_framework == "Flask": - FlaskFramework.create_project()