MCPcopy Create free account
hub / github.com/deepnote/deepnote / createInstallSkillsAction

Function createInstallSkillsAction

packages/cli/src/commands/install-skills.ts:177–188  ·  view source on GitHub ↗
(_program: Command)

Source from the content-addressed store, hash-verified

175}
176
177export function createInstallSkillsAction(_program: Command): (options: InstallSkillsOptions) => Promise<void> {
178 return async options => {
179 try {
180 debug(`Options: ${JSON.stringify(options)}`)
181 await installSkills(options)
182 } catch (error) {
183 const message = error instanceof Error ? error.message : String(error)
184 logError(message)
185 process.exit(ExitCode.Error)
186 }
187 }
188}
189
190async function installSkills(options: InstallSkillsOptions): Promise<void> {
191 const isGlobal = !!options.global

Callers 2

registerCommandsFunction · 0.90

Calls 2

debugFunction · 0.90
installSkillsFunction · 0.85

Tested by

no test coverage detected