MCPcopy
hub / github.com/garrytan/gstack / hasFlag

Function hasFlag

browse/src/cli.ts:762–764  ·  view source on GitHub ↗
(args: string[], flag: string)

Source from the content-addressed store, hash-verified

760}
761
762function hasFlag(args: string[], flag: string): boolean {
763 return args.includes(flag);
764}
765
766export interface GlobalFlags {
767 /** Cleaned argv with --proxy/--headed stripped out. */

Callers 2

handlePairAgentFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected