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

13 lines (12 loc) 360 B
import { Command } from '../../cli/command'; export default class CommandRegistry { readonly commands: { [commandId: string]: Command; }; constructor(commands: { [commandId: string]: Command; }); register(command: Command): void; static getID(cmd: Command): string; } export declare function getID(cmd: string): string;