@xubill/xx-cli 1.0.4 → 1.0.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xubill/xx-cli",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "个人工具集",
5
5
  "main": "lib/core/index.js",
6
6
  "bin": {
package/readme.md CHANGED
@@ -70,7 +70,7 @@ xx-cli 框架自带以下核心命令(位于 core 模块中):
70
70
 
71
71
  xx-cli 项目采用模块化设计,主要包含以下核心目录:
72
72
 
73
- ### 核心模块目录 (`/Users/hthj/xx-cli/lib/core`)
73
+ ### 核心模块目录 (`/Users/xub/xx-cli/lib/core`)
74
74
 
75
75
  核心模块目录包含 xx-cli 的核心功能实现,负责初始化系统、注册命令、管理插件等。
76
76
 
@@ -87,7 +87,7 @@ lib/core/
87
87
  - **index.js**:核心模块,负责初始化系统、注册命令、管理插件等。它包含了插件加载、命令注册、钩子管理等核心功能。
88
88
  - **base-plugin.js**:插件基础类,提供标准化的插件接口和通用功能。所有插件应该继承此类以确保一致性,它提供了命令注册、配置管理、用户界面等通用功能。
89
89
 
90
- ### 插件目录 (`/Users/hthj/xx-cli/lib/plugins`)
90
+ ### 插件目录 (`/Users/xub/xx-cli/lib/plugins`)
91
91
 
92
92
  插件目录包含 xx-cli 的内置插件,这些插件提供了各种功能,如配置管理、历史记录管理、插件管理等。
93
93
 
@@ -137,7 +137,7 @@ xx plugin create hello-world
137
137
 
138
138
  # 输出:
139
139
  # 创建插件模板...
140
- # 插件模板已成功创建到:/Users/hthj/.xx-cli/plugins/hello-world.js
140
+ # 插件模板已成功创建到:/Users/xub/.xx-cli/plugins/hello-world.js
141
141
  # 提示:请编辑插件文件,实现具体功能
142
142
  # 测试方法:运行 "node bin/cli.js <插件命令>"
143
143
  # 已自动打开 vscode 编辑插件文件
@@ -321,7 +321,7 @@ xx-cli 提供了 `BasePlugin` 基类,所有插件都应该继承此类以确
321
321
 
322
322
  #### 基础插件类路径
323
323
 
324
- `BasePlugin` 类位于 `/Users/hthj/xx-cli/lib/core/base-plugin.js`,插件可以通过以下方式导入:
324
+ `BasePlugin` 类位于 `/Users/xub/xx-cli/lib/core/base-plugin.js`,插件可以通过以下方式导入:
325
325
 
326
326
  ```javascript
327
327
  const BasePlugin = require('../core/base-plugin');