Skip to content

CreateTemplateCmdContext

@tsed/cli

Usage ​

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

See /packages/cli/src/commands/template/CreateTemplateCommand.ts.

Overview ​

ts
interface CreateTemplateCmdContext extends RenderDataContext {
    name: string;
    from?: string | "new";
    override?: string;
    templateId?: string;
    template?: DefineTemplateOptions;
}

name ​

ts
name: string;

from ​

ts
from?: string | "new";

override ​

ts
override?: string;

templateId ​

ts
templateId?: string;

template ​

ts
template?: DefineTemplateOptions;

Released under the MIT License.