@internxt/cli 1.5.8 → 1.6.1

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.
Files changed (86) hide show
  1. package/README.md +187 -95
  2. package/dist/commands/create-folder.d.ts +3 -3
  3. package/dist/commands/delete-permanently-file.d.ts +2 -2
  4. package/dist/commands/delete-permanently-folder.d.ts +2 -2
  5. package/dist/commands/download-file.d.ts +4 -5
  6. package/dist/commands/download-file.js +22 -37
  7. package/dist/commands/list.d.ts +4 -4
  8. package/dist/commands/login-legacy.d.ts +24 -0
  9. package/dist/commands/login-legacy.js +175 -0
  10. package/dist/commands/login.d.ts +3 -9
  11. package/dist/commands/login.js +18 -132
  12. package/dist/commands/move-file.d.ts +4 -4
  13. package/dist/commands/move-folder.d.ts +3 -3
  14. package/dist/commands/rename-file.d.ts +3 -3
  15. package/dist/commands/rename-folder.d.ts +3 -3
  16. package/dist/commands/trash-clear.d.ts +2 -2
  17. package/dist/commands/trash-file.d.ts +2 -2
  18. package/dist/commands/trash-file.js +1 -1
  19. package/dist/commands/trash-folder.d.ts +2 -2
  20. package/dist/commands/trash-folder.js +1 -1
  21. package/dist/commands/trash-list.d.ts +2 -2
  22. package/dist/commands/trash-restore-file.d.ts +4 -4
  23. package/dist/commands/trash-restore-folder.d.ts +3 -3
  24. package/dist/commands/upload-file.d.ts +8 -8
  25. package/dist/commands/upload-file.js +7 -40
  26. package/dist/commands/upload-folder.d.ts +16 -0
  27. package/dist/commands/upload-folder.js +87 -0
  28. package/dist/commands/webdav-config.d.ts +6 -6
  29. package/dist/commands/webdav.d.ts +1 -1
  30. package/dist/commands/whoami.js +1 -1
  31. package/dist/hooks/prerun/auth_check.js +2 -1
  32. package/dist/services/auth.service.d.ts +1 -2
  33. package/dist/services/auth.service.js +11 -26
  34. package/dist/services/crypto.service.js +1 -1
  35. package/dist/services/database/drive-file/drive-file.domain.js +1 -0
  36. package/dist/services/database/drive-folder/drive-folder.domain.js +1 -0
  37. package/dist/services/drive/drive-file.service.js +1 -0
  38. package/dist/services/drive/drive-folder.service.d.ts +1 -1
  39. package/dist/services/drive/trash.service.d.ts +1 -1
  40. package/dist/services/local-filesystem/local-filesystem.service.d.ts +6 -0
  41. package/dist/services/local-filesystem/local-filesystem.service.js +57 -0
  42. package/dist/services/local-filesystem/local-filesystem.types.d.ts +13 -0
  43. package/dist/services/local-filesystem/local-filesystem.types.js +2 -0
  44. package/dist/services/network/upload/upload-facade.service.d.ts +9 -0
  45. package/dist/services/network/upload/upload-facade.service.js +53 -0
  46. package/dist/services/network/upload/upload-file.service.d.ts +7 -0
  47. package/dist/services/network/upload/upload-file.service.js +112 -0
  48. package/dist/services/network/upload/upload-folder.service.d.ts +6 -0
  49. package/dist/services/network/upload/upload-folder.service.js +62 -0
  50. package/dist/services/network/upload/upload.types.d.ts +53 -0
  51. package/dist/services/network/upload/upload.types.js +6 -0
  52. package/dist/services/thumbnail.service.js +1 -34
  53. package/dist/services/universal-link.service.d.ts +10 -0
  54. package/dist/services/universal-link.service.js +85 -0
  55. package/dist/types/command.types.d.ts +3 -2
  56. package/dist/types/command.types.js +8 -1
  57. package/dist/types/drive.types.d.ts +2 -0
  58. package/dist/types/fast-xml-parser.types.d.ts +59 -0
  59. package/dist/types/fast-xml-parser.types.js +2 -0
  60. package/dist/types/webdav.types.d.ts +0 -1
  61. package/dist/utils/cli.utils.d.ts +13 -2
  62. package/dist/utils/cli.utils.js +47 -0
  63. package/dist/utils/drive.utils.js +3 -0
  64. package/dist/utils/errors.utils.d.ts +1 -0
  65. package/dist/utils/errors.utils.js +5 -0
  66. package/dist/utils/logger.utils.js +10 -0
  67. package/dist/utils/network.utils.d.ts +2 -2
  68. package/dist/utils/network.utils.js +7 -5
  69. package/dist/utils/thumbnail.utils.d.ts +17 -0
  70. package/dist/utils/thumbnail.utils.js +29 -1
  71. package/dist/utils/webdav.utils.d.ts +12 -10
  72. package/dist/utils/webdav.utils.js +39 -29
  73. package/dist/utils/xml.utils.d.ts +1 -1
  74. package/dist/webdav/handlers/DELETE.handler.js +5 -5
  75. package/dist/webdav/handlers/GET.handler.js +43 -33
  76. package/dist/webdav/handlers/HEAD.handler.js +5 -10
  77. package/dist/webdav/handlers/MKCOL.handler.js +4 -4
  78. package/dist/webdav/handlers/MOVE.handler.js +19 -17
  79. package/dist/webdav/handlers/OPTIONS.handler.js +3 -3
  80. package/dist/webdav/handlers/PROPFIND.handler.js +7 -31
  81. package/dist/webdav/handlers/PUT.handler.d.ts +2 -0
  82. package/dist/webdav/handlers/PUT.handler.js +10 -8
  83. package/dist/webdav/services/webdav-folder.service.js +5 -4
  84. package/dist/webdav/webdav-server.js +1 -0
  85. package/oclif.manifest.json +121 -3
  86. package/package.json +33 -32
