MCPcopy Create free account
hub / github.com/chhoumann/quickadd / serialize

Function serialize

src/cli/registerQuickAddCliHandlers.ts:179–181  ·  view source on GitHub ↗
(response: CliResponse)

Source from the content-addressed store, hash-verified

177const SUPPORTED_LIST_TYPES = new Set(["template", "capture", "macro", "multi"]);
178
179function serialize(response: CliResponse): string {
180 return JSON.stringify(response);
181}
182
183function isTruthy(value: string | undefined): boolean {
184 if (value === undefined) return false;

Callers 7

runResolvedChoiceFunction · 0.85
runChoiceHandlerFunction · 0.85
runTemplateHandlerFunction · 0.85
listChoicesHandlerFunction · 0.85
checkChoiceHandlerFunction · 0.85
interactiveHandlerFunction · 0.85
previewPackageHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected