feat(cli): add CLI entry point with commander and start command

This commit is contained in:
William Valentin
2026-02-05 22:14:42 -08:00
parent 6f7b5b8f0f
commit 72c75a8bd7
10 changed files with 175 additions and 8 deletions
+13
View File
@@ -0,0 +1,13 @@
import type { Command } from 'commander';
export function registerTuiCommand(program: Command): void {
program
.command('tui')
.description('Launch the interactive TUI')
.option('-f, --fullscreen', 'Start in fullscreen mode')
.option('-c, --config <path>', 'Config file path')
.action(async (_opts: { fullscreen?: boolean; config?: string }) => {
console.error('Not yet implemented');
process.exit(1);
});
}