package/README.md CHANGED
@@ -38,7 +38,7 @@ We aim to achieve:
38
38
 
39
39
  You can install the Internxt CLI by using NPM:
40
40
 
41
- Requires Node >= 22.12.0
41
+ Requires Node >= 22.13.0
42
42
 
43
43
  `npm i -g @internxt/cli`
44
44
 
@@ -52,7 +52,7 @@ $ npm install -g @internxt/cli
52
52
  $ internxt COMMAND
53
53
  running command...
54
54
  $ internxt (--version)
55
- @internxt/cli/1.5.8 linux-x64 node-v22.21.1
55
+ @internxt/cli/1.6.1 linux-x64 node-v22.21.1
56
56
  $ internxt --help [COMMAND]
57
57
  USAGE
58
58
  $ internxt COMMAND
@@ -79,6 +79,7 @@ USAGE
79
79
  * [`internxt download file`](#internxt-download-file)
80
80
  * [`internxt list`](#internxt-list)
81
81
  * [`internxt login`](#internxt-login)
82
+ * [`internxt login-legacy`](#internxt-login-legacy)
82
83
  * [`internxt logout`](#internxt-logout)
83
84
  * [`internxt logs`](#internxt-logs)
84
85
  * [`internxt move-file`](#internxt-move-file)
@@ -102,7 +103,9 @@ USAGE
102
103
  * [`internxt trash restore file`](#internxt-trash-restore-file)
103
104
  * [`internxt trash restore folder`](#internxt-trash-restore-folder)
104
105
  * [`internxt upload-file`](#internxt-upload-file)
106
+ * [`internxt upload-folder`](#internxt-upload-folder)
105
107
  * [`internxt upload file`](#internxt-upload-file)
108
+ * [`internxt upload folder`](#internxt-upload-folder)
106
109
  * [`internxt webdav ACTION`](#internxt-webdav-action)
107
110
  * [`internxt webdav-config`](#internxt-webdav-config)
108
111
  * [`internxt whoami`](#internxt-whoami)
@@ -125,7 +128,7 @@ EXAMPLES
125
128
  $ internxt add-cert
126
129
  ```
127
130
 
128
- _See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/add-cert.ts)_
131
+ _See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/add-cert.ts)_
129
132
 
130
133
  ## `internxt autocomplete [SHELL]`
131
134
 
@@ -136,7 +139,7 @@ USAGE
136
139
  $ internxt autocomplete [SHELL] [-r]
137
140
 
138
141
  ARGUMENTS
139
- SHELL (zsh|bash|powershell) Shell type
142
+ [SHELL] (zsh|bash|powershell) Shell type
140
143
 
141
144
  FLAGS
142
145
  -r, --refresh-cache Refresh cache (ignores displaying instructions)
@@ -156,7 +159,7 @@ EXAMPLES
156
159
  $ internxt autocomplete --refresh-cache
157
160
  ```
158
161
 
159
- _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.36/src/commands/autocomplete/index.ts)_
162
+ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.39/src/commands/autocomplete/index.ts)_
160
163
 
161
164
  ## `internxt config`
162
165
 
@@ -176,7 +179,7 @@ EXAMPLES
176
179
  $ internxt config
177
180
  ```
178
181
 
179
- _See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/config.ts)_
182
+ _See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/config.ts)_
180
183
 
181
184
  ## `internxt create-folder`
182
185
 
@@ -192,8 +195,8 @@ FLAGS
192
195
  -n, --name=<value> The new name for the folder
193
196
 
194
197
  HELPER FLAGS
195
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
196
- the console and will throw errors directly.
198
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
199
+ not request input through the console and will throw errors directly.
197
200
 
198
201
  GLOBAL FLAGS
199
202
  --json Format output as json.
@@ -205,7 +208,7 @@ EXAMPLES
205
208
  $ internxt create-folder
206
209
  ```
207
210
 
208
- _See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/create-folder.ts)_
211
+ _See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/create-folder.ts)_
209
212
 
210
213
  ## `internxt delete-permanently-file`
211
214
 
@@ -219,8 +222,8 @@ FLAGS
219
222
  -i, --id=<value> The file id to be permanently deleted.
220
223
 
221
224
  HELPER FLAGS
222
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
223
- the console and will throw errors directly.
225
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
226
+ not request input through the console and will throw errors directly.
224
227
 
225
228
  GLOBAL FLAGS
226
229
  --json Format output as json.
@@ -235,7 +238,7 @@ EXAMPLES
235
238
  $ internxt delete-permanently-file
236
239
  ```
237
240
 
238
- _See code: [src/commands/delete-permanently-file.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/delete-permanently-file.ts)_
241
+ _See code: [src/commands/delete-permanently-file.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/delete-permanently-file.ts)_
239
242
 
240
243
  ## `internxt delete-permanently-folder`
241
244
 
@@ -249,8 +252,8 @@ FLAGS
249
252
  -i, --id=<value> The folder id to be permanently deleted.
250
253
 
251
254
  HELPER FLAGS
252
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
253
- the console and will throw errors directly.
255
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
256
+ not request input through the console and will throw errors directly.
254
257
 
255
258
  GLOBAL FLAGS
256
259
  --json Format output as json.
@@ -265,7 +268,7 @@ EXAMPLES
265
268
  $ internxt delete-permanently-folder
266
269
  ```
267
270
 
268
- _See code: [src/commands/delete-permanently-folder.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/delete-permanently-folder.ts)_
271
+ _See code: [src/commands/delete-permanently-folder.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/delete-permanently-folder.ts)_
269
272
 
270
273
  ## `internxt delete permanently file`
271
274
 
@@ -279,8 +282,8 @@ FLAGS
279
282
  -i, --id=<value> The file id to be permanently deleted.
280
283
 
281
284
  HELPER FLAGS
282
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
283
- the console and will throw errors directly.
285
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
286
+ not request input through the console and will throw errors directly.
284
287
 
285
288
  GLOBAL FLAGS
286
289
  --json Format output as json.
@@ -307,8 +310,8 @@ FLAGS
307
310
  -i, --id=<value> The folder id to be permanently deleted.
308
311
 
309
312
  HELPER FLAGS
310
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
311
- the console and will throw errors directly.
313
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
314
+ not request input through the console and will throw errors directly.
312
315
 
313
316
  GLOBAL FLAGS
314
317
  --json Format output as json.
@@ -337,8 +340,8 @@ FLAGS
337
340
  -o, --overwrite Overwrite the file if it already exists
338
341
 
339
342
  HELPER FLAGS
340
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
341
- the console and will throw errors directly.
343
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
344
+ not request input through the console and will throw errors directly.
342
345
 
343
346
  GLOBAL FLAGS
344
347
  --json Format output as json.
@@ -354,7 +357,7 @@ EXAMPLES
354
357
  $ internxt download-file
355
358
  ```
356
359
 
357
- _See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/download-file.ts)_
360
+ _See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/download-file.ts)_
358
361
 
359
362
  ## `internxt download file`
360
363
 
@@ -370,8 +373,8 @@ FLAGS
370
373
  -o, --overwrite Overwrite the file if it already exists
371
374
 
372
375
  HELPER FLAGS
373
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
374
- the console and will throw errors directly.
376
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
377
+ not request input through the console and will throw errors directly.
375
378
 
376
379
  GLOBAL FLAGS
377
380
  --json Format output as json.
@@ -400,8 +403,8 @@ FLAGS
400
403
  -i, --id=<value> The folder id to list. Leave empty for the root folder.
401
404
 
402
405
  HELPER FLAGS
403
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
404
- the console and will throw errors directly.
406
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
407
+ not request input through the console and will throw errors directly.
405
408
 
406
409
  GLOBAL FLAGS
407
410
  --json Format output as json.
@@ -413,38 +416,67 @@ EXAMPLES
413
416
  $ internxt list
414
417
  ```
415
418
 
416
- _See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/list.ts)_
419
+ _See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/list.ts)_
417
420
 
418
421
  ## `internxt login`
419
422
 
420
- Logs into an Internxt account. If the account is two-factor protected, then an extra code will be required.
423
+ Logs into your Internxt account using the web-based login flow. A temporary local server is started to securely receive the authentication response.
421
424
 
422
425
  ```
423
426
  USAGE
424
- $ internxt login [--json] [-x] [-e <value>] [-p <value>] [-w 123456] [-t token]
427
+ $ internxt login [--json] [-h <value>] [-p <value>]
425
428
 
426
429
  FLAGS
427
- -e, --email=<value> The email to log in
428
- -p, --password=<value> The plain password to log in
429
- -t, --twofactortoken=token The TOTP secret token. It is used to generate a TOTP code if needed. It has prority over
430
- the two factor code flag.
431
- -w, --twofactor=123456 The two factor auth code (TOTP).
430
+ -h, --host=<value> [env: INXT_LOGIN_SERVER_HOST] IP address of the machine where the CLI is running. If you are
431
+ opening the login page in a browser on another device, set this to the IP address of the machine
432
+ running the CLI. Defaults to 127.0.0.1.
433
+ -p, --port=<value> [env: INXT_LOGIN_SERVER_PORT] Port used by the temporary local server to handle the login
434
+ callback. If not specified, a random available port will be used automatically.
435
+
436
+ GLOBAL FLAGS
437
+ --json Format output as json.
438
+
439
+ DESCRIPTION
440
+ Logs into your Internxt account using the web-based login flow. A temporary local server is started to securely
441
+ receive the authentication response.
442
+
443
+ EXAMPLES
444
+ $ internxt login
445
+ ```
446
+
447
+ _See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/login.ts)_
448
+
449
+ ## `internxt login-legacy`
450
+
451
+ [Legacy] Logs into an Internxt account using user and password. If the account is two-factor protected, then an extra code will be required.
452
+
453
+ ```
454
+ USAGE
455
+ $ internxt login-legacy [--json] [-x] [-e <value>] [-p <value>] [-w 123456] [-t token]
456
+
457
+ FLAGS
458
+ -e, --email=<value> [env: INXT_USER] The email to log in
459
+ -p, --password=<value> [env: INXT_PASSWORD] The plain password to log in
460
+ -t, --twofactortoken=token [env: INXT_OTPTOKEN] The TOTP secret token. It is used to generate a TOTP code if needed.
461
+ It has prority over the two factor code flag.
462
+ -w, --twofactor=123456 [env: INXT_TWOFACTORCODE] The two factor auth code (TOTP).
432
463
 
433
464
  HELPER FLAGS
434
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
435
- the console and will throw errors directly.
465
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
466
+ not request input through the console and will throw errors directly.
436
467
 
437
468
  GLOBAL FLAGS
438
469
  --json Format output as json.
439
470
 
440
471
  DESCRIPTION
441
- Logs into an Internxt account. If the account is two-factor protected, then an extra code will be required.
472
+ [Legacy] Logs into an Internxt account using user and password. If the account is two-factor protected, then an extra
473
+ code will be required.
442
474
 
443
475
  EXAMPLES
444
- $ internxt login
476
+ $ internxt login-legacy
445
477
  ```
446
478
 
447
- _See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/login.ts)_
479
+ _See code: [src/commands/login-legacy.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/login-legacy.ts)_
448
480
 
449
481
  ## `internxt logout`
450
482
 
@@ -464,7 +496,7 @@ EXAMPLES
464
496
  $ internxt logout
465
497
  ```
466
498
 
467
- _See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/logout.ts)_
499
+ _See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/logout.ts)_
468
500
 
469
501
  ## `internxt logs`
470
502
 
@@ -484,7 +516,7 @@ EXAMPLES
484
516
  $ internxt logs
485
517
  ```
486
518
 
487
- _See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/logs.ts)_
519
+ _See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/logs.ts)_
488
520
 
489
521
  ## `internxt move-file`
490
522
 
@@ -500,8 +532,8 @@ FLAGS
500
532
  -i, --id=<value> The ID of the file to be moved.
501
533
 
502
534
  HELPER FLAGS
503
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
504
- the console and will throw errors directly.
535
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
536
+ not request input through the console and will throw errors directly.
505
537
 
506
538
  GLOBAL FLAGS
507
539
  --json Format output as json.
@@ -516,7 +548,7 @@ EXAMPLES
516
548
  $ internxt move-file
517
549
  ```
518
550
 
519
- _See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/move-file.ts)_
551
+ _See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/move-file.ts)_
520
552
 
521
553
  ## `internxt move-folder`
522
554
 
@@ -532,8 +564,8 @@ FLAGS
532
564
  -i, --id=<value> The ID of the folder to be moved.
533
565
 
534
566
  HELPER FLAGS
535
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
536
- the console and will throw errors directly.
567
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
568
+ not request input through the console and will throw errors directly.
537
569
 
538
570
  GLOBAL FLAGS
539
571
  --json Format output as json.
@@ -548,7 +580,7 @@ EXAMPLES
548
580
  $ internxt move-folder
549
581
  ```
550
582
 
551
- _See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/move-folder.ts)_
583
+ _See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/move-folder.ts)_
552
584
 
553
585
  ## `internxt move file`
554
586
 
@@ -564,8 +596,8 @@ FLAGS
564
596
  -i, --id=<value> The ID of the file to be moved.
565
597
 
566
598
  HELPER FLAGS
567
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
568
- the console and will throw errors directly.
599
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
600
+ not request input through the console and will throw errors directly.
569
601
 
570
602
  GLOBAL FLAGS
571
603
  --json Format output as json.
@@ -594,8 +626,8 @@ FLAGS
594
626
  -i, --id=<value> The ID of the folder to be moved.
595
627
 
596
628
  HELPER FLAGS
597
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
598
- the console and will throw errors directly.
629
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
630
+ not request input through the console and will throw errors directly.
599
631
 
600
632
  GLOBAL FLAGS
601
633
  --json Format output as json.
@@ -623,8 +655,8 @@ FLAGS
623
655
  -n, --name=<value> The new name for the file.
624
656
 
625
657
  HELPER FLAGS
626
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
627
- the console and will throw errors directly.
658
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
659
+ not request input through the console and will throw errors directly.
628
660
 
629
661
  GLOBAL FLAGS
630
662
  --json Format output as json.
@@ -639,7 +671,7 @@ EXAMPLES
639
671
  $ internxt rename-file
640
672
  ```
641
673
 
642
- _See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/rename-file.ts)_
674
+ _See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/rename-file.ts)_
643
675
 
644
676
  ## `internxt rename-folder`
645
677
 
@@ -654,8 +686,8 @@ FLAGS
654
686
  -n, --name=<value> The new name for the folder.
655
687
 
656
688
  HELPER FLAGS
657
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
658
- the console and will throw errors directly.
689
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
690
+ not request input through the console and will throw errors directly.
659
691
 
660
692
  GLOBAL FLAGS
661
693
  --json Format output as json.
@@ -670,7 +702,7 @@ EXAMPLES
670
702
  $ internxt rename-folder
671
703
  ```
672
704
 
673
- _See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/rename-folder.ts)_
705
+ _See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/rename-folder.ts)_
674
706
 
675
707
  ## `internxt rename file`
676
708
 
@@ -685,8 +717,8 @@ FLAGS
685
717
  -n, --name=<value> The new name for the file.
686
718
 
687
719
  HELPER FLAGS
688
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
689
- the console and will throw errors directly.
720
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
721
+ not request input through the console and will throw errors directly.
690
722
 
691
723
  GLOBAL FLAGS
692
724
  --json Format output as json.
@@ -714,8 +746,8 @@ FLAGS
714
746
  -n, --name=<value> The new name for the folder.
715
747
 
716
748
  HELPER FLAGS
717
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
718
- the console and will throw errors directly.
749
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
750
+ not request input through the console and will throw errors directly.
719
751
 
720
752
  GLOBAL FLAGS
721
753
  --json Format output as json.
@@ -742,8 +774,8 @@ FLAGS
742
774
  -f, --force It forces the trash to be emptied without confirmation.
743
775
 
744
776
  HELPER FLAGS
745
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
746
- the console and will throw errors directly.
777
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
778
+ not request input through the console and will throw errors directly.
747
779
 
748
780
  GLOBAL FLAGS
749
781
  --json Format output as json.
@@ -758,7 +790,7 @@ EXAMPLES
758
790
  $ internxt trash-clear
759
791
  ```
760
792
 
761
- _See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/trash-clear.ts)_
793
+ _See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/trash-clear.ts)_
762
794
 
763
795
  ## `internxt trash-file`
764
796
 
@@ -772,8 +804,8 @@ FLAGS
772
804
  -i, --id=<value> The file id to be trashed.
773
805
 
774
806
  HELPER FLAGS
775
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
776
- the console and will throw errors directly.
807
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
808
+ not request input through the console and will throw errors directly.
777
809
 
778
810
  GLOBAL FLAGS
779
811
  --json Format output as json.
@@ -788,7 +820,7 @@ EXAMPLES
788
820
  $ internxt trash-file
789
821
  ```
790
822
 
791
- _See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/trash-file.ts)_
823
+ _See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/trash-file.ts)_
792
824
 
793
825
  ## `internxt trash-folder`
794
826
 
@@ -802,8 +834,8 @@ FLAGS
802
834
  -i, --id=<value> The folder id to be trashed.
803
835
 
804
836
  HELPER FLAGS
805
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
806
- the console and will throw errors directly.
837
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
838
+ not request input through the console and will throw errors directly.
807
839
 
808
840
  GLOBAL FLAGS
809
841
  --json Format output as json.
@@ -818,7 +850,7 @@ EXAMPLES
818
850
  $ internxt trash-folder
819
851
  ```
820
852
 
821
- _See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/trash-folder.ts)_
853
+ _See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/trash-folder.ts)_
822
854
 
823
855
  ## `internxt trash-list`
824
856
 
@@ -844,7 +876,7 @@ EXAMPLES
844
876
  $ internxt trash-list
845
877
  ```
846
878
 
847
- _See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/trash-list.ts)_
879
+ _See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/trash-list.ts)_
848
880
 
849
881
  ## `internxt trash-restore-file`
850
882
 
@@ -859,8 +891,8 @@ FLAGS
859
891
  -i, --id=<value> The file id to be restored from the trash.
860
892
 
861
893
  HELPER FLAGS
862
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
863
- the console and will throw errors directly.
894
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
895
+ not request input through the console and will throw errors directly.
864
896
 
865
897
  GLOBAL FLAGS
866
898
  --json Format output as json.
@@ -875,7 +907,7 @@ EXAMPLES
875
907
  $ internxt trash-restore-file
876
908
  ```
877
909
 
878
- _See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/trash-restore-file.ts)_
910
+ _See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/trash-restore-file.ts)_
879
911
 
880
912
  ## `internxt trash-restore-folder`
881
913
 
@@ -890,8 +922,8 @@ FLAGS
890
922
  -i, --id=<value> The folder id to be restored from the trash.
891
923
 
892
924
  HELPER FLAGS
893
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
894
- the console and will throw errors directly.
925
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
926
+ not request input through the console and will throw errors directly.
895
927
 
896
928
  GLOBAL FLAGS
897
929
  --json Format output as json.
@@ -906,7 +938,7 @@ EXAMPLES
906
938
  $ internxt trash-restore-folder
907
939
  ```
908
940
 
909
- _See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/trash-restore-folder.ts)_
941
+ _See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/trash-restore-folder.ts)_
910
942
 
911
943
  ## `internxt trash clear`
912
944
 
@@ -920,8 +952,8 @@ FLAGS
920
952
  -f, --force It forces the trash to be emptied without confirmation.
921
953
 
922
954
  HELPER FLAGS
