feat: overhaul CLI with new AI commands and mole-style menu #6

Merged
Mplan merged 24 commits from v0.1.3 into main 2026-06-17 00:17:31 +08:00
Showing only changes of commit df10ce5b0e - Show all commits
+18 -15
View File
@@ -121,23 +121,26 @@ git diff | gai suggest branch
Run `gai` without arguments to open the mole-style interactive menu: Run `gai` without arguments to open the mole-style interactive menu:
``` ```
██████╗ █████╗ ██╗ gai v0.1.3
██╔════╝ ██╔══██╗██║ AI-powered git helper for commits, PRs, reviews, and changelogs
██║ ██╗ ███████║██║ ────────────────────────────────────────────────────────────────────────
██║ ██║ ██╔══██║██║
╚██████╝ ██║ ██║██║ AI-powered git helper
╚═════╝ ╚═╝ ╚═╝╚═╝ v0.1.3
➤ 1. Commit Generate AI commit message CREATE
2. PR Create a PR with AI-generated title 1 Commit Generate AI commit message
3. Explain Explain staged changes in plain language 2 PR Create a PR with AI-generated title
4. Review AI code review of staged changes 3 Amend Amend last commit with AI message
5. Changelog Generate changelog from commits
6. Suggest Suggest branch name or commit type
7. Amend Amend last commit with AI message
8. Config Configure API settings
↑↓ | Enter | H Help | V Version | Q Quit INSPECT
4 Explain Explain staged changes in plain language
5 Review AI code review of staged changes
6 Changelog Generate changelog from commits
7 Suggest Suggest branch name or commit type
PROJECT
8 Config Configure API settings
────────────────────────────────────────────────────────────────────────
↑/↓ navigate enter run 1-8 jump h help v version q quit
``` ```
Number keys `1``8` jump directly to the corresponding action. After a command finishes, press Enter to return to the menu. Number keys `1``8` jump directly to the corresponding action. After a command finishes, press Enter to return to the menu.