Thanks to visit codestin.com
Credit goes to github.com

Skip to content

zhuxin0/tohru-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tohru-cli

一个简单的命令行工具,用于快速创建和管理项目。

安装

npm install -g tohru-cli
#
pnpm add -g tohru-cli

使用方法

创建项目

# 交互式创建
tohru create

# 直接指定项目名
tohru create my-project

开发

# 启动开发服务器
tohru dev

构建

# 构建项目
tohru build
# 指定构建模式
tohru build --mode=development

命令列表

  • tohru create [project-name] - 创建新项目

    • -n, --name <name> - 指定项目名称
  • tohru dev - 启动开发服务器

  • tohru build - 构建项目

本地开发

# 克隆仓库
git clone https://github.com/your-username/tohru-cli.git

# 安装依赖
pnpm install

# 本地链接
pnpm link --global

# 开发模式
pnpm dev

# 构建
pnpm build

许可证

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published