ttrpg-tools/src/cli/types.ts

16 lines
294 B
TypeScript
Raw Normal View History

2026-02-26 00:17:23 +08:00
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;
}