@dmsdc-ai/aigentry-telepty 0.1.17 → 0.1.18
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/cli.js +5 -0
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -557,6 +557,11 @@ async function main() {
|
|
|
557
557
|
return manageInteractive();
|
|
558
558
|
}
|
|
559
559
|
|
|
560
|
+
if (cmd === '--version' || cmd === '-v' || cmd === 'version') {
|
|
561
|
+
console.log(pkg.version);
|
|
562
|
+
return;
|
|
563
|
+
}
|
|
564
|
+
|
|
560
565
|
if (cmd === 'update') {
|
|
561
566
|
console.log('\x1b[36m🔄 Updating telepty to the latest version...\x1b[0m');
|
|
562
567
|
try {
|