MCPcopy
hub / github.com/vectorize-io/hindsight / get

Function get

hindsight-integrations/nemoclaw/src/cli.ts:44–48  ·  view source on GitHub ↗
(flag: string)

Source from the content-addressed store, hash-verified

42 }
43
44 const get = (flag: string): string | undefined => {
45 const idx = args.indexOf(flag);
46 if (idx === -1 || idx + 1 >= args.length) return undefined;
47 return args[idx + 1];
48 };
49
50 const sandbox = get("--sandbox");
51 const apiUrl = get("--api-url") ?? "https://api.hindsight.vectorize.io";

Callers 1

parseArgsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected