refactor: clean up main entry point
- Use shared terminal helpers (hideCursor, showCursor, clearLine, clearScreen, visibleLength, padRight) from terminal.ts - Simplify allCommandDefs dedup with new Set() - Centralize terminal state restore into exitMenu() closure + finally Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gai",
|
||||
"version": "0.1.3",
|
||||
"version": "0.1.4",
|
||||
"description": "AI-powered git helper — commit messages, PRs, code review, changelogs, and more",
|
||||
"module": "index.ts",
|
||||
"type": "module",
|
||||
|
||||
Reference in New Issue
Block a user