fix: correct command aliases - g i now initializes repo, g int for interactive mode

- Changed 'g i' from interactive to init command
- Updated 'g interactive' alias from 'i' to 'int'
- Verified 'g ls' and 'g ll' working correctly
- Updated all documentation (README, QUICK_REFERENCE, help text)
- Bumped version to 0.6.4
This commit is contained in:
s41r4j
2025-10-19 20:45:26 +05:30
parent ce005adf22
commit f2518b7db2
5 changed files with 23 additions and 9 deletions
+13
View File
@@ -1,5 +1,18 @@
# Changelog
## [0.6.4] - 2025-10-19
### 🔧 Command Aliases Fixed
- **Fixed `g i` alias**: Now correctly initializes a git repository (was incorrectly mapped to interactive mode)
- **Updated `g interactive` alias**: Changed from `g i` to `g int` to avoid conflicts
- **Verified `g ls` and `g ll`**: Both commands working correctly (short and detailed commit history)
### 📚 Documentation Updates
- Updated `QUICK_REFERENCE.md` to reflect correct command aliases
- Updated help output (`g q`) to show correct mappings
---
## [0.6.2] - 2024-12-19
### 🚀 AI Model Updates
+2 -2
View File
@@ -4,7 +4,7 @@
```bash
g s # Status - Enhanced git status with AI insights
g i # Interactive - Guided commit wizard
g i # Init - Initialize a new Git repository
g p # Preview - See what will be committed
g l # Local - AI commit locally
g o # Online - AI commit + push
@@ -34,7 +34,7 @@ g setup
g s
# 2. Commit with AI (choose one)
g i # Interactive mode (guided)
g int # Interactive mode (guided)
g o # One-command: commit + push
g l # Local commit only
+3 -2
View File
@@ -29,7 +29,8 @@ g o # AI commit + push
| Command | Description |
|---------|-------------|
| `g s` | Enhanced status with AI insights |
| `g i` | Interactive commit wizard |
| `g i` | Initialize git repository |
| `g int` | Interactive commit wizard |
| `g o` | AI commit + push |
| `g l` | AI commit locally |
| `g ls` | Commit history (short) |
@@ -48,7 +49,7 @@ g o # AI commit + push
```bash
# Daily workflow
g s # Check what changed
g i # Interactive commit
g int # Interactive commit
g o # Quick commit + push
# Advanced
+4 -4
View File
@@ -237,7 +237,7 @@ program.command('status').alias('s')
}
});
program.command('interactive').alias('i')
program.command('interactive').alias('int')
.description('Interactive commit wizard')
.action(async () => {
await ensureRepo();
@@ -304,7 +304,7 @@ program.command('help-quick').alias('q')
console.log(color.bold('Single-Letter Workflow:'));
console.log(` ${color.cyan('g s')} Status - Enhanced git status with AI insights`);
console.log(` ${color.cyan('g i')} Interactive - Guided commit wizard`);
console.log(` ${color.cyan('g i')} Init - Initialize a new Git repository`);
console.log(` ${color.cyan('g p')} Preview - See what will be committed`);
console.log(` ${color.cyan('g l')} Local - AI commit locally`);
console.log(` ${color.cyan('g o')} Online - AI commit + push`);
@@ -321,14 +321,14 @@ program.command('help-quick').alias('q')
console.log(color.bold('Essential Workflow:'));
console.log(` ${color.cyan('g s')} Check what's changed`);
console.log(` ${color.cyan('g i')} or ${color.cyan('g o')} Commit with AI`);
console.log(` ${color.cyan('g int')} or ${color.cyan('g o')} Commit with AI (interactive or online)`);
console.log(` ${color.cyan('g ls')} or ${color.cyan('g h')} View history\n`);
console.log(`For full help: ${color.cyan('g --help')}`);
console.log(`For detailed docs: See README.md`);
});
program.command('init')
program.command('init').alias('i')
.description('Initialize a new Git repository')
.action(async () => {
try {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "gims",
"version": "0.6.3",
"version": "0.6.4",
"description": "Git Made Simple AIpowered git helper using Gemini / OpenAI",
"author": "S41R4J",
"license": "MIT",