← 返回
未分类 中文

proj-builder

Generate structured project scaffolds and template files for Node.js, Python, and Go using predefined templates via bash commands.
使用预定义模板通过 bash 命令为 Node.js、Python 和 Go 生成结构化的项目脚手架和模板文件。
xueyetianya xueyetianya 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 362
下载
💾 0
安装
1
版本
#latest

概述

builder

Project Scaffold Generator — Instantly generate well-structured project skeletons for Node.js, Python, and Go. Get a ready-to-code directory layout with sensible defaults in seconds.

Commands

CommandDescriptionExample
-------------------------------
listList all available project templateslist
initInitialize a project scaffold in a directoryinit node my-api
generatePrint the file contents for a specific template filegenerate python main.py

Usage

bash script.sh list
bash script.sh init <template> <project-name>
bash script.sh generate <template> <filename>

Supported Templates

TemplateLanguageDescription
---------------------------------
nodeJavaScript / Node.jsExpress REST API with basic routing
node-cliJavaScript / Node.jsCLI tool with commander.js
pythonPython 3Python package with src layout
python-flaskPython 3Flask REST API
goGoGo module with cmd/internal layout
go-cliGoCLI tool with cobra

Requirements

  • bash >= 4.0
  • python3 >= 3.7 (for init command file writing)
  • No external packages required

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 <template> <project-name>
$ 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.go

package main

import (
    "fmt"
    "log"
    "net/http"
)
...

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 05:54 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 197 📥 68,033
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 78 📥 182,615
office-efficiency

Excel Formula

xueyetianya
根据描述生成Excel公式并诊断电子表格错误。适用于编写VLOOKUP公式、调试错误或转换公式。支持...
★ 2 📥 6,511