codenest-cli 0.0.2 → 0.1.0

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 CHANGED
@@ -19,7 +19,7 @@ npm install -g codenest-cli
19
19
  或者使用 `npx` 直接运行而无需安装:
20
20
 
21
21
  ```bash
22
- npx codenest-cli create my-project
22
+ npx codenest create my-project
23
23
  ```
24
24
 
25
25
  ## 📒使用方法
@@ -27,25 +27,39 @@ npx codenest-cli create my-project
27
27
  查看脚手架版本:
28
28
 
29
29
  ```bash
30
- codenest-cli --version
30
+ codenest --version
31
31
  ```
32
32
  or
33
33
  ```bash
34
- codenest-cli -v
34
+ codenest -v
35
+ ```
36
+
37
+ 查看帮助信息:
38
+ ```bash
39
+ codenest --help
40
+ ```
41
+ or
42
+ ```bash
43
+ codenest -h
35
44
  ```
36
45
 
37
46
  在终端中执行以下命令来创建新项目:
38
47
 
39
48
  ```bash
40
- codenest-cli create <project-name>
49
+ codenest create <project-name>
41
50
  ```
42
51
 
43
52
  按照提示输入项目名称并选择合适的模板即可自动生成项目结构。
44
53
 
54
+ 在终端中执行以下命令来更新脚手架到最新版本:
55
+
56
+ ```bash
57
+ codenest update
58
+ ```
45
59
 
46
60
  ### 📑示例
47
61
 
48
62
  ```bash
49
63
  # 创建名为 my-app 的新项目
50
- codenest-cli create my-app
64
+ codenest create my-app
51
65
  ```