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

Function emitWritten

apps/desktop/src/cli/commands/notes.ts:229–235  ·  view source on GitHub ↗
(meta: NoteMeta, args: ParsedArgs, verb = 'Updated')

Source from the content-addressed store, hash-verified

227}
228
229function emitWritten(meta: NoteMeta, args: ParsedArgs, verb = 'Updated'): void {
230 if (getBool(args, 'json')) {
231 emitJson(meta)
232 return
233 }
234 emitOk(`${verb} ${meta.path}`)
235}

Callers 10

cmdWriteFunction · 0.85
cmdAppendFunction · 0.85
cmdPrependFunction · 0.85
cmdRenameFunction · 0.85
cmdMoveFunction · 0.85
cmdArchiveFunction · 0.85
cmdUnarchiveFunction · 0.85
cmdTrashFunction · 0.85
cmdRestoreFunction · 0.85
cmdDuplicateFunction · 0.85

Calls 3

getBoolFunction · 0.85
emitJsonFunction · 0.85
emitOkFunction · 0.85

Tested by

no test coverage detected