@xx-in/tools 0.0.2 → 0.0.4
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 +8 -6
- package/dist/cli.js +535 -863
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -65,12 +65,14 @@ npm run publish:npm:registry
|
|
|
65
65
|
- **`open [path]`**:文件管理器目录打开工具。
|
|
66
66
|
- 在系统内置文件管理器中打开指定目录。若未提供参数,则默认打开当前的工作目录。
|
|
67
67
|
|
|
68
|
-
### 2.
|
|
69
|
-
|
|
70
|
-
- **`
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
68
|
+
### 2. 本地工具安装管理
|
|
69
|
+
|
|
70
|
+
- **`install <path>`**:macOS / Windows 本地工具安装器。
|
|
71
|
+
- 支持安装单个可执行文件,以及 `.zip`、`.tar.gz`、`.tgz`、`.tar.xz`、`.txz`、`.tar` 压缩包。
|
|
72
|
+
- 自动安装到 `~/.xx-tools/apps/`,并在 `~/.xx-tools/bin/` 创建终端命令入口。
|
|
73
|
+
- macOS 下会自动写入 Shell 配置;Windows 下会自动写入当前用户 PATH,后续即可在终端中直接调用已安装工具。
|
|
74
|
+
- **`uninstall <package>`**:macOS / Windows 本地工具卸载器。
|
|
75
|
+
- 按安装名卸载工具,同时删除安装目录和终端命令入口。
|
|
74
76
|
|
|
75
77
|
### 3. 压缩与解压
|
|
76
78
|
|