zents-cli
Version:
ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.
32 lines (31 loc) • 854 B
TypeScript
import { Command } from '@oclif/command';
export interface ZenConfigStub {
config?: {
paths?: {
base?: {
src?: string;
dist?: string;
};
view?: string;
controller?: string;
service?: string;
entity?: string;
};
web?: {
port?: number;
};
};
}
export declare abstract class AbstractCommand extends Command {
protected generate(generatorKey: string, options?: Record<string, unknown>): Promise<void>;
protected getViewDirectories(): Promise<{
src: string;
dist: string;
}>;
protected getCompilerDirectories(): Promise<{
src: string;
dist: string;
}>;
protected getZenConfig(): Promise<ZenConfigStub>;
protected welcome(msg: string): void;
}