0.0.12 • Published 2 years ago

dnhyxc v0.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

安装方式

全局安装 dnhyxc

npm install dnhyxc -g

全局安装创建项目

运行 dnhyxc-cli create <projectName> 创建项目,可以加上 -t 参数来自定义设置模版,-f 参数强制覆盖本地同名项目,-d 参数指定项目目录。

dnhyxc create <projectName>

  # 示例
dnhyxc create my-project

局部安装 dnhyxc

npm install dnhyxc -D

局部安装创建项目

运行 npx dnhyxc create <projectName> 创建项目,可以加上 -t 参数来自定义设置模版,-f 参数强制覆盖本地同名项目,-d 参数指定项目目录。

或者不使用 npm install dnhyxc -D 在局部安装,直接使用 npx dnhyxc create <projectName> 命令创建项目,此时 npx 会自动安装 dnhyxc 模块。

npx dnhyxc create <projectName>

# 示例
npx dnhyxc create my-project

具体命令说明

  1. dnhyxc -hdnhyxc --help 查看帮助。

  2. dnhyxc -vdnhyxc --version 查看版本。

  3. dnhyxc list 查看所有可用模板。

  4. dnhyxc create <projectName> 创建项目。

  5. dnhyxc create <projectName> -t <templateName> 根据输入的模版创建项目。

  6. dnhyxc create <projectName> -f 强制覆盖本地同名项目。

0.0.12

2 years ago

0.0.13

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.1

2 years ago

0.0.2

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago