MCPcopy
hub / github.com/google/zx / updateArgv

Function updateArgv

src/goods.ts:94–97  ·  view source on GitHub ↗
(args?: string[], opts?: ArgvOpts)

Source from the content-addressed store, hash-verified

92 )
93
94export function updateArgv(args?: string[], opts?: ArgvOpts) {
95 for (const k in argv) delete argv[k]
96 parseArgv(args, opts, argv)
97}
98
99export const argv: minimist.ParsedArgs = parseArgv()
100

Callers 2

goods.test.tsFile · 0.90
readScriptFunction · 0.90

Calls 1

parseArgvFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…