@tsed/cli
Version:
CLI to bootstrap your Ts.ED project
13 lines (12 loc) • 381 B
TypeScript
import type { GenerateCmdContext } from "../../interfaces/GenerateCmdContext.js";
export declare function addContextMethods(context: GenerateCmdContext): {
getName: (state: {
type?: string;
name?: string;
}) => string;
getRoute: (state: {
type?: string;
name?: string;
}) => string;
getDirectories: (dir: string) => string[];
};