MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / hasFlag

Function hasFlag

cli/src/bin/e2a.ts:65–67  ·  view source on GitHub ↗
(args: string[], flag: string)

Source from the content-addressed store, hash-verified

63}
64
65function hasFlag(args: string[], flag: string): boolean {
66 return args.includes(flag);
67}
68
69async function main() {
70 const { command, args } = parseArgs(process.argv);

Callers 2

mainFunction · 0.85
args.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected