gims 0.6.6 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/bin/gims.js +14 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.7] - 2025-10-26
|
|
4
|
+
|
|
5
|
+
### 🔧 Fixes
|
|
6
|
+
- **Added `-v` flag for version**: Now `g -v` or `gims -v` shows the version number
|
|
7
|
+
- **Renamed command**: Changed `help-quick` to `quick-help` (alias `q` still works)
|
|
8
|
+
- **Added `push` command**: Now `g push` or `gims push` works as a standalone command
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
3
12
|
## [0.6.6] - 2025-10-26
|
|
4
13
|
|
|
5
14
|
### 🔧 Improvements
|
package/bin/gims.js
CHANGED
|
@@ -137,7 +137,7 @@ async function hasChanges() {
|
|
|
137
137
|
program
|
|
138
138
|
.name('gims')
|
|
139
139
|
.alias('g')
|
|
140
|
-
.version(require('../package.json').version)
|
|
140
|
+
.version(require('../package.json').version, '-v, --version', 'Output the version number')
|
|
141
141
|
.option('--provider <name>', 'AI provider: auto|openai|gemini|groq|none')
|
|
142
142
|
.option('--model <name>', 'Model identifier for provider')
|
|
143
143
|
.option('--staged-only', 'Use only staged changes (default for suggest)')
|
|
@@ -321,7 +321,7 @@ program.command('config')
|
|
|
321
321
|
}
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
program.command('help
|
|
324
|
+
program.command('quick-help').alias('q')
|
|
325
325
|
.description('Show quick reference for main commands')
|
|
326
326
|
.action(() => {
|
|
327
327
|
console.log(color.bold('🚀 GIMS Quick Reference\n'));
|
|
@@ -648,6 +648,18 @@ program.command('pull')
|
|
|
648
648
|
catch (e) { handleError('Pull error', e); }
|
|
649
649
|
});
|
|
650
650
|
|
|
651
|
+
program.command('push')
|
|
652
|
+
.description('Push commits to remote')
|
|
653
|
+
.action(async () => {
|
|
654
|
+
await ensureRepo();
|
|
655
|
+
try {
|
|
656
|
+
Progress.info('Pushing to remote...');
|
|
657
|
+
await git.push();
|
|
658
|
+
Progress.success('Pushed to remote');
|
|
659
|
+
}
|
|
660
|
+
catch (e) { handleError('Push error', e); }
|
|
661
|
+
});
|
|
662
|
+
|
|
651
663
|
program.command('sync')
|
|
652
664
|
.description('Smart sync: pull + rebase/merge')
|
|
653
665
|
.option('--rebase', 'Use rebase instead of merge')
|