923
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
924
- the console and will throw errors directly.
955
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
956
+ not request input through the console and will throw errors directly.
925
957
 
926
958
  GLOBAL FLAGS
927
959
  --json Format output as json.
@@ -948,8 +980,8 @@ FLAGS
948
980
  -i, --id=<value> The file id to be trashed.
949
981
 
950
982
  HELPER FLAGS
951
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
952
- the console and will throw errors directly.
983
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
984
+ not request input through the console and will throw errors directly.
953
985
 
954
986
  GLOBAL FLAGS
955
987
  --json Format output as json.
@@ -976,8 +1008,8 @@ FLAGS
976
1008
  -i, --id=<value> The folder id to be trashed.
977
1009
 
978
1010
  HELPER FLAGS
979
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
980
- the console and will throw errors directly.
1011
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
1012
+ not request input through the console and will throw errors directly.
981
1013
 
982
1014
  GLOBAL FLAGS
983
1015
  --json Format output as json.
@@ -1029,8 +1061,8 @@ FLAGS
1029
1061
  -i, --id=<value> The file id to be restored from the trash.
1030
1062
 
1031
1063
  HELPER FLAGS
1032
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
1033
- the console and will throw errors directly.
1064
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
1065
+ not request input through the console and will throw errors directly.
1034
1066
 
1035
1067
  GLOBAL FLAGS
1036
1068
  --json Format output as json.
@@ -1058,8 +1090,8 @@ FLAGS
1058
1090
  -i, --id=<value> The folder id to be restored from the trash.
1059
1091
 
1060
1092
  HELPER FLAGS
1061
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
1062
- the console and will throw errors directly.
1093
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
1094
+ not request input through the console and will throw errors directly.
1063
1095
 
1064
1096
  GLOBAL FLAGS
1065
1097
  --json Format output as json.
@@ -1087,8 +1119,8 @@ FLAGS
1087
1119
  -i, --destination=<value> The folder id where the file is going to be uploaded to. Leave empty for the root folder.
1088
1120
 
1089
1121
  HELPER FLAGS
1090
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
1091
- the console and will throw errors directly.
1122
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
1123
+ not request input through the console and will throw errors directly.
1092
1124
 
1093
1125
  GLOBAL FLAGS
1094
1126
  --json Format output as json.
@@ -1103,7 +1135,38 @@ EXAMPLES
1103
1135
  $ internxt upload-file
1104
1136
  ```
1105
1137
 
1106
- _See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/upload-file.ts)_
1138
+ _See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/upload-file.ts)_
1139
+
1140
+ ## `internxt upload-folder`
1141
+
1142
+ Upload a folder to Internxt Drive
1143
+
1144
+ ```
1145
+ USAGE
1146
+ $ internxt upload-folder [--json] [-x] [-f <value>] [-i <value>]
1147
+
1148
+ FLAGS
1149
+ -f, --folder=<value> The path to the folder on your system.
1150
+ -i, --destination=<value> The folder id where the folder is going to be uploaded to. Leave empty for the root folder.
1151
+
1152
+ HELPER FLAGS
1153
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
1154
+ not request input through the console and will throw errors directly.
1155
+
1156
+ GLOBAL FLAGS
1157
+ --json Format output as json.
1158
+
1159
+ DESCRIPTION
1160
+ Upload a folder to Internxt Drive
1161
+
1162
+ ALIASES
1163
+ $ internxt upload folder
1164
+
1165
+ EXAMPLES
1166
+ $ internxt upload-folder
1167
+ ```
1168
+
1169
+ _See code: [src/commands/upload-folder.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/upload-folder.ts)_
1107
1170
 
1108
1171
  ## `internxt upload file`
1109
1172
 
@@ -1118,8 +1181,8 @@ FLAGS
1118
1181
  -i, --destination=<value> The folder id where the file is going to be uploaded to. Leave empty for the root folder.
1119
1182
 
1120
1183
  HELPER FLAGS
1121
- -x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
1122
- the console and will throw errors directly.
1184
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
1185
+ not request input through the console and will throw errors directly.
1123
1186
 
1124
1187
  GLOBAL FLAGS
1125
1188
  --json Format output as json.
@@ -1134,6 +1197,35 @@ EXAMPLES
1134
1197
  $ internxt upload file
1135
1198
  ```
