UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

15 lines (14 loc) 712 B
import { LegacyCommand } from './legacy-command'; import { Commands } from '../legacy-extensions/extension'; import { Command } from './command'; export declare function execAction(command: Command, concrete: any, args: any): Promise<any>; export declare function register(command: Command, commanderCmd: any, packageManagerArgs?: string[]): void; export default class CommandRegistry { version: string; usage: string; description: string; commands: LegacyCommand[]; extensionsCommands: LegacyCommand[] | null | undefined; registerBaseCommand(): void; constructor(usage: string, description: string, version: string, commands: LegacyCommand[], extensionsCommands: Array<Commands>); }