mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-03 20:09:33 +01:00
10 lines
225 B
TypeScript
10 lines
225 B
TypeScript
export function hasCursorTrustBypassArg(args: readonly string[]): boolean {
|
|
return args.some(
|
|
(arg) =>
|
|
arg === "--trust" ||
|
|
arg === "--yolo" ||
|
|
arg === "-f" ||
|
|
arg.startsWith("--trust="),
|
|
);
|
|
}
|