@tsed/cli
Version:
CLI to bootstrap your Ts.ED project
115 lines (114 loc) • 5.2 kB
TypeScript
import { AddCmd } from "./add/AddCmd.js";
import { GenerateCmd } from "./generate/GenerateCmd.js";
import { InitCmd } from "./init/InitCmd.js";
import { RunCmd } from "./run/RunCmd.js";
import { CreateTemplateCommand } from "./template/CreateTemplateCommand.js";
import { UpdateCmd } from "./update/UpdateCmd.js";
declare const _default: (typeof CreateTemplateCommand | typeof AddCmd | typeof GenerateCmd | typeof InitCmd | import("@tsed/di").FactoryTokenProvider<{
$prompt: any;
$exec: any;
token: import("@tsed/di").TokenProvider<import("@tsed/cli-core").CommandProvider>;
name: string;
alias?: string;
description: string;
args?: {
[key: string]: import("@tsed/cli-core").CommandArg;
};
inputSchema?: import("@tsed/schema").JsonSchema<import("@tsed/schema").PropsToShape<{
indent: import("@tsed/schema").JsonSchema<number>;
}>> | (() => import("@tsed/schema").JsonSchema<import("@tsed/schema").PropsToShape<{
indent: import("@tsed/schema").JsonSchema<number>;
}>>) | undefined;
options?: {
[key: string]: import("@tsed/cli-core").CommandOpts;
};
allowUnknownOption?: boolean;
enableFeatures?: string[];
disableReadUpPkg?: boolean;
renderMode?: import("@tsed/cli-tasks").TasksOptions["renderMode"];
} | {
$prompt: any;
$exec: any;
handler: (data: import("@tsed/schema").PropsToShape<{
indent: import("@tsed/schema").JsonSchema<number>;
}>) => import("@tsed/cli-tasks").MaybePromise<void | import("@tsed/cli-tasks").Task<import("@tsed/schema").PropsToShape<{
indent: import("@tsed/schema").JsonSchema<number>;
}>>[]>;
prompt?(initialOptions: Partial<import("@tsed/schema").PropsToShape<{
indent: import("@tsed/schema").JsonSchema<number>;
}>>): import("@tsed/cli-prompts").PromptQuestion[] | Promise<import("@tsed/cli-prompts").PromptQuestion[]>;
name: string;
alias?: string;
description: string;
args?: {
[key: string]: import("@tsed/cli-core").CommandArg;
};
inputSchema?: import("@tsed/schema").JsonSchema<import("@tsed/schema").PropsToShape<{
indent: import("@tsed/schema").JsonSchema<number>;
}>> | (() => import("@tsed/schema").JsonSchema<import("@tsed/schema").PropsToShape<{
indent: import("@tsed/schema").JsonSchema<number>;
}>>) | undefined;
options?: {
[key: string]: import("@tsed/cli-core").CommandOpts;
};
allowUnknownOption?: boolean;
enableFeatures?: string[];
disableReadUpPkg?: boolean;
renderMode?: import("@tsed/cli-tasks").TasksOptions["renderMode"];
}> | import("@tsed/core").Type<import("@tsed/cli-core").CommandProvider<import("@tsed/schema").PropsToShape<{
indent: import("@tsed/schema").JsonSchema<number>;
}>>> | import("@tsed/di").FactoryTokenProvider<{
$prompt: any;
$exec: any;
token: import("@tsed/di").TokenProvider<import("@tsed/cli-core").CommandProvider>;
name: string;
alias?: string;
description: string;
args?: {
[key: string]: import("@tsed/cli-core").CommandArg;
};
inputSchema?: import("@tsed/schema").JsonSchema<import("@tsed/schema").PropsToShape<{
http: import("@tsed/schema").JsonSchema<boolean>;
}>> | (() => import("@tsed/schema").JsonSchema<import("@tsed/schema").PropsToShape<{
http: import("@tsed/schema").JsonSchema<boolean>;
}>>) | undefined;
options?: {
[key: string]: import("@tsed/cli-core").CommandOpts;
};
allowUnknownOption?: boolean;
enableFeatures?: string[];
disableReadUpPkg?: boolean;
renderMode?: import("@tsed/cli-tasks").TasksOptions["renderMode"];
} | {
$prompt: any;
$exec: any;
handler: (data: import("@tsed/schema").PropsToShape<{
http: import("@tsed/schema").JsonSchema<boolean>;
}>) => import("@tsed/cli-tasks").MaybePromise<void | import("@tsed/cli-tasks").Task<import("@tsed/schema").PropsToShape<{
http: import("@tsed/schema").JsonSchema<boolean>;
}>>[]>;
prompt?(initialOptions: Partial<import("@tsed/schema").PropsToShape<{
http: import("@tsed/schema").JsonSchema<boolean>;
}>>): import("@tsed/cli-prompts").PromptQuestion[] | Promise<import("@tsed/cli-prompts").PromptQuestion[]>;
name: string;
alias?: string;
description: string;
args?: {
[key: string]: import("@tsed/cli-core").CommandArg;
};
inputSchema?: import("@tsed/schema").JsonSchema<import("@tsed/schema").PropsToShape<{
http: import("@tsed/schema").JsonSchema<boolean>;
}>> | (() => import("@tsed/schema").JsonSchema<import("@tsed/schema").PropsToShape<{
http: import("@tsed/schema").JsonSchema<boolean>;
}>>) | undefined;
options?: {
[key: string]: import("@tsed/cli-core").CommandOpts;
};
allowUnknownOption?: boolean;
enableFeatures?: string[];
disableReadUpPkg?: boolean;
renderMode?: import("@tsed/cli-tasks").TasksOptions["renderMode"];
}> | import("@tsed/core").Type<import("@tsed/cli-core").CommandProvider<import("@tsed/schema").PropsToShape<{
http: import("@tsed/schema").JsonSchema<boolean>;
}>>> | typeof RunCmd | typeof UpdateCmd)[];
export default _default;