UNPKG

@nestjs/cli

Version:

The Nest CLI: create NestJS applications, generate modules, controllers and CRUD resources, and build, run and watch projects and monorepos.

16 lines (15 loc) • 814 B
import { SchematicOption } from './schematic.option.js'; /** A question from a schematic's schema (`x-prompt`) that nobody answered. */ export interface SkippedPrompt { name: string; default?: unknown; } /** * The `x-prompt` questions of a schematic that the given options leave open, * each with the default the schematic falls back to when it can't ask. * Empty when the schematic's schema can't be read, so a collection the CLI * can't resolve still runs, just without the summary. */ export declare function getSkippedPrompts(collection: string, schematic: string, options: SchematicOption[]): Promise<SkippedPrompt[]>; /** How a skipped prompt was answered, as the flag that answers it the same. */ export declare function describeSkippedPrompt({ name, default: value, }: SkippedPrompt): string;