@internxt/cli 1.5.7 → 1.6.0
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 +136 -100
- package/dist/commands/add-cert.js +0 -1
- package/dist/commands/config.js +0 -1
- package/dist/commands/create-folder.js +0 -1
- package/dist/commands/delete-permanently-file.js +0 -1
- package/dist/commands/delete-permanently-folder.js +0 -1
- package/dist/commands/download-file.js +0 -1
- package/dist/commands/list.js +0 -1
- package/dist/commands/login-legacy.d.ts +24 -0
- package/dist/commands/login-legacy.js +175 -0
- package/dist/commands/login.d.ts +3 -9
- package/dist/commands/login.js +18 -133
- package/dist/commands/logout.js +0 -1
- package/dist/commands/logs.js +0 -1
- package/dist/commands/move-file.js +0 -1
- package/dist/commands/move-folder.js +0 -1
- package/dist/commands/rename-file.js +0 -1
- package/dist/commands/rename-folder.js +0 -1
- package/dist/commands/trash-clear.js +0 -1
- package/dist/commands/trash-file.js +1 -2
- package/dist/commands/trash-folder.js +1 -2
- package/dist/commands/trash-list.js +0 -1
- package/dist/commands/trash-restore-file.js +0 -1
- package/dist/commands/trash-restore-folder.js +0 -1
- package/dist/commands/upload-file.d.ts +2 -1
- package/dist/commands/upload-file.js +1 -2
- package/dist/commands/webdav-config.d.ts +1 -0
- package/dist/commands/webdav-config.js +10 -7
- package/dist/commands/webdav.js +0 -1
- package/dist/commands/whoami.js +1 -2
- package/dist/hooks/prerun/auth_check.js +2 -2
- package/dist/services/auth.service.d.ts +1 -2
- package/dist/services/auth.service.js +11 -26
- package/dist/services/config.service.d.ts +1 -0
- package/dist/services/config.service.js +3 -0
- package/dist/services/crypto.service.js +1 -1
- package/dist/services/database/drive-file/drive-file.domain.js +1 -0
- package/dist/services/database/drive-folder/drive-folder.domain.js +1 -0
- package/dist/services/drive/drive-file.service.js +1 -0
- package/dist/services/universal-link.service.d.ts +10 -0
- package/dist/services/universal-link.service.js +85 -0
- package/dist/types/command.types.d.ts +1 -2
- package/dist/types/drive.types.d.ts +3 -0
- package/dist/types/webdav.types.d.ts +0 -1
- package/dist/utils/cli.utils.d.ts +1 -2
- package/dist/utils/cli.utils.js +2 -2
- package/dist/utils/drive.utils.d.ts +2 -1
- package/dist/utils/drive.utils.js +17 -0
- package/dist/utils/errors.utils.d.ts +2 -1
- package/dist/utils/errors.utils.js +10 -4
- package/dist/utils/webdav.utils.d.ts +20 -6
- package/dist/utils/webdav.utils.js +52 -33
- package/dist/webdav/handlers/DELETE.handler.js +5 -5
- package/dist/webdav/handlers/GET.handler.js +6 -9
- package/dist/webdav/handlers/HEAD.handler.js +5 -10
- package/dist/webdav/handlers/MKCOL.handler.d.ts +2 -0
- package/dist/webdav/handlers/MKCOL.handler.js +10 -20
- package/dist/webdav/handlers/MOVE.handler.d.ts +2 -0
- package/dist/webdav/handlers/MOVE.handler.js +22 -27
- package/dist/webdav/handlers/OPTIONS.handler.js +3 -3
- package/dist/webdav/handlers/PROPFIND.handler.js +7 -31
- package/dist/webdav/handlers/PUT.handler.d.ts +3 -1
- package/dist/webdav/handlers/PUT.handler.js +20 -23
- package/dist/webdav/middewares/auth.middleware.js +8 -2
- package/dist/webdav/middewares/errors.middleware.js +9 -2
- package/dist/webdav/services/webdav-folder.service.d.ts +17 -0
- package/dist/webdav/services/webdav-folder.service.js +52 -0
- package/dist/webdav/webdav-server.js +8 -0
- package/oclif.manifest.json +68 -3
- package/package.json +23 -22
package/README.md
CHANGED
|
@@ -10,6 +10,7 @@ A CLI tool to interact with your Internxt encrypted files
|
|
|
10
10
|
* [Project Maintenance](#project-maintenance)
|
|
11
11
|
* [Installation](#installation)
|
|
12
12
|
* [Usage](#usage)
|
|
13
|
+
* [Docker](#docker)
|
|
13
14
|
* [Commands](#commands)
|
|
14
15
|
* [Current Limitations](#current-limitations)
|
|
15
16
|
<!-- tocstop -->
|
|
@@ -51,7 +52,7 @@ $ npm install -g @internxt/cli
|
|
|
51
52
|
$ internxt COMMAND
|
|
52
53
|
running command...
|
|
53
54
|
$ internxt (--version)
|
|
54
|
-
@internxt/cli/1.
|
|
55
|
+
@internxt/cli/1.6.0 linux-x64 node-v22.21.1
|
|
55
56
|
$ internxt --help [COMMAND]
|
|
56
57
|
USAGE
|
|
57
58
|
$ internxt COMMAND
|
|
@@ -59,6 +60,10 @@ USAGE
|
|
|
59
60
|
```
|
|
60
61
|
<!-- usagestop -->
|
|
61
62
|
|
|
63
|
+
# Docker
|
|
64
|
+
|
|
65
|
+
[`Internxt WebDAV (Docker Integration)`](docker/README.md)
|
|
66
|
+
|
|
62
67
|
# Commands
|
|
63
68
|
|
|
64
69
|
<!-- commands -->
|
|
@@ -74,6 +79,7 @@ USAGE
|
|
|
74
79
|
* [`internxt download file`](#internxt-download-file)
|
|
75
80
|
* [`internxt list`](#internxt-list)
|
|
76
81
|
* [`internxt login`](#internxt-login)
|
|
82
|
+
* [`internxt login-legacy`](#internxt-login-legacy)
|
|
77
83
|
* [`internxt logout`](#internxt-logout)
|
|
78
84
|
* [`internxt logs`](#internxt-logs)
|
|
79
85
|
* [`internxt move-file`](#internxt-move-file)
|
|
@@ -120,7 +126,7 @@ EXAMPLES
|
|
|
120
126
|
$ internxt add-cert
|
|
121
127
|
```
|
|
122
128
|
|
|
123
|
-
_See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.
|
|
129
|
+
_See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/add-cert.ts)_
|
|
124
130
|
|
|
125
131
|
## `internxt autocomplete [SHELL]`
|
|
126
132
|
|
|
@@ -131,7 +137,7 @@ USAGE
|
|
|
131
137
|
$ internxt autocomplete [SHELL] [-r]
|
|
132
138
|
|
|
133
139
|
ARGUMENTS
|
|
134
|
-
SHELL (zsh|bash|powershell) Shell type
|
|
140
|
+
[SHELL] (zsh|bash|powershell) Shell type
|
|
135
141
|
|
|
136
142
|
FLAGS
|
|
137
143
|
-r, --refresh-cache Refresh cache (ignores displaying instructions)
|
|
@@ -151,7 +157,7 @@ EXAMPLES
|
|
|
151
157
|
$ internxt autocomplete --refresh-cache
|
|
152
158
|
```
|
|
153
159
|
|
|
154
|
-
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.
|
|
160
|
+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.39/src/commands/autocomplete/index.ts)_
|
|
155
161
|
|
|
156
162
|
## `internxt config`
|
|
157
163
|
|
|
@@ -171,7 +177,7 @@ EXAMPLES
|
|
|
171
177
|
$ internxt config
|
|
172
178
|
```
|
|
173
179
|
|
|
174
|
-
_See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.
|
|
180
|
+
_See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/config.ts)_
|
|
175
181
|
|
|
176
182
|
## `internxt create-folder`
|
|
177
183
|
|
|
@@ -187,8 +193,8 @@ FLAGS
|
|
|
187
193
|
-n, --name=<value> The new name for the folder
|
|
188
194
|
|
|
189
195
|
HELPER FLAGS
|
|
190
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
191
|
-
the console and will throw errors directly.
|
|
196
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
197
|
+
not request input through the console and will throw errors directly.
|
|
192
198
|
|
|
193
199
|
GLOBAL FLAGS
|
|
194
200
|
--json Format output as json.
|
|
@@ -200,7 +206,7 @@ EXAMPLES
|
|
|
200
206
|
$ internxt create-folder
|
|
201
207
|
```
|
|
202
208
|
|
|
203
|
-
_See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.
|
|
209
|
+
_See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/create-folder.ts)_
|
|
204
210
|
|
|
205
211
|
## `internxt delete-permanently-file`
|
|
206
212
|
|
|
@@ -214,8 +220,8 @@ FLAGS
|
|
|
214
220
|
-i, --id=<value> The file id to be permanently deleted.
|
|
215
221
|
|
|
216
222
|
HELPER FLAGS
|
|
217
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
218
|
-
the console and will throw errors directly.
|
|
223
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
224
|
+
not request input through the console and will throw errors directly.
|
|
219
225
|
|
|
220
226
|
GLOBAL FLAGS
|
|
221
227
|
--json Format output as json.
|
|
@@ -230,7 +236,7 @@ EXAMPLES
|
|
|
230
236
|
$ internxt delete-permanently-file
|
|
231
237
|
```
|
|
232
238
|
|
|
233
|
-
_See code: [src/commands/delete-permanently-file.ts](https://github.com/internxt/cli/blob/v1.
|
|
239
|
+
_See code: [src/commands/delete-permanently-file.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/delete-permanently-file.ts)_
|
|
234
240
|
|
|
235
241
|
## `internxt delete-permanently-folder`
|
|
236
242
|
|
|
@@ -244,8 +250,8 @@ FLAGS
|
|
|
244
250
|
-i, --id=<value> The folder id to be permanently deleted.
|
|
245
251
|
|
|
246
252
|
HELPER FLAGS
|
|
247
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
248
|
-
the console and will throw errors directly.
|
|
253
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
254
|
+
not request input through the console and will throw errors directly.
|
|
249
255
|
|
|
250
256
|
GLOBAL FLAGS
|
|
251
257
|
--json Format output as json.
|
|
@@ -260,7 +266,7 @@ EXAMPLES
|
|
|
260
266
|
$ internxt delete-permanently-folder
|
|
261
267
|
```
|
|
262
268
|
|
|
263
|
-
_See code: [src/commands/delete-permanently-folder.ts](https://github.com/internxt/cli/blob/v1.
|
|
269
|
+
_See code: [src/commands/delete-permanently-folder.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/delete-permanently-folder.ts)_
|
|
264
270
|
|
|
265
271
|
## `internxt delete permanently file`
|
|
266
272
|
|
|
@@ -274,8 +280,8 @@ FLAGS
|
|
|
274
280
|
-i, --id=<value> The file id to be permanently deleted.
|
|
275
281
|
|
|
276
282
|
HELPER FLAGS
|
|
277
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
278
|
-
the console and will throw errors directly.
|
|
283
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
284
|
+
not request input through the console and will throw errors directly.
|
|
279
285
|
|
|
280
286
|
GLOBAL FLAGS
|
|
281
287
|
--json Format output as json.
|
|
@@ -302,8 +308,8 @@ FLAGS
|
|
|
302
308
|
-i, --id=<value> The folder id to be permanently deleted.
|
|
303
309
|
|
|
304
310
|
HELPER FLAGS
|
|
305
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
306
|
-
the console and will throw errors directly.
|
|
311
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
312
|
+
not request input through the console and will throw errors directly.
|
|
307
313
|
|
|
308
314
|
GLOBAL FLAGS
|
|
309
315
|
--json Format output as json.
|
|
@@ -332,8 +338,8 @@ FLAGS
|
|
|
332
338
|
-o, --overwrite Overwrite the file if it already exists
|
|
333
339
|
|
|
334
340
|
HELPER FLAGS
|
|
335
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
336
|
-
the console and will throw errors directly.
|
|
341
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
342
|
+
not request input through the console and will throw errors directly.
|
|
337
343
|
|
|
338
344
|
GLOBAL FLAGS
|
|
339
345
|
--json Format output as json.
|
|
@@ -349,7 +355,7 @@ EXAMPLES
|
|
|
349
355
|
$ internxt download-file
|
|
350
356
|
```
|
|
351
357
|
|
|
352
|
-
_See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.
|
|
358
|
+
_See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/download-file.ts)_
|
|
353
359
|
|
|
354
360
|
## `internxt download file`
|
|
355
361
|
|
|
@@ -365,8 +371,8 @@ FLAGS
|
|
|
365
371
|
-o, --overwrite Overwrite the file if it already exists
|
|
366
372
|
|
|
367
373
|
HELPER FLAGS
|
|
368
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
369
|
-
the console and will throw errors directly.
|
|
374
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
375
|
+
not request input through the console and will throw errors directly.
|
|
370
376
|
|
|
371
377
|
GLOBAL FLAGS
|
|
372
378
|
--json Format output as json.
|
|
@@ -395,8 +401,8 @@ FLAGS
|
|
|
395
401
|
-i, --id=<value> The folder id to list. Leave empty for the root folder.
|
|
396
402
|
|
|
397
403
|
HELPER FLAGS
|
|
398
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
399
|
-
the console and will throw errors directly.
|
|
404
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
405
|
+
not request input through the console and will throw errors directly.
|
|
400
406
|
|
|
401
407
|
GLOBAL FLAGS
|
|
402
408
|
--json Format output as json.
|
|
@@ -408,38 +414,67 @@ EXAMPLES
|
|
|
408
414
|
$ internxt list
|
|
409
415
|
```
|
|
410
416
|
|
|
411
|
-
_See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.
|
|
417
|
+
_See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/list.ts)_
|
|
412
418
|
|
|
413
419
|
## `internxt login`
|
|
414
420
|
|
|
415
|
-
Logs into
|
|
421
|
+
Logs into your Internxt account using the web-based login flow. A temporary local server is started to securely receive the authentication response.
|
|
422
|
+
|
|
423
|
+
```
|
|
424
|
+
USAGE
|
|
425
|
+
$ internxt login [--json] [-h <value>] [-p <value>]
|
|
426
|
+
|
|
427
|
+
FLAGS
|
|
428
|
+
-h, --host=<value> [env: INXT_LOGIN_SERVER_HOST] IP address of the machine where the CLI is running. If you are
|
|
429
|
+
opening the login page in a browser on another device, set this to the IP address of the machine
|
|
430
|
+
running the CLI. Defaults to 127.0.0.1.
|
|
431
|
+
-p, --port=<value> [env: INXT_LOGIN_SERVER_PORT] Port used by the temporary local server to handle the login
|
|
432
|
+
callback. If not specified, a random available port will be used automatically.
|
|
433
|
+
|
|
434
|
+
GLOBAL FLAGS
|
|
435
|
+
--json Format output as json.
|
|
436
|
+
|
|
437
|
+
DESCRIPTION
|
|
438
|
+
Logs into your Internxt account using the web-based login flow. A temporary local server is started to securely
|
|
439
|
+
receive the authentication response.
|
|
440
|
+
|
|
441
|
+
EXAMPLES
|
|
442
|
+
$ internxt login
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
_See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/login.ts)_
|
|
446
|
+
|
|
447
|
+
## `internxt login-legacy`
|
|
448
|
+
|
|
449
|
+
[Legacy] Logs into an Internxt account using user and password. If the account is two-factor protected, then an extra code will be required.
|
|
416
450
|
|
|
417
451
|
```
|
|
418
452
|
USAGE
|
|
419
|
-
$ internxt login [--json] [-x] [-e <value>] [-p <value>] [-w 123456] [-t token]
|
|
453
|
+
$ internxt login-legacy [--json] [-x] [-e <value>] [-p <value>] [-w 123456] [-t token]
|
|
420
454
|
|
|
421
455
|
FLAGS
|
|
422
|
-
-e, --email=<value> The email to log in
|
|
423
|
-
-p, --password=<value> The plain password to log in
|
|
424
|
-
-t, --twofactortoken=token The TOTP secret token. It is used to generate a TOTP code if needed.
|
|
425
|
-
the two factor code flag.
|
|
426
|
-
-w, --twofactor=123456 The two factor auth code (TOTP).
|
|
456
|
+
-e, --email=<value> [env: INXT_USER] The email to log in
|
|
457
|
+
-p, --password=<value> [env: INXT_PASSWORD] The plain password to log in
|
|
458
|
+
-t, --twofactortoken=token [env: INXT_OTPTOKEN] The TOTP secret token. It is used to generate a TOTP code if needed.
|
|
459
|
+
It has prority over the two factor code flag.
|
|
460
|
+
-w, --twofactor=123456 [env: INXT_TWOFACTORCODE] The two factor auth code (TOTP).
|
|
427
461
|
|
|
428
462
|
HELPER FLAGS
|
|
429
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
430
|
-
the console and will throw errors directly.
|
|
463
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
464
|
+
not request input through the console and will throw errors directly.
|
|
431
465
|
|
|
432
466
|
GLOBAL FLAGS
|
|
433
467
|
--json Format output as json.
|
|
434
468
|
|
|
435
469
|
DESCRIPTION
|
|
436
|
-
Logs into an Internxt account. If the account is two-factor protected, then an extra
|
|
470
|
+
[Legacy] Logs into an Internxt account using user and password. If the account is two-factor protected, then an extra
|
|
471
|
+
code will be required.
|
|
437
472
|
|
|
438
473
|
EXAMPLES
|
|
439
|
-
$ internxt login
|
|
474
|
+
$ internxt login-legacy
|
|
440
475
|
```
|
|
441
476
|
|
|
442
|
-
_See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.
|
|
477
|
+
_See code: [src/commands/login-legacy.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/login-legacy.ts)_
|
|
443
478
|
|
|
444
479
|
## `internxt logout`
|
|
445
480
|
|
|
@@ -459,7 +494,7 @@ EXAMPLES
|
|
|
459
494
|
$ internxt logout
|
|
460
495
|
```
|
|
461
496
|
|
|
462
|
-
_See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.
|
|
497
|
+
_See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/logout.ts)_
|
|
463
498
|
|
|
464
499
|
## `internxt logs`
|
|
465
500
|
|
|
@@ -479,7 +514,7 @@ EXAMPLES
|
|
|
479
514
|
$ internxt logs
|
|
480
515
|
```
|
|
481
516
|
|
|
482
|
-
_See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.
|
|
517
|
+
_See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/logs.ts)_
|
|
483
518
|
|
|
484
519
|
## `internxt move-file`
|
|
485
520
|
|
|
@@ -495,8 +530,8 @@ FLAGS
|
|
|
495
530
|
-i, --id=<value> The ID of the file to be moved.
|
|
496
531
|
|
|
497
532
|
HELPER FLAGS
|
|
498
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
499
|
-
the console and will throw errors directly.
|
|
533
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
534
|
+
not request input through the console and will throw errors directly.
|
|
500
535
|
|
|
501
536
|
GLOBAL FLAGS
|
|
502
537
|
--json Format output as json.
|
|
@@ -511,7 +546,7 @@ EXAMPLES
|
|
|
511
546
|
$ internxt move-file
|
|
512
547
|
```
|
|
513
548
|
|
|
514
|
-
_See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.
|
|
549
|
+
_See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/move-file.ts)_
|
|
515
550
|
|
|
516
551
|
## `internxt move-folder`
|
|
517
552
|
|
|
@@ -527,8 +562,8 @@ FLAGS
|
|
|
527
562
|
-i, --id=<value> The ID of the folder to be moved.
|
|
528
563
|
|
|
529
564
|
HELPER FLAGS
|
|
530
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
531
|
-
the console and will throw errors directly.
|
|
565
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
566
|
+
not request input through the console and will throw errors directly.
|
|
532
567
|
|
|
533
568
|
GLOBAL FLAGS
|
|
534
569
|
--json Format output as json.
|
|
@@ -543,7 +578,7 @@ EXAMPLES
|
|
|
543
578
|
$ internxt move-folder
|
|
544
579
|
```
|
|
545
580
|
|
|
546
|
-
_See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.
|
|
581
|
+
_See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/move-folder.ts)_
|
|
547
582
|
|
|
548
583
|
## `internxt move file`
|
|
549
584
|
|
|
@@ -559,8 +594,8 @@ FLAGS
|
|
|
559
594
|
-i, --id=<value> The ID of the file to be moved.
|
|
560
595
|
|
|
561
596
|
HELPER FLAGS
|
|
562
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
563
|
-
the console and will throw errors directly.
|
|
597
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
598
|
+
not request input through the console and will throw errors directly.
|
|
564
599
|
|
|
565
600
|
GLOBAL FLAGS
|
|
566
601
|
--json Format output as json.
|
|
@@ -589,8 +624,8 @@ FLAGS
|
|
|
589
624
|
-i, --id=<value> The ID of the folder to be moved.
|
|
590
625
|
|
|
591
626
|
HELPER FLAGS
|
|
592
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
593
|
-
the console and will throw errors directly.
|
|
627
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
628
|
+
not request input through the console and will throw errors directly.
|
|
594
629
|
|
|
595
630
|
GLOBAL FLAGS
|
|
596
631
|
--json Format output as json.
|
|
@@ -618,8 +653,8 @@ FLAGS
|
|
|
618
653
|
-n, --name=<value> The new name for the file.
|
|
619
654
|
|
|
620
655
|
HELPER FLAGS
|
|
621
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
622
|
-
the console and will throw errors directly.
|
|
656
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
657
|
+
not request input through the console and will throw errors directly.
|
|
623
658
|
|
|
624
659
|
GLOBAL FLAGS
|
|
625
660
|
--json Format output as json.
|
|
@@ -634,7 +669,7 @@ EXAMPLES
|
|
|
634
669
|
$ internxt rename-file
|
|
635
670
|
```
|
|
636
671
|
|
|
637
|
-
_See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.
|
|
672
|
+
_See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/rename-file.ts)_
|
|
638
673
|
|
|
639
674
|
## `internxt rename-folder`
|
|
640
675
|
|
|
@@ -649,8 +684,8 @@ FLAGS
|
|
|
649
684
|
-n, --name=<value> The new name for the folder.
|
|
650
685
|
|
|
651
686
|
HELPER FLAGS
|
|
652
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
653
|
-
the console and will throw errors directly.
|
|
687
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
688
|
+
not request input through the console and will throw errors directly.
|
|
654
689
|
|
|
655
690
|
GLOBAL FLAGS
|
|
656
691
|
--json Format output as json.
|
|
@@ -665,7 +700,7 @@ EXAMPLES
|
|
|
665
700
|
$ internxt rename-folder
|
|
666
701
|
```
|
|
667
702
|
|
|
668
|
-
_See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.
|
|
703
|
+
_See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/rename-folder.ts)_
|
|
669
704
|
|
|
670
705
|
## `internxt rename file`
|
|
671
706
|
|
|
@@ -680,8 +715,8 @@ FLAGS
|
|
|
680
715
|
-n, --name=<value> The new name for the file.
|
|
681
716
|
|
|
682
717
|
HELPER FLAGS
|
|
683
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
684
|
-
the console and will throw errors directly.
|
|
718
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
719
|
+
not request input through the console and will throw errors directly.
|
|
685
720
|
|
|
686
721
|
GLOBAL FLAGS
|
|
687
722
|
--json Format output as json.
|
|
@@ -709,8 +744,8 @@ FLAGS
|
|
|
709
744
|
-n, --name=<value> The new name for the folder.
|
|
710
745
|
|
|
711
746
|
HELPER FLAGS
|
|
712
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
713
|
-
the console and will throw errors directly.
|
|
747
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
748
|
+
not request input through the console and will throw errors directly.
|
|
714
749
|
|
|
715
750
|
GLOBAL FLAGS
|
|
716
751
|
--json Format output as json.
|
|
@@ -737,8 +772,8 @@ FLAGS
|
|
|
737
772
|
-f, --force It forces the trash to be emptied without confirmation.
|
|
738
773
|
|
|
739
774
|
HELPER FLAGS
|
|
740
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
741
|
-
the console and will throw errors directly.
|
|
775
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
776
|
+
not request input through the console and will throw errors directly.
|
|
742
777
|
|
|
743
778
|
GLOBAL FLAGS
|
|
744
779
|
--json Format output as json.
|
|
@@ -753,7 +788,7 @@ EXAMPLES
|
|
|
753
788
|
$ internxt trash-clear
|
|
754
789
|
```
|
|
755
790
|
|
|
756
|
-
_See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.
|
|
791
|
+
_See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/trash-clear.ts)_
|
|
757
792
|
|
|
758
793
|
## `internxt trash-file`
|
|
759
794
|
|
|
@@ -767,8 +802,8 @@ FLAGS
|
|
|
767
802
|
-i, --id=<value> The file id to be trashed.
|
|
768
803
|
|
|
769
804
|
HELPER FLAGS
|
|
770
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
771
|
-
the console and will throw errors directly.
|
|
805
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
806
|
+
not request input through the console and will throw errors directly.
|
|
772
807
|
|
|
773
808
|
GLOBAL FLAGS
|
|
774
809
|
--json Format output as json.
|
|
@@ -783,7 +818,7 @@ EXAMPLES
|
|
|
783
818
|
$ internxt trash-file
|
|
784
819
|
```
|
|
785
820
|
|
|
786
|
-
_See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.
|
|
821
|
+
_See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/trash-file.ts)_
|
|
787
822
|
|
|
788
823
|
## `internxt trash-folder`
|
|
789
824
|
|
|
@@ -797,8 +832,8 @@ FLAGS
|
|
|
797
832
|
-i, --id=<value> The folder id to be trashed.
|
|
798
833
|
|
|
799
834
|
HELPER FLAGS
|
|
800
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
801
|
-
the console and will throw errors directly.
|
|
835
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
836
|
+
not request input through the console and will throw errors directly.
|
|
802
837
|
|
|
803
838
|
GLOBAL FLAGS
|
|
804
839
|
--json Format output as json.
|
|
@@ -813,7 +848,7 @@ EXAMPLES
|
|
|
813
848
|
$ internxt trash-folder
|
|
814
849
|
```
|
|
815
850
|
|
|
816
|
-
_See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.
|
|
851
|
+
_See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/trash-folder.ts)_
|
|
817
852
|
|
|
818
853
|
## `internxt trash-list`
|
|
819
854
|
|
|
@@ -839,7 +874,7 @@ EXAMPLES
|
|
|
839
874
|
$ internxt trash-list
|
|
840
875
|
```
|
|
841
876
|
|
|
842
|
-
_See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.
|
|
877
|
+
_See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/trash-list.ts)_
|
|
843
878
|
|
|
844
879
|
## `internxt trash-restore-file`
|
|
845
880
|
|
|
@@ -854,8 +889,8 @@ FLAGS
|
|
|
854
889
|
-i, --id=<value> The file id to be restored from the trash.
|
|
855
890
|
|
|
856
891
|
HELPER FLAGS
|
|
857
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
858
|
-
the console and will throw errors directly.
|
|
892
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
893
|
+
not request input through the console and will throw errors directly.
|
|
859
894
|
|
|
860
895
|
GLOBAL FLAGS
|
|
861
896
|
--json Format output as json.
|
|
@@ -870,7 +905,7 @@ EXAMPLES
|
|
|
870
905
|
$ internxt trash-restore-file
|
|
871
906
|
```
|
|
872
907
|
|
|
873
|
-
_See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.
|
|
908
|
+
_See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/trash-restore-file.ts)_
|
|
874
909
|
|
|
875
910
|
## `internxt trash-restore-folder`
|
|
876
911
|
|
|
@@ -885,8 +920,8 @@ FLAGS
|
|
|
885
920
|
-i, --id=<value> The folder id to be restored from the trash.
|
|
886
921
|
|
|
887
922
|
HELPER FLAGS
|
|
888
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
889
|
-
the console and will throw errors directly.
|
|
923
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
924
|
+
not request input through the console and will throw errors directly.
|
|
890
925
|
|
|
891
926
|
GLOBAL FLAGS
|
|
892
927
|
--json Format output as json.
|
|
@@ -901,7 +936,7 @@ EXAMPLES
|
|
|
901
936
|
$ internxt trash-restore-folder
|
|
902
937
|
```
|
|
903
938
|
|
|
904
|
-
_See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.
|
|
939
|
+
_See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/trash-restore-folder.ts)_
|
|
905
940
|
|
|
906
941
|
## `internxt trash clear`
|
|
907
942
|
|
|
@@ -915,8 +950,8 @@ FLAGS
|
|
|
915
950
|
-f, --force It forces the trash to be emptied without confirmation.
|
|
916
951
|
|
|
917
952
|
HELPER FLAGS
|
|
918
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
919
|
-
the console and will throw errors directly.
|
|
953
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
954
|
+
not request input through the console and will throw errors directly.
|
|
920
955
|
|
|
921
956
|
GLOBAL FLAGS
|
|
922
957
|
--json Format output as json.
|
|
@@ -943,8 +978,8 @@ FLAGS
|
|
|
943
978
|
-i, --id=<value> The file id to be trashed.
|
|
944
979
|
|
|
945
980
|
HELPER FLAGS
|
|
946
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
947
|
-
the console and will throw errors directly.
|
|
981
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
982
|
+
not request input through the console and will throw errors directly.
|
|
948
983
|
|
|
949
984
|
GLOBAL FLAGS
|
|
950
985
|
--json Format output as json.
|
|
@@ -971,8 +1006,8 @@ FLAGS
|
|
|
971
1006
|
-i, --id=<value> The folder id to be trashed.
|
|
972
1007
|
|
|
973
1008
|
HELPER FLAGS
|
|
974
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
975
|
-
the console and will throw errors directly.
|
|
1009
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1010
|
+
not request input through the console and will throw errors directly.
|
|
976
1011
|
|
|
977
1012
|
GLOBAL FLAGS
|
|
978
1013
|
--json Format output as json.
|
|
@@ -1024,8 +1059,8 @@ FLAGS
|
|
|
1024
1059
|
-i, --id=<value> The file id to be restored from the trash.
|
|
1025
1060
|
|
|
1026
1061
|
HELPER FLAGS
|
|
1027
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1028
|
-
the console and will throw errors directly.
|
|
1062
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1063
|
+
not request input through the console and will throw errors directly.
|
|
1029
1064
|
|
|
1030
1065
|
GLOBAL FLAGS
|
|
1031
1066
|
--json Format output as json.
|
|
@@ -1053,8 +1088,8 @@ FLAGS
|
|
|
1053
1088
|
-i, --id=<value> The folder id to be restored from the trash.
|
|
1054
1089
|
|
|
1055
1090
|
HELPER FLAGS
|
|
1056
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1057
|
-
the console and will throw errors directly.
|
|
1091
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1092
|
+
not request input through the console and will throw errors directly.
|
|
1058
1093
|
|
|
1059
1094
|
GLOBAL FLAGS
|
|
1060
1095
|
--json Format output as json.
|
|
@@ -1082,8 +1117,8 @@ FLAGS
|
|
|
1082
1117
|
-i, --destination=<value> The folder id where the file is going to be uploaded to. Leave empty for the root folder.
|
|
1083
1118
|
|
|
1084
1119
|
HELPER FLAGS
|
|
1085
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1086
|
-
the console and will throw errors directly.
|
|
1120
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1121
|
+
not request input through the console and will throw errors directly.
|
|
1087
1122
|
|
|
1088
1123
|
GLOBAL FLAGS
|
|
1089
1124
|
--json Format output as json.
|
|
@@ -1098,7 +1133,7 @@ EXAMPLES
|
|
|
1098
1133
|
$ internxt upload-file
|
|
1099
1134
|
```
|
|
1100
1135
|
|
|
1101
|
-
_See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.
|
|
1136
|
+
_See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/upload-file.ts)_
|
|
1102
1137
|
|
|
1103
1138
|
## `internxt upload file`
|
|
1104
1139
|
|
|
@@ -1113,8 +1148,8 @@ FLAGS
|
|
|
1113
1148
|
-i, --destination=<value> The folder id where the file is going to be uploaded to. Leave empty for the root folder.
|
|
1114
1149
|
|
|
1115
1150
|
HELPER FLAGS
|
|
1116
|
-
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1117
|
-
the console and will throw errors directly.
|
|
1151
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1152
|
+
not request input through the console and will throw errors directly.
|
|
1118
1153
|
|
|
1119
1154
|
GLOBAL FLAGS
|
|
1120
1155
|
--json Format output as json.
|
|
@@ -1153,7 +1188,7 @@ EXAMPLES
|
|
|
1153
1188
|
$ internxt webdav status
|
|
1154
1189
|
```
|
|
1155
1190
|
|
|
1156
|
-
_See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.
|
|
1191
|
+
_See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/webdav.ts)_
|
|
1157
1192
|
|
|
1158
1193
|
## `internxt webdav-config`
|
|
1159
1194
|
|
|
@@ -1161,14 +1196,15 @@ Edit the configuration of the Internxt CLI WebDav server as the port or the prot
|
|
|
1161
1196
|
|
|
1162
1197
|
```
|
|
1163
1198
|
USAGE
|
|
1164
|
-
$ internxt webdav-config [--json] [-l <value>] [-p <value>] [-s | -h] [-t <value>]
|
|
1199
|
+
$ internxt webdav-config [--json] [-l <value>] [-p <value>] [-s | -h] [-t <value>] [-c]
|
|
1165
1200
|
|
|
1166
1201
|
FLAGS
|
|
1167
|
-
-
|
|
1168
|
-
-
|
|
1169
|
-
-
|
|
1170
|
-
-
|
|
1171
|
-
-
|
|
1202
|
+
-c, --[no-]createFullPath Auto-create missing parent directories during file uploads.
|
|
1203
|
+
-h, --http Configures the WebDAV server to use insecure plain HTTP.
|
|
1204
|
+
-l, --host=<value> The listening host for the WebDAV server.
|
|
1205
|
+
-p, --port=<value> The new port for the WebDAV server.
|
|
1206
|
+
-s, --https Configures the WebDAV server to use HTTPS with self-signed certificates.
|
|
1207
|
+
-t, --timeout=<value> Configures the WebDAV server to use this timeout in minutes.
|
|
1172
1208
|
|
|
1173
1209
|
GLOBAL FLAGS
|
|
1174
1210
|
--json Format output as json.
|
|
@@ -1180,7 +1216,7 @@ EXAMPLES
|
|
|
1180
1216
|
$ internxt webdav-config
|
|
1181
1217
|
```
|
|
1182
1218
|
|
|
1183
|
-
_See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.
|
|
1219
|
+
_See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/webdav-config.ts)_
|
|
1184
1220
|
|
|
1185
1221
|
## `internxt whoami`
|
|
1186
1222
|
|
|
@@ -1200,7 +1236,7 @@ EXAMPLES
|
|
|
1200
1236
|
$ internxt whoami
|
|
1201
1237
|
```
|
|
1202
1238
|
|
|
1203
|
-
_See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.
|
|
1239
|
+
_See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.6.0/src/commands/whoami.ts)_
|
|
1204
1240
|
<!-- commandsstop -->
|
|
1205
1241
|
|
|
1206
1242
|
# Current Limitations
|