Files
emaui/node_modules/nx/dist/src/command-line/generate/generate.d.ts
2026-05-29 15:23:46 +03:00

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>;