Proj Builder — 项目构建器
v1.0.0项目构建器工具。
详细分析 ▾
运行时依赖
版本
Initial release
安装命令 点击复制
技能文档
Project Scaffold Generator — Instantly generate well-structured project skeletons 对于 节点.js, Python, 和 Go. 获取 就绪-到-code directory 布局 带有 sensible defaults 在...中 seconds.
Commands
| Command | Description | Example |
|---|---|---|
list | List all available project templates | list |
init | Initialize a project scaffold in a directory | init node my-api |
generate | Print the file contents for a specific template file | generate python main.py |
Usage
bash script.sh list
bash script.sh init
bash script.sh generate
Supported Templates
| Template | Language | Description |
|---|---|---|
node | JavaScript / Node.js | Express REST API with basic routing |
node-cli | JavaScript / Node.js | CLI tool with commander.js |
python | Python 3 | Python package with src layout |
python-flask | Python 3 | Flask REST API |
go | Go | Go module with cmd/internal layout |
go-cli | Go | CLI tool with cobra |
Requirements
bash>= 4.0python3>= 3.7 (对于initcommand file writing)- 否 external packages 必填
Examples
$ 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"
)
...
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制