mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 01:22:49 +00:00
22 lines
742 B
TypeScript
22 lines
742 B
TypeScript
import { FileChange } from '../../generators/tree';
|
|
import { Options, Schema } from '../../utils/params';
|
|
export interface GenerateOptions {
|
|
collectionName: string;
|
|
generatorName: string;
|
|
generatorOptions: Options;
|
|
help: boolean;
|
|
dryRun: boolean;
|
|
interactive: boolean;
|
|
defaults: boolean;
|
|
quiet: boolean;
|
|
}
|
|
export declare function printChanges(fileChanges: FileChange[]): void;
|
|
export declare function parseGeneratorString(value: string): {
|
|
collection?: string;
|
|
generator: string;
|
|
};
|
|
export declare function printGenHelp(opts: GenerateOptions, schema: Schema, normalizedGeneratorName: string, aliases: string[]): void;
|
|
export declare function generate(args: {
|
|
[k: string]: any;
|
|
}): Promise<number>;
|