Skip to content

InitPromptAnswers

@tsed/cli

Usage

typescript
import { InitPromptAnswers } from "@tsed/cli";

See /packages/cli/src/commands/init/interfaces/InitPromptAnswers.ts.

Overview

ts
interface InitPromptAnswers {
    projectName: string;
    platform: PlatformType;
    architecture: ArchitectureConvention;
    convention: ProjectConvention;
    features: string[];
    featuresDB: string[];
    featuresTypeORM: string;
    featuresTesting: string;
    featuresExtraLinter: string[];
    featuresBundler: string;
    oidcBasePath: string;
    packageManager: PackageManager;
}

projectName

ts
projectName: string;

platform

ts
platform: PlatformType;

architecture

ts
architecture: ArchitectureConvention;

convention

ts
convention: ProjectConvention;

features

ts
features: string[];

featuresDB

ts
featuresDB: string[];

featuresTypeORM

ts
featuresTypeORM: string;

featuresTesting

ts
featuresTesting: string;

featuresExtraLinter

ts
featuresExtraLinter: string[];

featuresBundler

ts
featuresBundler: string;

oidcBasePath

ts
oidcBasePath: string;

packageManager

ts
packageManager: PackageManager;

Released under the MIT License.