proj-builder
by @xueyetianya
Generate structured project scaffolds and template files for Node.js, Python, and Go using predefined templates via bash commands.
$ bash script.sh listπ¦ Available Project Templates
ββββββββββββββββββββββββββββββββββββββ
node Node.js Express REST API
node-cli Node.js CLI tool
python Python package (src layout)
python-flask Python Flask REST API
go Go module (cmd/internal)
go-cli Go CLI tool with cobra
Usage: bash script.sh init
$ bash script.sh init python my-projectπ Scaffolding: python β my-project/
ββββββββββββββββββββββββββββββββββββββ
β
my-project/src/my_project/__init__.py
β
my-project/src/my_project/main.py
β
my-project/tests/__init__.py
β
my-project/tests/test_main.py
β
my-project/pyproject.toml
β
my-project/README.md
β
my-project/.gitignore
β¨ Done! Next steps:
cd my-project
python3 -m venv venv && source venv/bin/activate
pip install -e .
$ bash script.sh generate go main.gopackage main
import (
"fmt"
"log"
"net/http"
)
...
clawhub install proj-builder