1136
1199
 
1200
+ ## `internxt upload folder`
1201
+
1202
+ Upload a folder to Internxt Drive
1203
+
1204
+ ```
1205
+ USAGE
1206
+ $ internxt upload folder [--json] [-x] [-f <value>] [-i <value>]
1207
+
1208
+ FLAGS
1209
+ -f, --folder=<value> The path to the folder on your system.
1210
+ -i, --destination=<value> The folder id where the folder is going to be uploaded to. Leave empty for the root folder.
1211
+
1212
+ HELPER FLAGS
1213
+ -x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
1214
+ not request input through the console and will throw errors directly.
1215
+
1216
+ GLOBAL FLAGS
1217
+ --json Format output as json.
1218
+
1219
+ DESCRIPTION
1220
+ Upload a folder to Internxt Drive
1221
+
1222
+ ALIASES
1223
+ $ internxt upload folder
1224
+
1225
+ EXAMPLES
1226
+ $ internxt upload folder
1227
+ ```
1228
+
1137
1229
  ## `internxt webdav ACTION`
1138
1230
 
1139
1231
  Enable, disable, restart or get the status of the Internxt CLI WebDav server
@@ -1158,7 +1250,7 @@ EXAMPLES
1158
1250
  $ internxt webdav status
1159
1251
  ```
1160
1252
 
1161
- _See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/webdav.ts)_
1253
+ _See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/webdav.ts)_
1162
1254
 
1163
1255
  ## `internxt webdav-config`
1164
1256
 
@@ -1186,7 +1278,7 @@ EXAMPLES
1186
1278
  $ internxt webdav-config
1187
1279
  ```
1188
1280
 
1189
- _See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/webdav-config.ts)_
1281
+ _See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/webdav-config.ts)_
1190
1282
 
1191
1283
  ## `internxt whoami`
1192
1284
 
@@ -1206,7 +1298,7 @@ EXAMPLES
1206
1298
  $ internxt whoami
1207
1299
  ```
1208
1300
 
1209
- _See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.5.8/src/commands/whoami.ts)_
1301
+ _See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.6.1/src/commands/whoami.ts)_
1210
1302
  <!-- commandsstop -->
1211
1303
 
1212
1304
  # Current Limitations