d-drive-cli 2.2.0 → 2.2.2

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/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # D-Drive CLI v2.2.0
1
+ # D-Drive CLI v2.2.2
2
2
 
3
3
  Command-line tool for D-Drive cloud storage.
4
4
 
5
5
  ```
6
6
  ╔═══════════════════════════════════════╗
7
- ║ D-Drive CLI v2.2.0
7
+ ║ D-Drive CLI v2.2.2
8
8
  ║ Discord-based cloud storage ║
9
9
  ╚═══════════════════════════════════════╝
10
10
  ```
@@ -249,6 +249,14 @@ export DDRIVE_API_URL=https://your-server/api
249
249
 
250
250
  ## Changelog
251
251
 
252
+ ### v2.2.2
253
+ - **ACTUALLY** fixed double output issue (previous v2.2.1 had wrong fix)
254
+ - Added `process.exit(0)` after help display to prevent Commander.js duplicate
255
+ - Both `d-drive` and `drive` aliases work correctly
256
+
257
+ ### v2.2.1 (deprecated)
258
+ - Incorrectly removed `drive` alias thinking it caused double output
259
+
252
260
  ### v2.2.0
253
261
  - Added `drive` command alias for easier use
254
262
  - Interactive mode with menu-driven interface
package/dist/index.js CHANGED
@@ -292,5 +292,6 @@ async function interactiveConfig() {
292
292
  if (process.argv.length === 2 && !process.argv.includes('-v') && !process.argv.includes('--version') && !process.argv.includes('-h') && !process.argv.includes('--help')) {
293
293
  console.log(banner);
294
294
  program.outputHelp();
295
+ process.exit(0);
295
296
  }
296
297
  program.parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "d-drive-cli",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "D-Drive CLI tool for developers - Discord cloud storage",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -314,6 +314,7 @@ async function interactiveConfig() {
314
314
  if (process.argv.length === 2 && !process.argv.includes('-v') && !process.argv.includes('--version') && !process.argv.includes('-h') && !process.argv.includes('--help')) {
315
315
  console.log(banner);
316
316
  program.outputHelp();
317
+ process.exit(0);
317
318
  }
318
319
 
319
320
  program.parse();