feat: 新增 svc.list/log.list 命令

svc.list 列出所有服务(systemctl/launchctl/sc)
log.list 列出可用日志来源(journalctl/日志目录/wevtutil)
This commit is contained in:
2026-11-03 21:12:47 +08:00
parent 363e81fc47
commit b4590bbffd
7 changed files with 81 additions and 2 deletions
+2 -2
View File
@@ -28,12 +28,12 @@ func TestBuiltinIDsStable(t *testing.T) {
"disk.usage", "net.pids", "net.ports", "proc.nohup", "proc.wait", "java.run", "git.retime", "pkg.refreshindex",
"user.grant", "user.revoke",
"file.findbig", "file.findrecent", "file.findname",
"svc.status", "svc.enable", "svc.disable", "svc.logs",
"svc.list", "svc.status", "svc.enable", "svc.disable", "svc.logs",
"archive.extract",
"sysinfo",
"proc.topmem", "proc.topcpu", "proc.killname",
"net.ping", "net.trace", "net.dns", "net.curl",
"log.search", "log.last",
"log.list", "log.search", "log.last",
"fw.status", "fw.allow", "fw.deny",
"net.iface", "net.conn", "net.speed",
"proc.tree",