ttrpg-tools/src/cli/types.ts

17 lines
375 B
TypeScript
Raw Normal View History

2026-02-26 00:17:23 +08:00
export interface ServeOptions {
port: string;
}
export interface CompileOptions {
output: string;
}
2026-02-26 13:35:09 +08:00
export type ServeCommandHandler = (dir: string, options: ServeOptions) => Promise<void>;
export type CompileCommandHandler = (dir: string, options: CompileOptions) => Promise<void>;
2026-02-26 00:17:23 +08:00
export interface MarkdownFile {
path: string;
route: string;
content: string;
}