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

Method unregister

src/commands/store.ts:582–599  ·  view source on GitHub ↗
(id: string, options: StoreJsonOptions = {})

Source from the content-addressed store, hash-verified

580 }
581
582 async unregister(id: string, options: StoreJsonOptions = {}): Promise<void> {
583 try {
584 const payload = toCleanupOutput(await unregisterStore({ id }));
585
586 if (options.json) {
587 printJson(payload);
588 return;
589 }
590
591 printCleanupHuman('Unregistered store', payload);
592 } catch (error) {
593 this.handleFailure(
594 options.json,
595 { store: null, registry: null, files: null, status: [] },
596 error
597 );
598 }
599 }
600
601 async remove(id: string, options: StoreRemoveOptions = {}): Promise<void> {
602 try {

Callers 1

registerStoreCommandFunction · 0.95

Calls 5

handleFailureMethod · 0.95
toCleanupOutputFunction · 0.85
unregisterStoreFunction · 0.85
printCleanupHumanFunction · 0.85
printJsonFunction · 0.70

Tested by

no test coverage detected