ProjectCLI:启动任何项目的瑞士军刀式命令行工具

3作者: dawitworku6 个月前
Hi HN, 我开发了 ProjectCLI (@dawitworku/projectcli) —— 一个通用的交互式 CLI 工具,专为厌倦了同时使用多个项目生成器的开发者而设计。 问题: 设置一个新项目通常需要学习几十个命令:create-react-app, cargo new, poetry new, laravel new 等等。这既繁琐又容易出错,而且重复性很高。 解决方案: ProjectCLI 让你可以在几分钟内搭建*任何项目*: - 多语言支持:JS, TS, Python, Rust, Go, Java, PHP, C#, Dart, Swift, Ruby。 - 多框架支持:React, Next.js, Vue, NestJS, Express, Django, Flask, Actix, Axum, Rocket, Laravel, Symfony, Spring Boot 等。 - 交互式 CLI,具有模糊搜索、智能默认值和上下文感知功能。 - 预先检查缺失的工具。 - 远程模板:克隆任何 GitHub 启动套件,实现即时搭建。 - 一键式 CI/CD 和 Docker 设置。 - 非交互模式,用于自动化或脚本。 快速开始: ```bash npx @dawitworku/projectcli@latest # 或者全局安装 npm install -g @dawitworku/projectcli projectcli ``` 我为什么开发它: 我想要一个可以跨语言和框架使用的单一工具,它可以节省时间,并使项目启动变得有趣和可靠。 GitHub: https://github.com/Dawaman43/projectcli NPM: https://www.npmjs.com/package/@dawitworku/projectcli
查看原文
Hi HN,<p>I built ProjectCLI (@dawitworku&#x2F;projectcli) — a universal interactive CLI for developers who are tired of juggling multiple project generators.<p>Problem: Setting up a new project often requires learning dozens of commands: create-react-app, cargo new, poetry new, laravel new, etc. It’s tedious, error-prone, and repetitive.<p>Solution: ProjectCLI lets you scaffold *any project in minutes*: - Multi-language support: JS, TS, Python, Rust, Go, Java, PHP, C#, Dart, Swift, Ruby. - Multi-framework support: React, Next.js, Vue, NestJS, Express, Django, Flask, Actix, Axum, Rocket, Laravel, Symfony, Spring Boot, etc. - Interactive CLI with fuzzy search, smart defaults, and context awareness. - Preflight checks for missing tools. - Remote templates: clone any GitHub starter kit for instant scaffolding. - One-click CI&#x2F;CD &amp; Docker setup. - Non-interactive mode for automation or scripts.<p>Quick Start: ```bash npx @dawitworku&#x2F;projectcli@latest # or globally npm install -g @dawitworku&#x2F;projectcli projectcli Why I built it: I wanted a single tool that works across languages and frameworks, saves hours, and makes project bootstrapping fun and reliable.<p>GitHub: https:&#x2F;&#x2F;github.com&#x2F;Dawaman43&#x2F;projectcli<p>NPM: https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;@dawitworku&#x2F;projectcli