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
34 lines (33 loc) • 973 B
TypeScript
import { Command, CommandOptions, GenericObject } from '.';
import { LegacyCommand } from '../../cli/legacy-command';
import { CLIExtension } from './cli.extension';
export declare class LegacyCommandAdapter implements Command {
private cmd;
alias: string;
name: string;
description: string;
options: CommandOptions;
shortDescription: string;
group: string;
loader?: boolean;
commands: Command[];
private?: boolean;
migration?: boolean;
internal?: boolean;
_packageManagerArgs?: string[];
constructor(cmd: LegacyCommand, cliExtension: CLIExtension);
private action;
report(params: any, options: {
[key: string]: any;
}): Promise<{
data: string;
code: number;
}>;
json(params: any, options: {
[key: string]: any;
}): Promise<GenericObject>;
}
export declare function findLegacyDetails(name: string, p: CLIExtension): {
group: string;
summery: string;
};