UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

18 lines (17 loc) 647 B
import { PkgService as BasePkgService } from '@sprucelabs/spruce-skill-utils'; import CommandServiceImpl from './CommandService'; export default class PkgService extends BasePkgService { private packageManager; constructor(cwd: string, commandService: CommandServiceImpl); install(pkg?: string[] | string, options?: AddOptions): Promise<{ totalInstalled: number; totalSkipped: number; }>; getSkillNamespace(): string; uninstall(pkg: string[] | string): Promise<void | undefined>; } export interface AddOptions { isDev?: boolean; shouldForceInstall?: boolean; shouldCleanupLockFiles?: boolean; }