@calljmp/cli
Version:
35 lines • 943 B
TypeScript
import { Option } from 'commander';
export interface CliOptions {
project: string;
baseUrl: string;
}
export declare const CliCommonOptions: {
project: Option;
baseUrl: Option;
};
export declare class Config {
private _opts;
private _accessToken;
private _projectId;
private _buildMap;
constructor(_opts: CliOptions);
private restore;
private save;
get dataDirectory(): string;
get typesDirectory(): string;
get projectDirectory(): string;
get baseUrl(): string;
get accessToken(): string | null;
set accessToken(token: string | null);
get projectId(): number | null;
set projectId(id: number | null);
get buildMap(): Map<string, {
id: string;
}>;
addBuild(entryPoint: string, id: string): void;
removeBuild(entryPoint: string): void;
buildFor(entryPoint: string): {
id: string;
} | null;
}
//# sourceMappingURL=config.d.ts.map