16 lines
294 B
TypeScript
16 lines
294 B
TypeScript
|
|
export interface ServeOptions {
|
||
|
|
port: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface CompileOptions {
|
||
|
|
output: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export type CommandHandler = (dir: string, options: ServeOptions | CompileOptions) => Promise<void>;
|
||
|
|
|
||
|
|
export interface MarkdownFile {
|
||
|
|
path: string;
|
||
|
|
route: string;
|
||
|
|
content: string;
|
||
|
|
}
|