@nestjs/cli
Version:
Nest - modern, fast, powerful node.js web framework (@cli)
10 lines (9 loc) • 933 B
TypeScript
import { Configuration, ProjectConfiguration } from '../configuration/index.js';
export declare function shouldAskForProject(schematic: string, configurationProjects: {
[key: string]: ProjectConfiguration;
}, appName: string): boolean;
export declare function shouldGenerateSpec(configuration: Required<Configuration>, schematic: string, appName: string, specValue: boolean, specPassedAsInput?: boolean): any;
export declare function shouldGenerateFlat(configuration: Required<Configuration>, appName: string, flatValue: boolean): boolean;
export declare function getSpecFileSuffix(configuration: Required<Configuration>, appName: string, specFileSuffixValue: string): string;
export declare function askForProjectName(promptQuestion: string, projects: string[]): Promise<string | void>;
export declare function moveDefaultProjectToStart(configuration: Configuration, defaultProjectName: string, defaultLabel: string): string[];