MCPcopy
hub / github.com/Fission-AI/OpenSpec / delegateOptions

Method delegateOptions

src/commands/show.ts:67–72  ·  view source on GitHub ↗
(root: ResolvedOpenSpecRoot, options: ShowExecuteOptions)

Source from the content-addressed store, hash-verified

65 }
66
67 private delegateOptions(root: ResolvedOpenSpecRoot, options: ShowExecuteOptions): ShowExecuteOptions & { rootOutput?: RootOutput } {
68 return {
69 ...options,
70 ...(options.json ? { rootOutput: toRootOutput(root) } : {}),
71 };
72 }
73
74 private async runInteractiveByType(
75 type: ItemType,

Callers 2

runInteractiveByTypeMethod · 0.95
showDirectMethod · 0.95

Calls 1

toRootOutputFunction · 0.85

Tested by

no test coverage detected