@xx-in/tools 0.0.2 → 0.0.3

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 (3) hide show
  1. package/README.md +8 -6
  2. package/dist/cli.js +431 -841
  3. 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. Linux 桌面应用管理
69
-
70
- - **`application`**:Linux 桌面应用辅助管理工具集,包含以下嵌套子命令 [3]:
71
- - **`shortcut <path>`**:为本地 AppImage、普通可执行二进制文件、或 Flatpak 应用 ID(例如 `org.gimp.GIMP`)生成标准的 Linux `.desktop` 快捷文件并放置到系统的应用选单中 [3]。
72
- - **`install <path>`**:安装软件包。支持本地 `.deb` 安装包,或解压 `.tar.gz` 绿色软件(自动释放到 `~/GreenApp/` [3],并自适应扫描根目录下的执行文件创建图标)。
73
- - **`remove <package>`**:卸载已安装的软件包。支持传入包名或本地 `.deb` 路径(将自动分析提取其 Metadata 进行安全卸载)。
68
+ ### 2. macOS 本地工具安装管理
69
+
70
+ - **`install <path>`**:macOS 本地工具安装器。
71
+ - 支持安装单个可执行文件,以及 `.tar.gz`、`.tgz`、`.tar.xz`、`.txz`、`.tar` 压缩包。
72
+ - 自动安装到 `~/.xx-tools/apps/`,并在 `~/.xx-tools/bin/` 创建终端命令入口。
73
+ - 首次安装时会自动把 `~/.xx-tools/bin` 写入你的 Shell 配置,后续即可在终端中直接调用已安装工具。
74
+ - **`uninstall <package>`**:macOS 本地工具卸载器。
75
+ - 按安装名卸载工具,同时删除安装目录和终端命令入口。
74
76
 
75
77
  ### 3. 压缩与解压
76
78