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

Method install

src/commands/completion.ts:93–98  ·  view source on GitHub ↗

* Install completion script to the appropriate location * * @param options - Options for installation (shell type, verbose output)

(options: InstallOptions = {})

Source from the content-addressed store, hash-verified

91 * @param options - Options for installation (shell type, verbose output)
92 */
93 async install(options: InstallOptions = {}): Promise<void> {
94 const shell = this.resolveShellOrExit(options.shell, 'install');
95 if (!shell) return;
96
97 await this.installForShell(shell, options.verbose || false);
98 }
99
100 /**
101 * Uninstall completion script from the installation location

Callers

nothing calls this directly

Calls 2

resolveShellOrExitMethod · 0.95
installForShellMethod · 0.95

Tested by

no test coverage detected