/project-init

A python and batch automation script for windows to facilitate project creation process.

Primary LanguagePython

setup:

git clone "https://github.com/MyoniM/project-init.git"
cd project-init
pip install -r requirements.txt

add "project-init" folder directory to system environment variables(PATH)

create .env file and add these fields
GITHUB_TOKEN="create personal token on github with repo_deployment, public_repo and read:user scope"
PDIR='the directory to store your projects'

Usage:

Command to run the program with cmd or other comparable languages

'create <project_name>'
'create <project_name> -t <template>'   - to add project templates

Command to run the program with bash or other comparable languages

'create.bat <project_name>'
'create.bat <project_name> -t <template>'   - to add project templates
templates:  "cra"       : f"npx create-react-app {projectName}",
            "cra-t"     : f"npx create-react-app {projectName} --template typescript",
            "next"      : f"npx create-next-app@latest {projectName}",
            "next-t"    : f"npx create-next-app@latest {projectName} --ts",
            "flutter"   : f"flutter create {projectName}"