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
53 lines (52 loc) • 1.37 kB
TypeScript
import { LegacyCommand } from '../../legacy-command';
declare class ScopeConfigSet implements LegacyCommand {
name: string;
description: string;
alias: string;
private: boolean;
opts: never[];
action([key, value]: [string, string]): Promise<any>;
report({ key, value }: {
key: string;
value: number;
}): string;
}
declare class ScopeConfigGet implements LegacyCommand {
name: string;
description: string;
alias: string;
private: boolean;
opts: never[];
action([key]: [string]): Promise<any>;
report(value: string): string;
}
declare class ScopeConfigList implements LegacyCommand {
name: string;
description: string;
alias: string;
opts: never[];
action(): Promise<any>;
report(conf: {
[key: string]: any;
}): string;
}
declare class ScopeConfigDel implements LegacyCommand {
name: string;
description: string;
alias: string;
opts: never[];
action([key]: [string]): Promise<any>;
report(): string;
}
export default class ScopeConfig implements LegacyCommand {
name: string;
description: string;
alias: string;
commands: (ScopeConfigSet | ScopeConfigGet | ScopeConfigList | ScopeConfigDel)[];
opts: never[];
action(): Promise<any>;
report(conf: {
[key: string]: string;
}): string;
}
export {};