清理(commands): 删除 arno-change-ip 命令文件

This commit is contained in:
2026-05-09 14:43:18 +08:00
parent 926881ba87
commit 4c1ff3da06
-55
View File
@@ -1,55 +0,0 @@
---
name: IP通知
description: 发送当前公网IP到监控服务端
---
## 用户输入
```text
$ARGUMENTS
```
执行前**必须**处理用户输入(非空时)
## 参数说明
支持以下参数:
- `[IP地址]` - 可选,要通知的IP地址。不提供则自动获取当前公网IP
## 输出
### 格式要求
```markdown
## IP 通知结果
**IP 地址**: {IP}
**状态**: {成功/失败}
**HTTP 状态码**: {状态码}
{响应内容(如果有)}
```
### 执行规则
1. **默认行为** - 无参数时,自动获取当前公网IP并发送通知
2. **指定IP** - 用户提供IP地址时,直接使用该IP
3. **脚本位置** - `/home/arno/.local/bin/change-ip-notify.sh`
4. **执行方式** - 调用 bash 脚本并返回结果
### 执行命令
```bash
# 获取IP并发送通知
/home/arno/.local/bin/change-ip-notify.sh
# 通知指定IP
/home/arno/.local/bin/change-ip-notify.sh 1.2.3.4
```
### 注意事项
- 确保网络连接正常
- 服务端必须可访问
- 密钥已硬编码在脚本中,无需额外配置