feat: overhaul CLI with new AI commands and mole-style menu #6
@@ -118,22 +118,29 @@ git diff | gai suggest branch
|
|||||||
|
|
||||||
### Interactive Menu
|
### Interactive Menu
|
||||||
|
|
||||||
```
|
Run `gai` without arguments to open the mole-style interactive menu:
|
||||||
$ gai
|
|
||||||
|
|
||||||
gai
|
|
||||||
AI-powered git helper — choose a workflow
|
|
||||||
↑/↓ navigate · enter/space select · ctrl+c cancel
|
|
||||||
|
|
||||||
❯ ● commit Generate AI commit message
|
|
||||||
○ pr Create a PR with AI-generated title
|
|
||||||
○ explain Explain staged changes in plain language
|
|
||||||
○ review AI code review of staged changes
|
|
||||||
○ changelog Generate changelog from commits
|
|
||||||
○ suggest Suggest branch name or commit type
|
|
||||||
○ amend Amend last commit with AI message
|
|
||||||
○ config Configure API settings
|
|
||||||
```
|
```
|
||||||
|
██████╗ █████╗ ██╗
|
||||||
|
██╔════╝ ██╔══██╗██║
|
||||||
|
██║ ██╗ ███████║██║
|
||||||
|
██║ ██║ ██╔══██║██║
|
||||||
|
╚██████╝ ██║ ██║██║ AI-powered git helper
|
||||||
|
╚═════╝ ╚═╝ ╚═╝╚═╝ v0.1.3
|
||||||
|
|
||||||
|
➤ 1. Commit Generate AI commit message
|
||||||
|
2. PR Create a PR with AI-generated title
|
||||||
|
3. Explain Explain staged changes in plain language
|
||||||
|
4. Review AI code review of staged changes
|
||||||
|
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
|
||||||
|
```
|
||||||
|
|
||||||
|
Number keys `1`–`8` jump directly to the corresponding action. After a command finishes, press Enter to return to the menu.
|
||||||
|
|
||||||
### Command Examples
|
### Command Examples
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user