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

Function cmdArchive

apps/desktop/src/cli/commands/notes.ts:170–173  ·  view source on GitHub ↗
(vault: string, args: ParsedArgs)

Source from the content-addressed store, hash-verified

168}
169
170export async function cmdArchive(vault: string, args: ParsedArgs): Promise<void> {
171 const meta = await archiveNote(vault, requirePath(args))
172 emitWritten(meta, args, 'Archived')
173}
174
175export async function cmdUnarchive(vault: string, args: ParsedArgs): Promise<void> {
176 const meta = await unarchiveNote(vault, requirePath(args))

Callers

nothing calls this directly

Calls 3

requirePathFunction · 0.85
emitWrittenFunction · 0.85
archiveNoteFunction · 0.50

Tested by

no test coverage detected