@internxt/cli 1.6.5 → 1.6.6
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 +94 -40
- package/dist/commands/add-cert.d.ts +4 -1
- package/dist/commands/add-cert.js +4 -1
- package/dist/commands/config.js +1 -0
- package/dist/commands/create-folder.js +1 -0
- package/dist/commands/delete-permanently-file.js +1 -0
- package/dist/commands/delete-permanently-folder.js +1 -0
- package/dist/commands/download-file.js +1 -0
- package/dist/commands/list.js +1 -0
- package/dist/commands/login-legacy.js +1 -0
- package/dist/commands/login.d.ts +2 -0
- package/dist/commands/login.js +2 -0
- package/dist/commands/logout.d.ts +4 -1
- package/dist/commands/logout.js +4 -1
- package/dist/commands/logs.d.ts +4 -1
- package/dist/commands/logs.js +4 -1
- package/dist/commands/move-file.js +1 -0
- package/dist/commands/move-folder.js +1 -0
- package/dist/commands/rename-file.js +1 -0
- package/dist/commands/rename-folder.js +1 -0
- package/dist/commands/trash-clear.js +1 -0
- package/dist/commands/trash-file.js +1 -0
- package/dist/commands/trash-folder.js +1 -0
- package/dist/commands/trash-list.d.ts +2 -0
- package/dist/commands/trash-list.js +2 -0
- package/dist/commands/trash-restore-file.js +1 -0
- package/dist/commands/trash-restore-folder.js +1 -0
- package/dist/commands/upload-file.js +1 -0
- package/dist/commands/upload-folder.js +1 -0
- package/dist/commands/webdav-config.js +1 -0
- package/dist/commands/webdav.d.ts +4 -1
- package/dist/commands/webdav.js +4 -1
- package/dist/commands/whoami.d.ts +4 -1
- package/dist/commands/whoami.js +4 -1
- package/dist/commands/workspaces-list.js +1 -0
- package/dist/commands/workspaces-unset.js +1 -0
- package/dist/commands/workspaces-use.js +1 -0
- package/dist/hooks/prerun/auth_check.js +2 -0
- package/dist/utils/cli.utils.d.ts +2 -1
- package/dist/utils/cli.utils.js +27 -13
- package/oclif.manifest.json +134 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -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.6.
|
|
55
|
+
@internxt/cli/1.6.6 linux-x64 node-v22.22.3
|
|
56
56
|
$ internxt --help [COMMAND]
|
|
57
57
|
USAGE
|
|
58
58
|
$ internxt COMMAND
|
|
@@ -124,7 +124,13 @@ Add a self-signed certificate to the trusted store for macOS, Linux, and Windows
|
|
|
124
124
|
|
|
125
125
|
```
|
|
126
126
|
USAGE
|
|
127
|
-
$ internxt add-cert [--json]
|
|
127
|
+
$ internxt add-cert [--json] [-x] [--debug]
|
|
128
|
+
|
|
129
|
+
HELPER FLAGS
|
|
130
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
131
|
+
not request input through the console and will throw errors directly.
|
|
132
|
+
--debug [env: INXT_DEBUG] Enables debug mode. When enabled, the CLI will print debug messages to the
|
|
133
|
+
console.
|
|
128
134
|
|
|
129
135
|
GLOBAL FLAGS
|
|
130
136
|
--json Format output as json.
|
|
@@ -139,7 +145,7 @@ EXAMPLES
|
|
|
139
145
|
$ internxt add-cert
|
|
140
146
|
```
|
|
141
147
|
|
|
142
|
-
_See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
148
|
+
_See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/add-cert.ts)_
|
|
143
149
|
|
|
144
150
|
## `internxt add cert`
|
|
145
151
|
|
|
@@ -147,7 +153,13 @@ Add a self-signed certificate to the trusted store for macOS, Linux, and Windows
|
|
|
147
153
|
|
|
148
154
|
```
|
|
149
155
|
USAGE
|
|
150
|
-
$ internxt add cert [--json]
|
|
156
|
+
$ internxt add cert [--json] [-x] [--debug]
|
|
157
|
+
|
|
158
|
+
HELPER FLAGS
|
|
159
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
160
|
+
not request input through the console and will throw errors directly.
|
|
161
|
+
--debug [env: INXT_DEBUG] Enables debug mode. When enabled, the CLI will print debug messages to the
|
|
162
|
+
console.
|
|
151
163
|
|
|
152
164
|
GLOBAL FLAGS
|
|
153
165
|
--json Format output as json.
|
|
@@ -191,7 +203,7 @@ EXAMPLES
|
|
|
191
203
|
$ internxt autocomplete --refresh-cache
|
|
192
204
|
```
|
|
193
205
|
|
|
194
|
-
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.
|
|
206
|
+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.52/src/commands/autocomplete/index.ts)_
|
|
195
207
|
|
|
196
208
|
## `internxt config`
|
|
197
209
|
|
|
@@ -220,7 +232,7 @@ EXAMPLES
|
|
|
220
232
|
$ internxt config
|
|
221
233
|
```
|
|
222
234
|
|
|
223
|
-
_See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
235
|
+
_See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/config.ts)_
|
|
224
236
|
|
|
225
237
|
## `internxt create-folder`
|
|
226
238
|
|
|
@@ -254,7 +266,7 @@ EXAMPLES
|
|
|
254
266
|
$ internxt create-folder
|
|
255
267
|
```
|
|
256
268
|
|
|
257
|
-
_See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
269
|
+
_See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/create-folder.ts)_
|
|
258
270
|
|
|
259
271
|
## `internxt create folder`
|
|
260
272
|
|
|
@@ -318,7 +330,7 @@ EXAMPLES
|
|
|
318
330
|
$ internxt delete-permanently-file
|
|
319
331
|
```
|
|
320
332
|
|
|
321
|
-
_See code: [src/commands/delete-permanently-file.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
333
|
+
_See code: [src/commands/delete-permanently-file.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/delete-permanently-file.ts)_
|
|
322
334
|
|
|
323
335
|
## `internxt delete-permanently-folder`
|
|
324
336
|
|
|
@@ -350,7 +362,7 @@ EXAMPLES
|
|
|
350
362
|
$ internxt delete-permanently-folder
|
|
351
363
|
```
|
|
352
364
|
|
|
353
|
-
_See code: [src/commands/delete-permanently-folder.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
365
|
+
_See code: [src/commands/delete-permanently-folder.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/delete-permanently-folder.ts)_
|
|
354
366
|
|
|
355
367
|
## `internxt delete permanently file`
|
|
356
368
|
|
|
@@ -445,7 +457,7 @@ EXAMPLES
|
|
|
445
457
|
$ internxt download-file
|
|
446
458
|
```
|
|
447
459
|
|
|
448
|
-
_See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
460
|
+
_See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/download-file.ts)_
|
|
449
461
|
|
|
450
462
|
## `internxt download file`
|
|
451
463
|
|
|
@@ -508,7 +520,7 @@ EXAMPLES
|
|
|
508
520
|
$ internxt list
|
|
509
521
|
```
|
|
510
522
|
|
|
511
|
-
_See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
523
|
+
_See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/list.ts)_
|
|
512
524
|
|
|
513
525
|
## `internxt login`
|
|
514
526
|
|
|
@@ -516,7 +528,7 @@ Logs into your Internxt account using the web-based login flow. A temporary loca
|
|
|
516
528
|
|
|
517
529
|
```
|
|
518
530
|
USAGE
|
|
519
|
-
$ internxt login [--json] [-h <value>] [-p <value>]
|
|
531
|
+
$ internxt login [--json] [-x] [--debug] [-h <value>] [-p <value>]
|
|
520
532
|
|
|
521
533
|
FLAGS
|
|
522
534
|
-h, --host=<value> [env: INXT_LOGIN_SERVER_HOST] IP address of the machine where the CLI is running. If you are
|
|
@@ -525,6 +537,12 @@ FLAGS
|
|
|
525
537
|
-p, --port=<value> [env: INXT_LOGIN_SERVER_PORT] Port used by the temporary local server to handle the login
|
|
526
538
|
callback. If not specified, a random available port will be used automatically.
|
|
527
539
|
|
|
540
|
+
HELPER FLAGS
|
|
541
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
542
|
+
not request input through the console and will throw errors directly.
|
|
543
|
+
--debug [env: INXT_DEBUG] Enables debug mode. When enabled, the CLI will print debug messages to the
|
|
544
|
+
console.
|
|
545
|
+
|
|
528
546
|
GLOBAL FLAGS
|
|
529
547
|
--json Format output as json.
|
|
530
548
|
|
|
@@ -536,7 +554,7 @@ EXAMPLES
|
|
|
536
554
|
$ internxt login
|
|
537
555
|
```
|
|
538
556
|
|
|
539
|
-
_See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
557
|
+
_See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/login.ts)_
|
|
540
558
|
|
|
541
559
|
## `internxt login-legacy`
|
|
542
560
|
|
|
@@ -570,7 +588,7 @@ EXAMPLES
|
|
|
570
588
|
$ internxt login-legacy
|
|
571
589
|
```
|
|
572
590
|
|
|
573
|
-
_See code: [src/commands/login-legacy.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
591
|
+
_See code: [src/commands/login-legacy.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/login-legacy.ts)_
|
|
574
592
|
|
|
575
593
|
## `internxt logout`
|
|
576
594
|
|
|
@@ -578,7 +596,13 @@ Logs out the current internxt user that is logged into the Internxt CLI.
|
|
|
578
596
|
|
|
579
597
|
```
|
|
580
598
|
USAGE
|
|
581
|
-
$ internxt logout [--json]
|
|
599
|
+
$ internxt logout [--json] [-x] [--debug]
|
|
600
|
+
|
|
601
|
+
HELPER FLAGS
|
|
602
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
603
|
+
not request input through the console and will throw errors directly.
|
|
604
|
+
--debug [env: INXT_DEBUG] Enables debug mode. When enabled, the CLI will print debug messages to the
|
|
605
|
+
console.
|
|
582
606
|
|
|
583
607
|
GLOBAL FLAGS
|
|
584
608
|
--json Format output as json.
|
|
@@ -590,7 +614,7 @@ EXAMPLES
|
|
|
590
614
|
$ internxt logout
|
|
591
615
|
```
|
|
592
616
|
|
|
593
|
-
_See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
617
|
+
_See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/logout.ts)_
|
|
594
618
|
|
|
595
619
|
## `internxt logs`
|
|
596
620
|
|
|
@@ -598,7 +622,13 @@ Displays the Internxt CLI logs directory path
|
|
|
598
622
|
|
|
599
623
|
```
|
|
600
624
|
USAGE
|
|
601
|
-
$ internxt logs [--json]
|
|
625
|
+
$ internxt logs [--json] [-x] [--debug]
|
|
626
|
+
|
|
627
|
+
HELPER FLAGS
|
|
628
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
629
|
+
not request input through the console and will throw errors directly.
|
|
630
|
+
--debug [env: INXT_DEBUG] Enables debug mode. When enabled, the CLI will print debug messages to the
|
|
631
|
+
console.
|
|
602
632
|
|
|
603
633
|
GLOBAL FLAGS
|
|
604
634
|
--json Format output as json.
|
|
@@ -610,7 +640,7 @@ EXAMPLES
|
|
|
610
640
|
$ internxt logs
|
|
611
641
|
```
|
|
612
642
|
|
|
613
|
-
_See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
643
|
+
_See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/logs.ts)_
|
|
614
644
|
|
|
615
645
|
## `internxt move-file`
|
|
616
646
|
|
|
@@ -644,7 +674,7 @@ EXAMPLES
|
|
|
644
674
|
$ internxt move-file
|
|
645
675
|
```
|
|
646
676
|
|
|
647
|
-
_See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
677
|
+
_See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/move-file.ts)_
|
|
648
678
|
|
|
649
679
|
## `internxt move-folder`
|
|
650
680
|
|
|
@@ -678,7 +708,7 @@ EXAMPLES
|
|
|
678
708
|
$ internxt move-folder
|
|
679
709
|
```
|
|
680
710
|
|
|
681
|
-
_See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
711
|
+
_See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/move-folder.ts)_
|
|
682
712
|
|
|
683
713
|
## `internxt move file`
|
|
684
714
|
|
|
@@ -775,7 +805,7 @@ EXAMPLES
|
|
|
775
805
|
$ internxt rename-file
|
|
776
806
|
```
|
|
777
807
|
|
|
778
|
-
_See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
808
|
+
_See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/rename-file.ts)_
|
|
779
809
|
|
|
780
810
|
## `internxt rename-folder`
|
|
781
811
|
|
|
@@ -808,7 +838,7 @@ EXAMPLES
|
|
|
808
838
|
$ internxt rename-folder
|
|
809
839
|
```
|
|
810
840
|
|
|
811
|
-
_See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
841
|
+
_See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/rename-folder.ts)_
|
|
812
842
|
|
|
813
843
|
## `internxt rename file`
|
|
814
844
|
|
|
@@ -902,7 +932,7 @@ EXAMPLES
|
|
|
902
932
|
$ internxt trash-clear
|
|
903
933
|
```
|
|
904
934
|
|
|
905
|
-
_See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
935
|
+
_See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/trash-clear.ts)_
|
|
906
936
|
|
|
907
937
|
## `internxt trash-file`
|
|
908
938
|
|
|
@@ -934,7 +964,7 @@ EXAMPLES
|
|
|
934
964
|
$ internxt trash-file
|
|
935
965
|
```
|
|
936
966
|
|
|
937
|
-
_See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
967
|
+
_See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/trash-file.ts)_
|
|
938
968
|
|
|
939
969
|
## `internxt trash-folder`
|
|
940
970
|
|
|
@@ -966,7 +996,7 @@ EXAMPLES
|
|
|
966
996
|
$ internxt trash-folder
|
|
967
997
|
```
|
|
968
998
|
|
|
969
|
-
_See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
999
|
+
_See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/trash-folder.ts)_
|
|
970
1000
|
|
|
971
1001
|
## `internxt trash-list`
|
|
972
1002
|
|
|
@@ -974,11 +1004,17 @@ Lists the content of the trash.
|
|
|
974
1004
|
|
|
975
1005
|
```
|
|
976
1006
|
USAGE
|
|
977
|
-
$ internxt trash-list [--json] [-e]
|
|
1007
|
+
$ internxt trash-list [--json] [-x] [--debug] [-e]
|
|
978
1008
|
|
|
979
1009
|
FLAGS
|
|
980
1010
|
-e, --extended Displays additional information in the trash list.
|
|
981
1011
|
|
|
1012
|
+
HELPER FLAGS
|
|
1013
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1014
|
+
not request input through the console and will throw errors directly.
|
|
1015
|
+
--debug [env: INXT_DEBUG] Enables debug mode. When enabled, the CLI will print debug messages to the
|
|
1016
|
+
console.
|
|
1017
|
+
|
|
982
1018
|
GLOBAL FLAGS
|
|
983
1019
|
--json Format output as json.
|
|
984
1020
|
|
|
@@ -992,7 +1028,7 @@ EXAMPLES
|
|
|
992
1028
|
$ internxt trash-list
|
|
993
1029
|
```
|
|
994
1030
|
|
|
995
|
-
_See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
1031
|
+
_See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/trash-list.ts)_
|
|
996
1032
|
|
|
997
1033
|
## `internxt trash-restore-file`
|
|
998
1034
|
|
|
@@ -1025,7 +1061,7 @@ EXAMPLES
|
|
|
1025
1061
|
$ internxt trash-restore-file
|
|
1026
1062
|
```
|
|
1027
1063
|
|
|
1028
|
-
_See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
1064
|
+
_See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/trash-restore-file.ts)_
|
|
1029
1065
|
|
|
1030
1066
|
## `internxt trash-restore-folder`
|
|
1031
1067
|
|
|
@@ -1058,7 +1094,7 @@ EXAMPLES
|
|
|
1058
1094
|
$ internxt trash-restore-folder
|
|
1059
1095
|
```
|
|
1060
1096
|
|
|
1061
|
-
_See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
1097
|
+
_See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/trash-restore-folder.ts)_
|
|
1062
1098
|
|
|
1063
1099
|
## `internxt trash clear`
|
|
1064
1100
|
|
|
@@ -1156,11 +1192,17 @@ Lists the content of the trash.
|
|
|
1156
1192
|
|
|
1157
1193
|
```
|
|
1158
1194
|
USAGE
|
|
1159
|
-
$ internxt trash list [--json] [-e]
|
|
1195
|
+
$ internxt trash list [--json] [-x] [--debug] [-e]
|
|
1160
1196
|
|
|
1161
1197
|
FLAGS
|
|
1162
1198
|
-e, --extended Displays additional information in the trash list.
|
|
1163
1199
|
|
|
1200
|
+
HELPER FLAGS
|
|
1201
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1202
|
+
not request input through the console and will throw errors directly.
|
|
1203
|
+
--debug [env: INXT_DEBUG] Enables debug mode. When enabled, the CLI will print debug messages to the
|
|
1204
|
+
console.
|
|
1205
|
+
|
|
1164
1206
|
GLOBAL FLAGS
|
|
1165
1207
|
--json Format output as json.
|
|
1166
1208
|
|
|
@@ -1267,7 +1309,7 @@ EXAMPLES
|
|
|
1267
1309
|
$ internxt upload-file
|
|
1268
1310
|
```
|
|
1269
1311
|
|
|
1270
|
-
_See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
1312
|
+
_See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/upload-file.ts)_
|
|
1271
1313
|
|
|
1272
1314
|
## `internxt upload-folder`
|
|
1273
1315
|
|
|
@@ -1300,7 +1342,7 @@ EXAMPLES
|
|
|
1300
1342
|
$ internxt upload-folder
|
|
1301
1343
|
```
|
|
1302
1344
|
|
|
1303
|
-
_See code: [src/commands/upload-folder.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
1345
|
+
_See code: [src/commands/upload-folder.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/upload-folder.ts)_
|
|
1304
1346
|
|
|
1305
1347
|
## `internxt upload file`
|
|
1306
1348
|
|
|
@@ -1370,7 +1412,13 @@ Start, stop, restart or get the status of the Internxt CLI WebDAV server
|
|
|
1370
1412
|
|
|
1371
1413
|
```
|
|
1372
1414
|
USAGE
|
|
1373
|
-
$ internxt webdav ACTION [--json]
|
|
1415
|
+
$ internxt webdav ACTION [--json] [-x] [--debug]
|
|
1416
|
+
|
|
1417
|
+
HELPER FLAGS
|
|
1418
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1419
|
+
not request input through the console and will throw errors directly.
|
|
1420
|
+
--debug [env: INXT_DEBUG] Enables debug mode. When enabled, the CLI will print debug messages to the
|
|
1421
|
+
console.
|
|
1374
1422
|
|
|
1375
1423
|
GLOBAL FLAGS
|
|
1376
1424
|
--json Format output as json.
|
|
@@ -1388,7 +1436,7 @@ EXAMPLES
|
|
|
1388
1436
|
$ internxt webdav status
|
|
1389
1437
|
```
|
|
1390
1438
|
|
|
1391
|
-
_See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
1439
|
+
_See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/webdav.ts)_
|
|
1392
1440
|
|
|
1393
1441
|
## `internxt webdav-config`
|
|
1394
1442
|
|
|
@@ -1427,7 +1475,7 @@ EXAMPLES
|
|
|
1427
1475
|
$ internxt webdav-config
|
|
1428
1476
|
```
|
|
1429
1477
|
|
|
1430
|
-
_See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
1478
|
+
_See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/webdav-config.ts)_
|
|
1431
1479
|
|
|
1432
1480
|
## `internxt whoami`
|
|
1433
1481
|
|
|
@@ -1435,7 +1483,13 @@ Display the current user logged into the Internxt CLI.
|
|
|
1435
1483
|
|
|
1436
1484
|
```
|
|
1437
1485
|
USAGE
|
|
1438
|
-
$ internxt whoami [--json]
|
|
1486
|
+
$ internxt whoami [--json] [-x] [--debug]
|
|
1487
|
+
|
|
1488
|
+
HELPER FLAGS
|
|
1489
|
+
-x, --non-interactive [env: INXT_NONINTERACTIVE] Prevents the CLI from being interactive. When enabled, the CLI will
|
|
1490
|
+
not request input through the console and will throw errors directly.
|
|
1491
|
+
--debug [env: INXT_DEBUG] Enables debug mode. When enabled, the CLI will print debug messages to the
|
|
1492
|
+
console.
|
|
1439
1493
|
|
|
1440
1494
|
GLOBAL FLAGS
|
|
1441
1495
|
--json Format output as json.
|
|
@@ -1447,7 +1501,7 @@ EXAMPLES
|
|
|
1447
1501
|
$ internxt whoami
|
|
1448
1502
|
```
|
|
1449
1503
|
|
|
1450
|
-
_See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
1504
|
+
_See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/whoami.ts)_
|
|
1451
1505
|
|
|
1452
1506
|
## `internxt workspaces-list`
|
|
1453
1507
|
|
|
@@ -1479,7 +1533,7 @@ EXAMPLES
|
|
|
1479
1533
|
$ internxt workspaces-list
|
|
1480
1534
|
```
|
|
1481
1535
|
|
|
1482
|
-
_See code: [src/commands/workspaces-list.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
1536
|
+
_See code: [src/commands/workspaces-list.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/workspaces-list.ts)_
|
|
1483
1537
|
|
|
1484
1538
|
## `internxt workspaces-unset`
|
|
1485
1539
|
|
|
@@ -1509,7 +1563,7 @@ EXAMPLES
|
|
|
1509
1563
|
$ internxt workspaces-unset
|
|
1510
1564
|
```
|
|
1511
1565
|
|
|
1512
|
-
_See code: [src/commands/workspaces-unset.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
1566
|
+
_See code: [src/commands/workspaces-unset.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/workspaces-unset.ts)_
|
|
1513
1567
|
|
|
1514
1568
|
## `internxt workspaces-use`
|
|
1515
1569
|
|
|
@@ -1545,7 +1599,7 @@ EXAMPLES
|
|
|
1545
1599
|
$ internxt workspaces-use
|
|
1546
1600
|
```
|
|
1547
1601
|
|
|
1548
|
-
_See code: [src/commands/workspaces-use.ts](https://github.com/internxt/cli/blob/v1.6.
|
|
1602
|
+
_See code: [src/commands/workspaces-use.ts](https://github.com/internxt/cli/blob/v1.6.6/src/commands/workspaces-use.ts)_
|
|
1549
1603
|
|
|
1550
1604
|
## `internxt workspaces list`
|
|
1551
1605
|
|
|
@@ -4,7 +4,10 @@ export default class AddCert extends Command {
|
|
|
4
4
|
static readonly description = "Add a self-signed certificate to the trusted store for macOS, Linux, and Windows.";
|
|
5
5
|
static readonly aliases: string[];
|
|
6
6
|
static readonly examples: string[];
|
|
7
|
-
static readonly flags: {
|
|
7
|
+
static readonly flags: {
|
|
8
|
+
'non-interactive': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
|
+
debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
};
|
|
8
11
|
static readonly enableJsonFlag = true;
|
|
9
12
|
run: () => Promise<{
|
|
10
13
|
success: boolean;
|
|
@@ -14,7 +14,9 @@ class AddCert extends core_1.Command {
|
|
|
14
14
|
static description = 'Add a self-signed certificate to the trusted store for macOS, Linux, and Windows.';
|
|
15
15
|
static aliases = ['add:cert'];
|
|
16
16
|
static examples = ['<%= config.bin %> <%= command.id %>'];
|
|
17
|
-
static flags = {
|
|
17
|
+
static flags = {
|
|
18
|
+
...cli_utils_1.CLIUtils.CommonFlags,
|
|
19
|
+
};
|
|
18
20
|
static enableJsonFlag = true;
|
|
19
21
|
run = async () => {
|
|
20
22
|
const certPath = node_path_1.default.join(configs_1.WEBDAV_SSL_CERTS_DIR, 'cert.crt');
|
|
@@ -42,6 +44,7 @@ class AddCert extends core_1.Command {
|
|
|
42
44
|
command: this.id,
|
|
43
45
|
logReporter: this.log.bind(this),
|
|
44
46
|
jsonFlag: flags['json'],
|
|
47
|
+
debugMode: flags['debug'],
|
|
45
48
|
});
|
|
46
49
|
this.exit(1);
|
|
47
50
|
};
|
package/dist/commands/config.js
CHANGED
package/dist/commands/list.js
CHANGED
package/dist/commands/login.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export default class Login extends Command {
|
|
|
7
7
|
static readonly flags: {
|
|
8
8
|
host: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
port: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
+
'non-interactive': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
12
|
};
|
|
11
13
|
static readonly enableJsonFlag = true;
|
|
12
14
|
run: () => Promise<{
|
package/dist/commands/login.js
CHANGED
|
@@ -13,6 +13,7 @@ class Login extends core_1.Command {
|
|
|
13
13
|
static aliases = [];
|
|
14
14
|
static examples = ['<%= config.bin %> <%= command.id %>'];
|
|
15
15
|
static flags = {
|
|
16
|
+
...cli_utils_1.CLIUtils.CommonFlags,
|
|
16
17
|
host: core_1.Flags.string({
|
|
17
18
|
char: 'h',
|
|
18
19
|
aliases: ['host'],
|
|
@@ -55,6 +56,7 @@ class Login extends core_1.Command {
|
|
|
55
56
|
command: this.id,
|
|
56
57
|
logReporter: this.log.bind(this),
|
|
57
58
|
jsonFlag: flags['json'],
|
|
59
|
+
debugMode: flags['debug'],
|
|
58
60
|
});
|
|
59
61
|
this.exit(1);
|
|
60
62
|
};
|
|
@@ -4,7 +4,10 @@ export default class Logout extends Command {
|
|
|
4
4
|
static readonly description = "Logs out the current internxt user that is logged into the Internxt CLI.";
|
|
5
5
|
static readonly aliases: never[];
|
|
6
6
|
static readonly examples: string[];
|
|
7
|
-
static readonly flags: {
|
|
7
|
+
static readonly flags: {
|
|
8
|
+
'non-interactive': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
|
+
debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
};
|
|
8
11
|
static readonly enableJsonFlag = true;
|
|
9
12
|
run: () => Promise<{
|
|
10
13
|
success: boolean;
|
package/dist/commands/logout.js
CHANGED
|
@@ -9,7 +9,9 @@ class Logout extends core_1.Command {
|
|
|
9
9
|
static description = 'Logs out the current internxt user that is logged into the Internxt CLI.';
|
|
10
10
|
static aliases = [];
|
|
11
11
|
static examples = ['<%= config.bin %> <%= command.id %>'];
|
|
12
|
-
static flags = {
|
|
12
|
+
static flags = {
|
|
13
|
+
...cli_utils_1.CLIUtils.CommonFlags,
|
|
14
|
+
};
|
|
13
15
|
static enableJsonFlag = true;
|
|
14
16
|
run = async () => {
|
|
15
17
|
const user = await config_service_1.ConfigService.instance.readUser();
|
|
@@ -33,6 +35,7 @@ class Logout extends core_1.Command {
|
|
|
33
35
|
command: this.id,
|
|
34
36
|
logReporter: this.log.bind(this),
|
|
35
37
|
jsonFlag: flags['json'],
|
|
38
|
+
debugMode: flags['debug'],
|
|
36
39
|
});
|
|
37
40
|
this.exit(1);
|
|
38
41
|
};
|
package/dist/commands/logs.d.ts
CHANGED
|
@@ -4,7 +4,10 @@ export default class Logs extends Command {
|
|
|
4
4
|
static readonly description = "Displays the Internxt CLI logs directory path";
|
|
5
5
|
static readonly aliases: never[];
|
|
6
6
|
static readonly examples: string[];
|
|
7
|
-
static readonly flags: {
|
|
7
|
+
static readonly flags: {
|
|
8
|
+
'non-interactive': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
|
+
debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
};
|
|
8
11
|
static readonly enableJsonFlag = true;
|
|
9
12
|
run: () => Promise<{
|
|
10
13
|
success: boolean;
|
package/dist/commands/logs.js
CHANGED
|
@@ -8,7 +8,9 @@ class Logs extends core_1.Command {
|
|
|
8
8
|
static description = 'Displays the Internxt CLI logs directory path';
|
|
9
9
|
static aliases = [];
|
|
10
10
|
static examples = ['<%= config.bin %> <%= command.id %>'];
|
|
11
|
-
static flags = {
|
|
11
|
+
static flags = {
|
|
12
|
+
...cli_utils_1.CLIUtils.CommonFlags,
|
|
13
|
+
};
|
|
12
14
|
static enableJsonFlag = true;
|
|
13
15
|
run = async () => {
|
|
14
16
|
const message = `Internxt CLI logs are located at ${configs_1.INTERNXT_CLI_LOGS_DIR}`;
|
|
@@ -22,6 +24,7 @@ class Logs extends core_1.Command {
|
|
|
22
24
|
command: this.id,
|
|
23
25
|
logReporter: this.log.bind(this),
|
|
24
26
|
jsonFlag: flags['json'],
|
|
27
|
+
debugMode: flags['debug'],
|
|
25
28
|
});
|
|
26
29
|
this.exit(1);
|
|
27
30
|
};
|
|
@@ -6,6 +6,8 @@ export default class TrashList extends Command {
|
|
|
6
6
|
static readonly examples: string[];
|
|
7
7
|
static readonly flags: {
|
|
8
8
|
extended: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
|
+
'non-interactive': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
11
|
};
|
|
10
12
|
static readonly enableJsonFlag = true;
|
|
11
13
|
run: () => Promise<{
|
|
@@ -12,6 +12,7 @@ class TrashList extends core_1.Command {
|
|
|
12
12
|
static aliases = ['trash:list'];
|
|
13
13
|
static examples = ['<%= config.bin %> <%= command.id %>'];
|
|
14
14
|
static flags = {
|
|
15
|
+
...cli_utils_1.CLIUtils.CommonFlags,
|
|
15
16
|
extended: core_1.Flags.boolean({
|
|
16
17
|
char: 'e',
|
|
17
18
|
description: 'Displays additional information in the trash list.',
|
|
@@ -63,6 +64,7 @@ class TrashList extends core_1.Command {
|
|
|
63
64
|
command: this.id,
|
|
64
65
|
logReporter: this.log.bind(this),
|
|
65
66
|
jsonFlag: flags['json'],
|
|
67
|
+
debugMode: flags['debug'],
|
|
66
68
|
});
|
|
67
69
|
this.exit(1);
|
|
68
70
|
};
|
|
@@ -6,7 +6,10 @@ export default class Webdav extends Command {
|
|
|
6
6
|
static readonly description = "Start, stop, restart or get the status of the Internxt CLI WebDAV server";
|
|
7
7
|
static readonly aliases: never[];
|
|
8
8
|
static readonly examples: string[];
|
|
9
|
-
static readonly flags: {
|
|
9
|
+
static readonly flags: {
|
|
10
|
+
'non-interactive': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
12
|
+
};
|
|
10
13
|
static readonly enableJsonFlag = true;
|
|
11
14
|
run: () => Promise<{
|
|
12
15
|
success: boolean;
|
package/dist/commands/webdav.js
CHANGED
|
@@ -21,7 +21,9 @@ class Webdav extends core_1.Command {
|
|
|
21
21
|
'<%= config.bin %> <%= command.id %> restart',
|
|
22
22
|
'<%= config.bin %> <%= command.id %> status',
|
|
23
23
|
];
|
|
24
|
-
static flags = {
|
|
24
|
+
static flags = {
|
|
25
|
+
...cli_utils_1.CLIUtils.CommonFlags,
|
|
26
|
+
};
|
|
25
27
|
static enableJsonFlag = true;
|
|
26
28
|
run = async () => {
|
|
27
29
|
const { args, flags } = await this.parse(Webdav);
|
|
@@ -68,6 +70,7 @@ class Webdav extends core_1.Command {
|
|
|
68
70
|
command: this.id,
|
|
69
71
|
logReporter: this.log.bind(this),
|
|
70
72
|
jsonFlag: flags['json'],
|
|
73
|
+
debugMode: flags['debug'],
|
|
71
74
|
});
|
|
72
75
|
this.exit(1);
|
|
73
76
|
};
|
|
@@ -5,7 +5,10 @@ export default class Whoami extends Command {
|
|
|
5
5
|
static readonly description = "Display the current user logged into the Internxt CLI.";
|
|
6
6
|
static readonly aliases: never[];
|
|
7
7
|
static readonly examples: string[];
|
|
8
|
-
static readonly flags: {
|
|
8
|
+
static readonly flags: {
|
|
9
|
+
'non-interactive': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
debug: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
};
|
|
9
12
|
static readonly enableJsonFlag = true;
|
|
10
13
|
run: () => Promise<{
|
|
11
14
|
success: boolean;
|
package/dist/commands/whoami.js
CHANGED
|
@@ -10,7 +10,9 @@ class Whoami extends core_1.Command {
|
|
|
10
10
|
static description = 'Display the current user logged into the Internxt CLI.';
|
|
11
11
|
static aliases = [];
|
|
12
12
|
static examples = ['<%= config.bin %> <%= command.id %>'];
|
|
13
|
-
static flags = {
|
|
13
|
+
static flags = {
|
|
14
|
+
...cli_utils_1.CLIUtils.CommonFlags,
|
|
15
|
+
};
|
|
14
16
|
static enableJsonFlag = true;
|
|
15
17
|
run = async () => {
|
|
16
18
|
const userCredentials = await config_service_1.ConfigService.instance.readUser();
|
|
@@ -49,6 +51,7 @@ class Whoami extends core_1.Command {
|
|
|
49
51
|
command: this.id,
|
|
50
52
|
logReporter: this.log.bind(this),
|
|
51
53
|
jsonFlag: flags['json'],
|
|
54
|
+
debugMode: flags['debug'],
|
|
52
55
|
});
|
|
53
56
|
this.exit(1);
|
|
54
57
|
};
|
|
@@ -22,6 +22,7 @@ const CommandsToSkip = [whoami_1.default, login_1.default, login_legacy_1.defaul
|
|
|
22
22
|
const hook = async function (opts) {
|
|
23
23
|
const { Command, argv } = opts;
|
|
24
24
|
const jsonFlag = argv.includes('--json');
|
|
25
|
+
const debugFlag = argv.includes('--debug');
|
|
25
26
|
const commandsToSkipNames = CommandsToSkip.map((command) => command.name?.toLowerCase()).filter(Boolean);
|
|
26
27
|
const commandsToSkipIds = CommandsToSkip.map((command) => command.id?.toLowerCase()).filter(Boolean);
|
|
27
28
|
if (!commandsToSkipNames.includes(Command.name?.toLowerCase()) &&
|
|
@@ -41,6 +42,7 @@ const hook = async function (opts) {
|
|
|
41
42
|
command: Command.id,
|
|
42
43
|
logReporter: this.log.bind(this),
|
|
43
44
|
jsonFlag,
|
|
45
|
+
debugMode: debugFlag,
|
|
44
46
|
});
|
|
45
47
|
opts.context.exit(1);
|
|
46
48
|
}
|
|
@@ -49,11 +49,12 @@ export declare class CLIUtils {
|
|
|
49
49
|
};
|
|
50
50
|
static readonly formatDuration: (milliseconds: number) => string;
|
|
51
51
|
static readonly calculateThroughputMBps: (bytes: number, milliseconds: number) => number;
|
|
52
|
-
static readonly catchError: ({ error, logReporter, command, jsonFlag, }: {
|
|
52
|
+
static readonly catchError: ({ error, logReporter, command, jsonFlag, debugMode, }: {
|
|
53
53
|
error: Error | AppError | AxiosResponseError;
|
|
54
54
|
command?: string;
|
|
55
55
|
logReporter: LogReporter;
|
|
56
56
|
jsonFlag?: boolean;
|
|
57
|
+
debugMode?: boolean;
|
|
57
58
|
}) => void;
|
|
58
59
|
static readonly parseEmpty: (input: string) => Promise<string>;
|
|
59
60
|
static readonly prepareNetwork: (loginUserDetails: LoginUserDetails) => Promise<NetworkOptions>;
|
package/dist/utils/cli.utils.js
CHANGED
|
@@ -183,8 +183,8 @@ class CLIUtils {
|
|
|
183
183
|
const seconds = milliseconds / 1000;
|
|
184
184
|
return megabytes / seconds;
|
|
185
185
|
};
|
|
186
|
-
static catchError = ({ error, logReporter, command, jsonFlag, }) => {
|
|
187
|
-
let message;
|
|
186
|
+
static catchError = ({ error, logReporter, command, jsonFlag, debugMode, }) => {
|
|
187
|
+
let message = '';
|
|
188
188
|
let requestId;
|
|
189
189
|
if ('requestId' in error) {
|
|
190
190
|
requestId = error.requestId;
|
|
@@ -192,26 +192,40 @@ class CLIUtils {
|
|
|
192
192
|
else if ('xRequestId' in error) {
|
|
193
193
|
requestId = error.xRequestId;
|
|
194
194
|
}
|
|
195
|
+
if ('message' in error && typeof error.message === 'string' && error.message?.trim?.().length > 0) {
|
|
196
|
+
message = error.message;
|
|
197
|
+
}
|
|
195
198
|
if ('data' in error) {
|
|
196
199
|
const errorData = error.data;
|
|
197
|
-
if (errorData.message && errorData.message
|
|
198
|
-
message
|
|
200
|
+
if (typeof errorData.message === 'string' && errorData.message?.trim?.().length > 0) {
|
|
201
|
+
message += ' [' + errorData.message + ']';
|
|
199
202
|
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
if ('message' in error && error.message.trim().length > 0) {
|
|
203
|
-
message = error.message;
|
|
204
|
-
}
|
|
205
|
-
else {
|
|
206
|
-
message = JSON.stringify(error);
|
|
203
|
+
else if (Array.isArray(errorData.message) && errorData.message.length > 0) {
|
|
204
|
+
message += ' [' + errorData.message.join(', ') + ']';
|
|
207
205
|
}
|
|
208
206
|
}
|
|
207
|
+
if (message.length === 0) {
|
|
208
|
+
message = JSON.stringify(error);
|
|
209
|
+
}
|
|
209
210
|
CLIUtils.failed(jsonFlag);
|
|
211
|
+
const jsonLog = {
|
|
212
|
+
success: false,
|
|
213
|
+
message,
|
|
214
|
+
command,
|
|
215
|
+
};
|
|
216
|
+
if (requestId) {
|
|
217
|
+
jsonLog.requestId = requestId;
|
|
218
|
+
}
|
|
219
|
+
if (command) {
|
|
220
|
+
jsonLog.command = command;
|
|
221
|
+
}
|
|
210
222
|
if (jsonFlag) {
|
|
211
|
-
CLIUtils.consoleLog(JSON.stringify(
|
|
223
|
+
CLIUtils.consoleLog(JSON.stringify(jsonLog));
|
|
212
224
|
}
|
|
213
225
|
else {
|
|
214
|
-
|
|
226
|
+
if (debugMode) {
|
|
227
|
+
errors_utils_1.ErrorUtils.report(error);
|
|
228
|
+
}
|
|
215
229
|
CLIUtils.error(logReporter, message + (requestId ? ` (requestId: ${requestId})` : ''));
|
|
216
230
|
}
|
|
217
231
|
};
|
package/oclif.manifest.json
CHANGED
|
@@ -16,6 +16,25 @@
|
|
|
16
16
|
"name": "json",
|
|
17
17
|
"allowNo": false,
|
|
18
18
|
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"non-interactive": {
|
|
21
|
+
"char": "x",
|
|
22
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
23
|
+
"env": "INXT_NONINTERACTIVE",
|
|
24
|
+
"helpGroup": "helper",
|
|
25
|
+
"name": "non-interactive",
|
|
26
|
+
"required": false,
|
|
27
|
+
"allowNo": false,
|
|
28
|
+
"type": "boolean"
|
|
29
|
+
},
|
|
30
|
+
"debug": {
|
|
31
|
+
"description": "Enables debug mode. When enabled, the CLI will print debug messages to the console.",
|
|
32
|
+
"env": "INXT_DEBUG",
|
|
33
|
+
"helpGroup": "helper",
|
|
34
|
+
"name": "debug",
|
|
35
|
+
"required": false,
|
|
36
|
+
"allowNo": false,
|
|
37
|
+
"type": "boolean"
|
|
19
38
|
}
|
|
20
39
|
},
|
|
21
40
|
"hasDynamicHelp": false,
|
|
@@ -548,6 +567,25 @@
|
|
|
548
567
|
"allowNo": false,
|
|
549
568
|
"type": "boolean"
|
|
550
569
|
},
|
|
570
|
+
"non-interactive": {
|
|
571
|
+
"char": "x",
|
|
572
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
573
|
+
"env": "INXT_NONINTERACTIVE",
|
|
574
|
+
"helpGroup": "helper",
|
|
575
|
+
"name": "non-interactive",
|
|
576
|
+
"required": false,
|
|
577
|
+
"allowNo": false,
|
|
578
|
+
"type": "boolean"
|
|
579
|
+
},
|
|
580
|
+
"debug": {
|
|
581
|
+
"description": "Enables debug mode. When enabled, the CLI will print debug messages to the console.",
|
|
582
|
+
"env": "INXT_DEBUG",
|
|
583
|
+
"helpGroup": "helper",
|
|
584
|
+
"name": "debug",
|
|
585
|
+
"required": false,
|
|
586
|
+
"allowNo": false,
|
|
587
|
+
"type": "boolean"
|
|
588
|
+
},
|
|
551
589
|
"host": {
|
|
552
590
|
"aliases": [
|
|
553
591
|
"host"
|
|
@@ -604,6 +642,25 @@
|
|
|
604
642
|
"name": "json",
|
|
605
643
|
"allowNo": false,
|
|
606
644
|
"type": "boolean"
|
|
645
|
+
},
|
|
646
|
+
"non-interactive": {
|
|
647
|
+
"char": "x",
|
|
648
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
649
|
+
"env": "INXT_NONINTERACTIVE",
|
|
650
|
+
"helpGroup": "helper",
|
|
651
|
+
"name": "non-interactive",
|
|
652
|
+
"required": false,
|
|
653
|
+
"allowNo": false,
|
|
654
|
+
"type": "boolean"
|
|
655
|
+
},
|
|
656
|
+
"debug": {
|
|
657
|
+
"description": "Enables debug mode. When enabled, the CLI will print debug messages to the console.",
|
|
658
|
+
"env": "INXT_DEBUG",
|
|
659
|
+
"helpGroup": "helper",
|
|
660
|
+
"name": "debug",
|
|
661
|
+
"required": false,
|
|
662
|
+
"allowNo": false,
|
|
663
|
+
"type": "boolean"
|
|
607
664
|
}
|
|
608
665
|
},
|
|
609
666
|
"hasDynamicHelp": false,
|
|
@@ -635,6 +692,25 @@
|
|
|
635
692
|
"name": "json",
|
|
636
693
|
"allowNo": false,
|
|
637
694
|
"type": "boolean"
|
|
695
|
+
},
|
|
696
|
+
"non-interactive": {
|
|
697
|
+
"char": "x",
|
|
698
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
699
|
+
"env": "INXT_NONINTERACTIVE",
|
|
700
|
+
"helpGroup": "helper",
|
|
701
|
+
"name": "non-interactive",
|
|
702
|
+
"required": false,
|
|
703
|
+
"allowNo": false,
|
|
704
|
+
"type": "boolean"
|
|
705
|
+
},
|
|
706
|
+
"debug": {
|
|
707
|
+
"description": "Enables debug mode. When enabled, the CLI will print debug messages to the console.",
|
|
708
|
+
"env": "INXT_DEBUG",
|
|
709
|
+
"helpGroup": "helper",
|
|
710
|
+
"name": "debug",
|
|
711
|
+
"required": false,
|
|
712
|
+
"allowNo": false,
|
|
713
|
+
"type": "boolean"
|
|
638
714
|
}
|
|
639
715
|
},
|
|
640
716
|
"hasDynamicHelp": false,
|
|
@@ -1131,6 +1207,25 @@
|
|
|
1131
1207
|
"allowNo": false,
|
|
1132
1208
|
"type": "boolean"
|
|
1133
1209
|
},
|
|
1210
|
+
"non-interactive": {
|
|
1211
|
+
"char": "x",
|
|
1212
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
1213
|
+
"env": "INXT_NONINTERACTIVE",
|
|
1214
|
+
"helpGroup": "helper",
|
|
1215
|
+
"name": "non-interactive",
|
|
1216
|
+
"required": false,
|
|
1217
|
+
"allowNo": false,
|
|
1218
|
+
"type": "boolean"
|
|
1219
|
+
},
|
|
1220
|
+
"debug": {
|
|
1221
|
+
"description": "Enables debug mode. When enabled, the CLI will print debug messages to the console.",
|
|
1222
|
+
"env": "INXT_DEBUG",
|
|
1223
|
+
"helpGroup": "helper",
|
|
1224
|
+
"name": "debug",
|
|
1225
|
+
"required": false,
|
|
1226
|
+
"allowNo": false,
|
|
1227
|
+
"type": "boolean"
|
|
1228
|
+
},
|
|
1134
1229
|
"extended": {
|
|
1135
1230
|
"char": "e",
|
|
1136
1231
|
"description": "Displays additional information in the trash list.",
|
|
@@ -1606,6 +1701,25 @@
|
|
|
1606
1701
|
"name": "json",
|
|
1607
1702
|
"allowNo": false,
|
|
1608
1703
|
"type": "boolean"
|
|
1704
|
+
},
|
|
1705
|
+
"non-interactive": {
|
|
1706
|
+
"char": "x",
|
|
1707
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
1708
|
+
"env": "INXT_NONINTERACTIVE",
|
|
1709
|
+
"helpGroup": "helper",
|
|
1710
|
+
"name": "non-interactive",
|
|
1711
|
+
"required": false,
|
|
1712
|
+
"allowNo": false,
|
|
1713
|
+
"type": "boolean"
|
|
1714
|
+
},
|
|
1715
|
+
"debug": {
|
|
1716
|
+
"description": "Enables debug mode. When enabled, the CLI will print debug messages to the console.",
|
|
1717
|
+
"env": "INXT_DEBUG",
|
|
1718
|
+
"helpGroup": "helper",
|
|
1719
|
+
"name": "debug",
|
|
1720
|
+
"required": false,
|
|
1721
|
+
"allowNo": false,
|
|
1722
|
+
"type": "boolean"
|
|
1609
1723
|
}
|
|
1610
1724
|
},
|
|
1611
1725
|
"hasDynamicHelp": false,
|
|
@@ -1637,6 +1751,25 @@
|
|
|
1637
1751
|
"name": "json",
|
|
1638
1752
|
"allowNo": false,
|
|
1639
1753
|
"type": "boolean"
|
|
1754
|
+
},
|
|
1755
|
+
"non-interactive": {
|
|
1756
|
+
"char": "x",
|
|
1757
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
1758
|
+
"env": "INXT_NONINTERACTIVE",
|
|
1759
|
+
"helpGroup": "helper",
|
|
1760
|
+
"name": "non-interactive",
|
|
1761
|
+
"required": false,
|
|
1762
|
+
"allowNo": false,
|
|
1763
|
+
"type": "boolean"
|
|
1764
|
+
},
|
|
1765
|
+
"debug": {
|
|
1766
|
+
"description": "Enables debug mode. When enabled, the CLI will print debug messages to the console.",
|
|
1767
|
+
"env": "INXT_DEBUG",
|
|
1768
|
+
"helpGroup": "helper",
|
|
1769
|
+
"name": "debug",
|
|
1770
|
+
"required": false,
|
|
1771
|
+
"allowNo": false,
|
|
1772
|
+
"type": "boolean"
|
|
1640
1773
|
}
|
|
1641
1774
|
},
|
|
1642
1775
|
"hasDynamicHelp": false,
|
|
@@ -1839,5 +1972,5 @@
|
|
|
1839
1972
|
]
|
|
1840
1973
|
}
|
|
1841
1974
|
},
|
|
1842
|
-
"version": "1.6.
|
|
1975
|
+
"version": "1.6.6"
|
|
1843
1976
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Internxt <hello@internxt.com>",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.6",
|
|
4
4
|
"description": "Internxt CLI to manage your encrypted storage",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "npm run clean && tsc",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@dashlane/pqc-kem-kyber512-node": "1.0.0",
|
|
40
40
|
"@inquirer/prompts": "8.5.2",
|
|
41
|
-
"@internxt/inxt-js": "3.
|
|
41
|
+
"@internxt/inxt-js": "3.3.1",
|
|
42
42
|
"@internxt/lib": "1.4.2",
|
|
43
|
-
"@internxt/sdk": "1.17.
|
|
44
|
-
"@oclif/core": "4.11.
|
|
45
|
-
"@oclif/plugin-autocomplete": "3.2.
|
|
43
|
+
"@internxt/sdk": "1.17.9",
|
|
44
|
+
"@oclif/core": "4.11.10",
|
|
45
|
+
"@oclif/plugin-autocomplete": "3.2.52",
|
|
46
46
|
"axios": "1.18.0",
|
|
47
47
|
"better-sqlite3": "12.11.1",
|
|
48
48
|
"bip39": "3.1.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"express": "5.2.1",
|
|
54
54
|
"express-async-handler": "1.2.0",
|
|
55
55
|
"fast-xml-builder": "1.2.0",
|
|
56
|
-
"fast-xml-parser": "5.9.
|
|
56
|
+
"fast-xml-parser": "5.9.3",
|
|
57
57
|
"hash-wasm": "4.12.0",
|
|
58
58
|
"mime-types": "3.0.2",
|
|
59
59
|
"open": "11.0.0",
|
|
@@ -73,15 +73,15 @@
|
|
|
73
73
|
"@types/cli-progress": "^3.11.6",
|
|
74
74
|
"@types/express": "^5.0.6",
|
|
75
75
|
"@types/mime-types": "^3.0.1",
|
|
76
|
-
"@types/node": "^
|
|
76
|
+
"@types/node": "^26.0.0",
|
|
77
77
|
"@types/range-parser": "^1.2.7",
|
|
78
78
|
"@vitest/coverage-istanbul": "^4.1.9",
|
|
79
79
|
"@vitest/spy": "^4.1.9",
|
|
80
80
|
"eslint": "^10.5.0",
|
|
81
81
|
"husky": "^9.1.7",
|
|
82
|
-
"lint-staged": "^17.0.
|
|
82
|
+
"lint-staged": "^17.0.8",
|
|
83
83
|
"nodemon": "^3.1.14",
|
|
84
|
-
"oclif": "^4.23.
|
|
84
|
+
"oclif": "^4.23.19",
|
|
85
85
|
"prettier": "^3.8.4",
|
|
86
86
|
"rimraf": "^6.1.3",
|
|
87
87
|
"sql.js": "^1.14.1",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"vitest-mock-express": "^2.2.0"
|
|
92
92
|
},
|
|
93
93
|
"optionalDependencies": {
|
|
94
|
-
"sharp": "0.35.
|
|
94
|
+
"sharp": "0.35.2"
|
|
95
95
|
},
|
|
96
96
|
"engines": {
|
|
97
97
|
"node": "^22.13.0 || >=24.11.0"
|