🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

pang-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pang-cli - npm Package Compare versions

Comparing version
1.1.2
to
1.1.3
+36
README.md
# pang-Cli
生成项目模版用
## 使用
### 全局安装
```
npm install -g pang-cli
```
命令
```
pang init <template-type> <project-name>
# eg: pang init egg auth
```
### 局部安装
```
npm install pang-cli
```
命令
```
npx pang init <template-type> <project-name>
# eg: npx pang init egg auth
```
## 参数说明
| 参数 | 说明 |
| ------------- | ------------------------ |
| template-type | 模版类型,目前仅支持 egg |
| project-name | 项目名称 |
+0
-1
#!/usr/bin/env node
const { Command } = require('commander');
// const Creator = require('./src/creator');
const program = new Command();

@@ -5,0 +4,0 @@ program.version(require('./package.json').version);

{
"name": "pang-cli",
"version": "1.1.2",
"version": "1.1.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",