mine-auto-cli 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -2
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,9 +9,27 @@
|
|
|
9
9
|
<a href="https://github.com/biaov/mine-auto-cli/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-green?logo=Unlicense" /></a>
|
|
10
10
|
</h2>
|
|
11
11
|
|
|
12
|
+
## 全局安装
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm i -g mine-auto-cli
|
|
16
|
+
```
|
|
17
|
+
|
|
12
18
|
## 使用
|
|
13
19
|
|
|
14
|
-
|
|
20
|
+
### 查看版本
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
auto -v
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### 查看所有命令
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
auto -h
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### 简化 Git 提交命令
|
|
15
33
|
|
|
16
34
|
```sh
|
|
17
35
|
auto git [描述]
|
|
@@ -21,7 +39,7 @@ git commit -m [描述]
|
|
|
21
39
|
git push
|
|
22
40
|
```
|
|
23
41
|
|
|
24
|
-
|
|
42
|
+
### 简化打包提交命令
|
|
25
43
|
|
|
26
44
|
```sh
|
|
27
45
|
auto build[:环境] [描述]
|
package/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { program as i } from "commander";
|
|
|
4
4
|
import y from "ora";
|
|
5
5
|
import { execSync as v } from "child_process";
|
|
6
6
|
import m from "log-symbols";
|
|
7
|
-
const l = "mine-auto-cli", d = "2.0.
|
|
7
|
+
const l = "mine-auto-cli", d = "2.0.1", $ = "./index.js", w = "./index.js", k = "module", j = {
|
|
8
8
|
auto: "bin/mine-auto-cli.js"
|
|
9
9
|
}, x = {
|
|
10
10
|
name: "biaov",
|