MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / push

Function push

apps/desktop/src/cli/args.ts:61–65  ·  view source on GitHub ↗
(flags: Map<string, string[]>, name: string, value: string)

Source from the content-addressed store, hash-verified

59}
60
61function push(flags: Map<string, string[]>, name: string, value: string): void {
62 const existing = flags.get(name)
63 if (existing) existing.push(value)
64 else flags.set(name, [value])
65}
66
67export function getString(args: ParsedArgs, name: string): string | undefined {
68 const values = args.flags.get(name)

Callers 1

parseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected