1.5.0 • Published 4 months ago
osp-cli v1.5.0
OSP CLI
Warning: This project is under development, and there may be major changes in later versions
A command-line tool to quickly scaffold common projects with the selected framework in React ecosystem, package manager and so on.
Features
- Simple Project Initialization
- Multiple Frameworks and Package Manager Support
- Can be highly customizable
Installation
To install the osp-cli
globally:
npm install -g osp-cli
# or
pnpm add -g osp-cli
警告
本项目处于快速迭代阶段,后续版本可能存在重大变更,建议锁定版本使用
🚀 核心优势
- 快速初始化常用项目:覆盖后台管理系统/Node.js 服务/静态文档等常用场景
- React 全生态:集成 Next.js、Vite 等主流框架
- 智能交互:可视化终端界面,配置选择从未如此直观
- TS 优先:原生 TypeScript 支持,类型安全开箱即用
- 灵活拓展:支持自定义模板,满足深度定制需求
全局安装(推荐使用 pnpm 获得更佳体验):
# 使用npm
npm install -g osp-cli
# 使用pnpm(推荐)
pnpm add -g osp-cli
# 使用yarn
yarn global add osp-cli