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
+8 -5
View File
@@ -4,13 +4,16 @@
"description": "Self-hosted personal AI agent",
"type": "module",
"main": "dist/index.js",
"bin": {
"flynn": "dist/cli/index.js"
},
"scripts": {
"build": "tsc",
"dev": "tsx watch src/index.ts",
"start": "node dist/index.js",
"tui": "tsx src/tui.ts",
"tui:fs": "tsx src/tui.ts --fullscreen",
"tui:dev": "tsx watch src/tui.ts",
"dev": "tsx watch src/cli/index.ts -- start",
"start": "node dist/cli/index.js start",
"tui": "tsx src/cli/index.ts tui",
"tui:fs": "tsx src/cli/index.ts tui --fullscreen",
"tui:dev": "tsx watch src/cli/index.ts -- tui",
"test": "vitest",
"test:run": "vitest run",
"lint": "eslint src/",