@keymanapp/kmc
Version:
Keyman Developer compiler command line tools
27 lines • 890 B
TypeScript
import { CompilerLogFormat, CompilerLogLevel } from "@keymanapp/developer-utils";
import { Command } from "commander";
/**
* Abstract interface for compiler options
*/
export interface CommandLineBaseOptions {
logLevel?: CompilerLogLevel;
logFormat?: CompilerLogFormat;
color?: boolean;
}
export interface CommandLineBuildBaseOptions extends CommandLineBaseOptions {
outFile?: string;
}
/**
* These options map to CompilerBaseOptions
*/
export declare class BaseOptions {
static addLogLevel(program: Command): Command;
static addLogFormat(program: Command): Command;
static addColor(program: Command): Command;
static addAll(program: Command): Command;
}
export declare class BuildBaseOptions extends BaseOptions {
static addOutFile(program: Command): Command;
static addAll(program: Command): Command;
}
//# sourceMappingURL=baseOptions.d.ts.map