auto(6f177c177d02): session end @ 2026-06-14T08:04:54 (+27f)
This commit is contained in:
1 parent
44c0d51907
commit
0fbc478e16
27 files changed
+60
-848
No files matched your search
+3
-1
@@ -40,7 +40,9 @@ export function maybeInterceptAiHelp(program: Command): boolean {
|
||||
// 走命令树
|
||||
let cur: Command = program
|
||||
for (const p of path) {
|
||||
const sub = cur.commands.find((c) => c.name() === p)
|
||||
const sub = cur.commands.find(
|
||||
(c) => c.name() === p || (c.aliases() as string[]).includes(p),
|
||||
)
|
||||
if (!sub) break
|
||||
cur = sub
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user