mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:01:36 +00:00
perf(cli): speed up help/config paths and route config get/unset
This commit is contained in:
5
src/cli/respawn-policy.ts
Normal file
5
src/cli/respawn-policy.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { hasHelpOrVersion } from "./argv.js";
|
||||
|
||||
export function shouldSkipRespawnForArgv(argv: string[]): boolean {
|
||||
return hasHelpOrVersion(argv);
|
||||
}
|
||||
Reference in New Issue
Block a user