@internxt/cli 1.3.3 → 1.4.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.
- package/README.md +590 -176
- package/dist/commands/add-cert.d.ts +10 -3
- package/dist/commands/add-cert.js +24 -38
- package/dist/commands/config.d.ts +15 -12
- package/dist/commands/config.js +24 -28
- package/dist/commands/create-folder.d.ts +16 -8
- package/dist/commands/create-folder.js +67 -24
- package/dist/commands/delete-permanently-file.d.ts +18 -0
- package/dist/commands/delete-permanently-file.js +63 -0
- package/dist/commands/delete-permanently-folder.d.ts +18 -0
- package/dist/commands/delete-permanently-folder.js +63 -0
- package/dist/commands/download-file.d.ts +26 -0
- package/dist/commands/{download.js → download-file.js} +98 -56
- package/dist/commands/list.d.ts +12 -12
- package/dist/commands/list.js +45 -73
- package/dist/commands/login.d.ts +11 -9
- package/dist/commands/login.js +46 -49
- package/dist/commands/logout.d.ts +7 -2
- package/dist/commands/logout.js +14 -8
- package/dist/commands/logs.d.ts +11 -2
- package/dist/commands/logs.js +16 -3
- package/dist/commands/move-file.d.ts +9 -7
- package/dist/commands/move-file.js +38 -37
- package/dist/commands/move-folder.d.ts +9 -7
- package/dist/commands/move-folder.js +38 -37
- package/dist/commands/rename-file.d.ts +24 -0
- package/dist/commands/rename-file.js +80 -0
- package/dist/commands/rename-folder.d.ts +24 -0
- package/dist/commands/rename-folder.js +80 -0
- package/dist/commands/trash-clear.d.ts +9 -5
- package/dist/commands/trash-clear.js +21 -19
- package/dist/commands/trash-file.d.ts +21 -0
- package/dist/commands/trash-file.js +58 -0
- package/dist/commands/trash-folder.d.ts +21 -0
- package/dist/commands/trash-folder.js +58 -0
- package/dist/commands/trash-list.d.ts +10 -11
- package/dist/commands/trash-list.js +33 -62
- package/dist/commands/trash-restore-file.d.ts +10 -8
- package/dist/commands/trash-restore-file.js +33 -35
- package/dist/commands/trash-restore-folder.d.ts +10 -8
- package/dist/commands/trash-restore-folder.js +33 -35
- package/dist/commands/upload-file.d.ts +21 -0
- package/dist/commands/upload-file.js +140 -0
- package/dist/commands/webdav-config.d.ts +11 -9
- package/dist/commands/webdav-config.js +40 -66
- package/dist/commands/webdav.d.ts +16 -9
- package/dist/commands/webdav.js +77 -61
- package/dist/commands/whoami.d.ts +14 -2
- package/dist/commands/whoami.js +40 -11
- package/dist/hooks/prerun/auth_check.js +6 -4
- package/dist/services/auth.service.d.ts +2 -8
- package/dist/services/auth.service.js +33 -24
- package/dist/services/config.service.d.ts +3 -3
- package/dist/services/config.service.js +8 -8
- package/dist/services/crypto.service.d.ts +1 -3
- package/dist/services/crypto.service.js +11 -36
- package/dist/services/database/drive-file/drive-file.repository.d.ts +3 -3
- package/dist/services/database/drive-folder/drive-folder.repository.d.ts +3 -3
- package/dist/services/drive/drive-file.service.d.ts +1 -8
- package/dist/services/drive/drive-file.service.js +9 -23
- package/dist/services/drive/drive-folder.service.d.ts +1 -4
- package/dist/services/drive/drive-folder.service.js +2 -5
- package/dist/services/drive/trash.service.d.ts +2 -0
- package/dist/services/drive/trash.service.js +8 -0
- package/dist/services/keys.service.js +17 -7
- package/dist/services/network/network-facade.service.d.ts +1 -3
- package/dist/services/network/network-facade.service.js +20 -13
- package/dist/services/network/upload.service.d.ts +0 -1
- package/dist/services/sdk-manager.service.d.ts +2 -3
- package/dist/services/sdk-manager.service.js +14 -12
- package/dist/services/validation.service.d.ts +10 -0
- package/dist/services/validation.service.js +40 -1
- package/dist/types/command.types.d.ts +26 -17
- package/dist/types/command.types.js +38 -24
- package/dist/types/network.types.d.ts +0 -1
- package/dist/types/webdav.types.d.ts +1 -2
- package/dist/utils/cli.utils.d.ts +28 -19
- package/dist/utils/cli.utils.js +64 -44
- package/dist/utils/errors.utils.d.ts +1 -1
- package/dist/utils/errors.utils.js +3 -3
- package/dist/utils/hash.utils.d.ts +4 -7
- package/dist/utils/hash.utils.js +6 -6
- package/dist/utils/inquirer.utils.d.ts +4 -0
- package/dist/utils/inquirer.utils.js +24 -0
- package/dist/utils/network.utils.d.ts +2 -2
- package/dist/utils/network.utils.js +10 -8
- package/dist/utils/pm2.utils.d.ts +5 -1
- package/dist/utils/pm2.utils.js +35 -3
- package/dist/utils/stream.utils.d.ts +1 -4
- package/dist/utils/webdav.utils.js +4 -4
- package/dist/utils/xml.utils.js +4 -1
- package/dist/webdav/handlers/GET.handler.js +8 -3
- package/dist/webdav/handlers/MKCOL.handler.js +2 -6
- package/dist/webdav/handlers/MOVE.handler.js +0 -3
- package/dist/webdav/handlers/PROPFIND.handler.js +2 -2
- package/dist/webdav/handlers/PUT.handler.js +14 -9
- package/dist/webdav/middewares/errors.middleware.js +1 -1
- package/dist/webdav/middewares/request-logger.middleware.d.ts +1 -2
- package/dist/webdav/middewares/request-logger.middleware.js +6 -5
- package/dist/webdav/webdav-server.js +2 -3
- package/oclif.manifest.json +517 -350
- package/package.json +42 -47
- package/dist/commands/download.d.ts +0 -19
- package/dist/commands/rename.d.ts +0 -18
- package/dist/commands/rename.js +0 -109
- package/dist/commands/trash.d.ts +0 -15
- package/dist/commands/trash.js +0 -85
- package/dist/commands/upload.d.ts +0 -15
- package/dist/commands/upload.js +0 -93
- package/dist/services/analytics.service.d.ts +0 -22
- package/dist/services/analytics.service.js +0 -20
package/oclif.manifest.json
CHANGED
|
@@ -7,7 +7,15 @@
|
|
|
7
7
|
"examples": [
|
|
8
8
|
"<%= config.bin %> <%= command.id %>"
|
|
9
9
|
],
|
|
10
|
-
"flags": {
|
|
10
|
+
"flags": {
|
|
11
|
+
"json": {
|
|
12
|
+
"description": "Format output as json.",
|
|
13
|
+
"helpGroup": "GLOBAL",
|
|
14
|
+
"name": "json",
|
|
15
|
+
"allowNo": false,
|
|
16
|
+
"type": "boolean"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
11
19
|
"hasDynamicHelp": false,
|
|
12
20
|
"hiddenAliases": [],
|
|
13
21
|
"id": "add-cert",
|
|
@@ -15,7 +23,7 @@
|
|
|
15
23
|
"pluginName": "@internxt/cli",
|
|
16
24
|
"pluginType": "core",
|
|
17
25
|
"strict": true,
|
|
18
|
-
"enableJsonFlag":
|
|
26
|
+
"enableJsonFlag": true,
|
|
19
27
|
"isESM": false,
|
|
20
28
|
"relativePath": [
|
|
21
29
|
"dist",
|
|
@@ -31,82 +39,12 @@
|
|
|
31
39
|
"<%= config.bin %> <%= command.id %>"
|
|
32
40
|
],
|
|
33
41
|
"flags": {
|
|
34
|
-
"
|
|
35
|
-
"description": "
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
],
|
|
39
|
-
"name": "columns",
|
|
40
|
-
"hasDynamicHelp": false,
|
|
41
|
-
"multiple": false,
|
|
42
|
-
"type": "option"
|
|
43
|
-
},
|
|
44
|
-
"csv": {
|
|
45
|
-
"description": "output is csv format [alias: --output=csv]",
|
|
46
|
-
"exclusive": [
|
|
47
|
-
"no-truncate"
|
|
48
|
-
],
|
|
49
|
-
"name": "csv",
|
|
50
|
-
"allowNo": false,
|
|
51
|
-
"type": "boolean"
|
|
52
|
-
},
|
|
53
|
-
"extended": {
|
|
54
|
-
"char": "x",
|
|
55
|
-
"description": "show extra columns",
|
|
56
|
-
"exclusive": [
|
|
57
|
-
"columns"
|
|
58
|
-
],
|
|
59
|
-
"name": "extended",
|
|
60
|
-
"allowNo": false,
|
|
61
|
-
"type": "boolean"
|
|
62
|
-
},
|
|
63
|
-
"filter": {
|
|
64
|
-
"description": "filter property by partial string matching, ex: name=foo",
|
|
65
|
-
"name": "filter",
|
|
66
|
-
"hasDynamicHelp": false,
|
|
67
|
-
"multiple": false,
|
|
68
|
-
"type": "option"
|
|
69
|
-
},
|
|
70
|
-
"no-header": {
|
|
71
|
-
"description": "hide table header from output",
|
|
72
|
-
"exclusive": [
|
|
73
|
-
"csv"
|
|
74
|
-
],
|
|
75
|
-
"name": "no-header",
|
|
76
|
-
"allowNo": false,
|
|
77
|
-
"type": "boolean"
|
|
78
|
-
},
|
|
79
|
-
"no-truncate": {
|
|
80
|
-
"description": "do not truncate output to fit screen",
|
|
81
|
-
"exclusive": [
|
|
82
|
-
"csv"
|
|
83
|
-
],
|
|
84
|
-
"name": "no-truncate",
|
|
42
|
+
"json": {
|
|
43
|
+
"description": "Format output as json.",
|
|
44
|
+
"helpGroup": "GLOBAL",
|
|
45
|
+
"name": "json",
|
|
85
46
|
"allowNo": false,
|
|
86
47
|
"type": "boolean"
|
|
87
|
-
},
|
|
88
|
-
"output": {
|
|
89
|
-
"description": "output in a more machine friendly format",
|
|
90
|
-
"exclusive": [
|
|
91
|
-
"no-truncate",
|
|
92
|
-
"csv"
|
|
93
|
-
],
|
|
94
|
-
"name": "output",
|
|
95
|
-
"hasDynamicHelp": false,
|
|
96
|
-
"multiple": false,
|
|
97
|
-
"options": [
|
|
98
|
-
"csv",
|
|
99
|
-
"json",
|
|
100
|
-
"yaml"
|
|
101
|
-
],
|
|
102
|
-
"type": "option"
|
|
103
|
-
},
|
|
104
|
-
"sort": {
|
|
105
|
-
"description": "property to sort by (prepend '-' for descending)",
|
|
106
|
-
"name": "sort",
|
|
107
|
-
"hasDynamicHelp": false,
|
|
108
|
-
"multiple": false,
|
|
109
|
-
"type": "option"
|
|
110
48
|
}
|
|
111
49
|
},
|
|
112
50
|
"hasDynamicHelp": false,
|
|
@@ -116,7 +54,7 @@
|
|
|
116
54
|
"pluginName": "@internxt/cli",
|
|
117
55
|
"pluginType": "core",
|
|
118
56
|
"strict": true,
|
|
119
|
-
"enableJsonFlag":
|
|
57
|
+
"enableJsonFlag": true,
|
|
120
58
|
"isESM": false,
|
|
121
59
|
"relativePath": [
|
|
122
60
|
"dist",
|
|
@@ -132,16 +70,35 @@
|
|
|
132
70
|
"<%= config.bin %> <%= command.id %>"
|
|
133
71
|
],
|
|
134
72
|
"flags": {
|
|
73
|
+
"json": {
|
|
74
|
+
"description": "Format output as json.",
|
|
75
|
+
"helpGroup": "GLOBAL",
|
|
76
|
+
"name": "json",
|
|
77
|
+
"allowNo": false,
|
|
78
|
+
"type": "boolean"
|
|
79
|
+
},
|
|
80
|
+
"non-interactive": {
|
|
81
|
+
"char": "x",
|
|
82
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
83
|
+
"env": "INXT_NONINTERACTIVE",
|
|
84
|
+
"helpGroup": "helper",
|
|
85
|
+
"name": "non-interactive",
|
|
86
|
+
"required": false,
|
|
87
|
+
"allowNo": false,
|
|
88
|
+
"type": "boolean"
|
|
89
|
+
},
|
|
135
90
|
"name": {
|
|
136
|
-
"
|
|
91
|
+
"char": "n",
|
|
92
|
+
"description": "The new name for the folder",
|
|
137
93
|
"name": "name",
|
|
138
|
-
"required":
|
|
94
|
+
"required": false,
|
|
139
95
|
"hasDynamicHelp": false,
|
|
140
96
|
"multiple": false,
|
|
141
97
|
"type": "option"
|
|
142
98
|
},
|
|
143
99
|
"id": {
|
|
144
|
-
"
|
|
100
|
+
"char": "i",
|
|
101
|
+
"description": "The ID of the folder where the new folder will be created. Defaults to your root folder if not specified.",
|
|
145
102
|
"name": "id",
|
|
146
103
|
"required": false,
|
|
147
104
|
"hasDynamicHelp": false,
|
|
@@ -156,7 +113,7 @@
|
|
|
156
113
|
"pluginName": "@internxt/cli",
|
|
157
114
|
"pluginType": "core",
|
|
158
115
|
"strict": true,
|
|
159
|
-
"enableJsonFlag":
|
|
116
|
+
"enableJsonFlag": true,
|
|
160
117
|
"isESM": false,
|
|
161
118
|
"relativePath": [
|
|
162
119
|
"dist",
|
|
@@ -164,32 +121,90 @@
|
|
|
164
121
|
"create-folder.js"
|
|
165
122
|
]
|
|
166
123
|
},
|
|
167
|
-
"
|
|
168
|
-
"aliases": [
|
|
124
|
+
"delete-permanently-file": {
|
|
125
|
+
"aliases": [
|
|
126
|
+
"delete:permanently:file"
|
|
127
|
+
],
|
|
169
128
|
"args": {},
|
|
170
|
-
"description": "
|
|
129
|
+
"description": "Deletes permanently a file. This action cannot be undone.",
|
|
171
130
|
"examples": [
|
|
172
131
|
"<%= config.bin %> <%= command.id %>"
|
|
173
132
|
],
|
|
174
133
|
"flags": {
|
|
175
|
-
"
|
|
176
|
-
"description": "
|
|
177
|
-
"
|
|
134
|
+
"json": {
|
|
135
|
+
"description": "Format output as json.",
|
|
136
|
+
"helpGroup": "GLOBAL",
|
|
137
|
+
"name": "json",
|
|
138
|
+
"allowNo": false,
|
|
139
|
+
"type": "boolean"
|
|
140
|
+
},
|
|
141
|
+
"non-interactive": {
|
|
142
|
+
"char": "x",
|
|
143
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
144
|
+
"env": "INXT_NONINTERACTIVE",
|
|
145
|
+
"helpGroup": "helper",
|
|
146
|
+
"name": "non-interactive",
|
|
147
|
+
"required": false,
|
|
178
148
|
"allowNo": false,
|
|
179
149
|
"type": "boolean"
|
|
180
150
|
},
|
|
181
151
|
"id": {
|
|
182
|
-
"
|
|
152
|
+
"char": "i",
|
|
153
|
+
"description": "The file id to be permanently deleted.",
|
|
183
154
|
"name": "id",
|
|
184
|
-
"required":
|
|
155
|
+
"required": false,
|
|
185
156
|
"hasDynamicHelp": false,
|
|
186
157
|
"multiple": false,
|
|
187
158
|
"type": "option"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"hasDynamicHelp": false,
|
|
162
|
+
"hiddenAliases": [],
|
|
163
|
+
"id": "delete-permanently-file",
|
|
164
|
+
"pluginAlias": "@internxt/cli",
|
|
165
|
+
"pluginName": "@internxt/cli",
|
|
166
|
+
"pluginType": "core",
|
|
167
|
+
"strict": true,
|
|
168
|
+
"enableJsonFlag": true,
|
|
169
|
+
"isESM": false,
|
|
170
|
+
"relativePath": [
|
|
171
|
+
"dist",
|
|
172
|
+
"commands",
|
|
173
|
+
"delete-permanently-file.js"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"delete-permanently-folder": {
|
|
177
|
+
"aliases": [
|
|
178
|
+
"delete:permanently:folder"
|
|
179
|
+
],
|
|
180
|
+
"args": {},
|
|
181
|
+
"description": "Deletes permanently a folder. This action cannot be undone.",
|
|
182
|
+
"examples": [
|
|
183
|
+
"<%= config.bin %> <%= command.id %>"
|
|
184
|
+
],
|
|
185
|
+
"flags": {
|
|
186
|
+
"json": {
|
|
187
|
+
"description": "Format output as json.",
|
|
188
|
+
"helpGroup": "GLOBAL",
|
|
189
|
+
"name": "json",
|
|
190
|
+
"allowNo": false,
|
|
191
|
+
"type": "boolean"
|
|
188
192
|
},
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
+
"non-interactive": {
|
|
194
|
+
"char": "x",
|
|
195
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
196
|
+
"env": "INXT_NONINTERACTIVE",
|
|
197
|
+
"helpGroup": "helper",
|
|
198
|
+
"name": "non-interactive",
|
|
199
|
+
"required": false,
|
|
200
|
+
"allowNo": false,
|
|
201
|
+
"type": "boolean"
|
|
202
|
+
},
|
|
203
|
+
"id": {
|
|
204
|
+
"char": "i",
|
|
205
|
+
"description": "The folder id to be permanently deleted.",
|
|
206
|
+
"name": "id",
|
|
207
|
+
"required": false,
|
|
193
208
|
"hasDynamicHelp": false,
|
|
194
209
|
"multiple": false,
|
|
195
210
|
"type": "option"
|
|
@@ -197,30 +212,39 @@
|
|
|
197
212
|
},
|
|
198
213
|
"hasDynamicHelp": false,
|
|
199
214
|
"hiddenAliases": [],
|
|
200
|
-
"id": "
|
|
215
|
+
"id": "delete-permanently-folder",
|
|
201
216
|
"pluginAlias": "@internxt/cli",
|
|
202
217
|
"pluginName": "@internxt/cli",
|
|
203
218
|
"pluginType": "core",
|
|
204
219
|
"strict": true,
|
|
205
|
-
"enableJsonFlag":
|
|
220
|
+
"enableJsonFlag": true,
|
|
206
221
|
"isESM": false,
|
|
207
222
|
"relativePath": [
|
|
208
223
|
"dist",
|
|
209
224
|
"commands",
|
|
210
|
-
"
|
|
225
|
+
"delete-permanently-folder.js"
|
|
211
226
|
]
|
|
212
227
|
},
|
|
213
|
-
"
|
|
214
|
-
"aliases": [
|
|
228
|
+
"download-file": {
|
|
229
|
+
"aliases": [
|
|
230
|
+
"download:file"
|
|
231
|
+
],
|
|
215
232
|
"args": {},
|
|
216
|
-
"description": "
|
|
233
|
+
"description": "Download and decrypts a file from Internxt Drive to a directory. The file name will be the same as the file name in your Drive.",
|
|
217
234
|
"examples": [
|
|
218
235
|
"<%= config.bin %> <%= command.id %>"
|
|
219
236
|
],
|
|
220
237
|
"flags": {
|
|
238
|
+
"json": {
|
|
239
|
+
"description": "Format output as json.",
|
|
240
|
+
"helpGroup": "GLOBAL",
|
|
241
|
+
"name": "json",
|
|
242
|
+
"allowNo": false,
|
|
243
|
+
"type": "boolean"
|
|
244
|
+
},
|
|
221
245
|
"non-interactive": {
|
|
222
|
-
"char": "
|
|
223
|
-
"description": "
|
|
246
|
+
"char": "x",
|
|
247
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
224
248
|
"env": "INXT_NONINTERACTIVE",
|
|
225
249
|
"helpGroup": "helper",
|
|
226
250
|
"name": "non-interactive",
|
|
@@ -229,90 +253,87 @@
|
|
|
229
253
|
"type": "boolean"
|
|
230
254
|
},
|
|
231
255
|
"id": {
|
|
232
|
-
"char": "
|
|
233
|
-
"description": "The
|
|
256
|
+
"char": "i",
|
|
257
|
+
"description": "The id of the file to download. Use <%= config.bin %> list to view your files ids",
|
|
234
258
|
"name": "id",
|
|
235
259
|
"required": false,
|
|
236
260
|
"hasDynamicHelp": false,
|
|
237
261
|
"multiple": false,
|
|
238
262
|
"type": "option"
|
|
239
263
|
},
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
"name": "columns",
|
|
264
|
+
"directory": {
|
|
265
|
+
"char": "d",
|
|
266
|
+
"description": "The directory to download the file to. Leave empty for the current folder.",
|
|
267
|
+
"name": "directory",
|
|
268
|
+
"required": false,
|
|
246
269
|
"hasDynamicHelp": false,
|
|
247
270
|
"multiple": false,
|
|
248
271
|
"type": "option"
|
|
249
272
|
},
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
"
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
"
|
|
273
|
+
"overwrite": {
|
|
274
|
+
"char": "o",
|
|
275
|
+
"description": "Overwrite the file if it already exists",
|
|
276
|
+
"name": "overwrite",
|
|
277
|
+
"allowNo": false,
|
|
278
|
+
"type": "boolean"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"hasDynamicHelp": false,
|
|
282
|
+
"hiddenAliases": [],
|
|
283
|
+
"id": "download-file",
|
|
284
|
+
"pluginAlias": "@internxt/cli",
|
|
285
|
+
"pluginName": "@internxt/cli",
|
|
286
|
+
"pluginType": "core",
|
|
287
|
+
"strict": true,
|
|
288
|
+
"enableJsonFlag": true,
|
|
289
|
+
"isESM": false,
|
|
290
|
+
"relativePath": [
|
|
291
|
+
"dist",
|
|
292
|
+
"commands",
|
|
293
|
+
"download-file.js"
|
|
294
|
+
]
|
|
295
|
+
},
|
|
296
|
+
"list": {
|
|
297
|
+
"aliases": [],
|
|
298
|
+
"args": {},
|
|
299
|
+
"description": "Lists the content of a folder id.",
|
|
300
|
+
"examples": [
|
|
301
|
+
"<%= config.bin %> <%= command.id %>"
|
|
302
|
+
],
|
|
303
|
+
"flags": {
|
|
304
|
+
"json": {
|
|
305
|
+
"description": "Format output as json.",
|
|
306
|
+
"helpGroup": "GLOBAL",
|
|
307
|
+
"name": "json",
|
|
256
308
|
"allowNo": false,
|
|
257
309
|
"type": "boolean"
|
|
258
310
|
},
|
|
259
|
-
"
|
|
311
|
+
"non-interactive": {
|
|
260
312
|
"char": "x",
|
|
261
|
-
"description": "
|
|
262
|
-
"
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
"
|
|
313
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
314
|
+
"env": "INXT_NONINTERACTIVE",
|
|
315
|
+
"helpGroup": "helper",
|
|
316
|
+
"name": "non-interactive",
|
|
317
|
+
"required": false,
|
|
266
318
|
"allowNo": false,
|
|
267
319
|
"type": "boolean"
|
|
268
320
|
},
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
"
|
|
321
|
+
"id": {
|
|
322
|
+
"char": "i",
|
|
323
|
+
"description": "The folder id to list. Leave empty for the root folder.",
|
|
324
|
+
"name": "id",
|
|
325
|
+
"required": false,
|
|
272
326
|
"hasDynamicHelp": false,
|
|
273
327
|
"multiple": false,
|
|
274
328
|
"type": "option"
|
|
275
329
|
},
|
|
276
|
-
"
|
|
277
|
-
"
|
|
278
|
-
"
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
"name": "no-header",
|
|
282
|
-
"allowNo": false,
|
|
283
|
-
"type": "boolean"
|
|
284
|
-
},
|
|
285
|
-
"no-truncate": {
|
|
286
|
-
"description": "do not truncate output to fit screen",
|
|
287
|
-
"exclusive": [
|
|
288
|
-
"csv"
|
|
289
|
-
],
|
|
290
|
-
"name": "no-truncate",
|
|
330
|
+
"extended": {
|
|
331
|
+
"char": "e",
|
|
332
|
+
"description": "Displays additional information in the list.",
|
|
333
|
+
"name": "extended",
|
|
334
|
+
"required": false,
|
|
291
335
|
"allowNo": false,
|
|
292
336
|
"type": "boolean"
|
|
293
|
-
},
|
|
294
|
-
"output": {
|
|
295
|
-
"description": "output in a more machine friendly format",
|
|
296
|
-
"exclusive": [
|
|
297
|
-
"no-truncate",
|
|
298
|
-
"csv"
|
|
299
|
-
],
|
|
300
|
-
"name": "output",
|
|
301
|
-
"hasDynamicHelp": false,
|
|
302
|
-
"multiple": false,
|
|
303
|
-
"options": [
|
|
304
|
-
"csv",
|
|
305
|
-
"json",
|
|
306
|
-
"yaml"
|
|
307
|
-
],
|
|
308
|
-
"type": "option"
|
|
309
|
-
},
|
|
310
|
-
"sort": {
|
|
311
|
-
"description": "property to sort by (prepend '-' for descending)",
|
|
312
|
-
"name": "sort",
|
|
313
|
-
"hasDynamicHelp": false,
|
|
314
|
-
"multiple": false,
|
|
315
|
-
"type": "option"
|
|
316
337
|
}
|
|
317
338
|
},
|
|
318
339
|
"hasDynamicHelp": false,
|
|
@@ -322,7 +343,7 @@
|
|
|
322
343
|
"pluginName": "@internxt/cli",
|
|
323
344
|
"pluginType": "core",
|
|
324
345
|
"strict": true,
|
|
325
|
-
"enableJsonFlag":
|
|
346
|
+
"enableJsonFlag": true,
|
|
326
347
|
"isESM": false,
|
|
327
348
|
"relativePath": [
|
|
328
349
|
"dist",
|
|
@@ -338,9 +359,16 @@
|
|
|
338
359
|
"<%= config.bin %> <%= command.id %>"
|
|
339
360
|
],
|
|
340
361
|
"flags": {
|
|
362
|
+
"json": {
|
|
363
|
+
"description": "Format output as json.",
|
|
364
|
+
"helpGroup": "GLOBAL",
|
|
365
|
+
"name": "json",
|
|
366
|
+
"allowNo": false,
|
|
367
|
+
"type": "boolean"
|
|
368
|
+
},
|
|
341
369
|
"non-interactive": {
|
|
342
|
-
"char": "
|
|
343
|
-
"description": "
|
|
370
|
+
"char": "x",
|
|
371
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
344
372
|
"env": "INXT_NONINTERACTIVE",
|
|
345
373
|
"helpGroup": "helper",
|
|
346
374
|
"name": "non-interactive",
|
|
@@ -397,8 +425,7 @@
|
|
|
397
425
|
"pluginName": "@internxt/cli",
|
|
398
426
|
"pluginType": "core",
|
|
399
427
|
"strict": true,
|
|
400
|
-
"enableJsonFlag":
|
|
401
|
-
"MAX_ATTEMPTS": 3,
|
|
428
|
+
"enableJsonFlag": true,
|
|
402
429
|
"isESM": false,
|
|
403
430
|
"relativePath": [
|
|
404
431
|
"dist",
|
|
@@ -413,7 +440,15 @@
|
|
|
413
440
|
"examples": [
|
|
414
441
|
"<%= config.bin %> <%= command.id %>"
|
|
415
442
|
],
|
|
416
|
-
"flags": {
|
|
443
|
+
"flags": {
|
|
444
|
+
"json": {
|
|
445
|
+
"description": "Format output as json.",
|
|
446
|
+
"helpGroup": "GLOBAL",
|
|
447
|
+
"name": "json",
|
|
448
|
+
"allowNo": false,
|
|
449
|
+
"type": "boolean"
|
|
450
|
+
}
|
|
451
|
+
},
|
|
417
452
|
"hasDynamicHelp": false,
|
|
418
453
|
"hiddenAliases": [],
|
|
419
454
|
"id": "logout",
|
|
@@ -421,7 +456,7 @@
|
|
|
421
456
|
"pluginName": "@internxt/cli",
|
|
422
457
|
"pluginType": "core",
|
|
423
458
|
"strict": true,
|
|
424
|
-
"enableJsonFlag":
|
|
459
|
+
"enableJsonFlag": true,
|
|
425
460
|
"isESM": false,
|
|
426
461
|
"relativePath": [
|
|
427
462
|
"dist",
|
|
@@ -436,7 +471,15 @@
|
|
|
436
471
|
"examples": [
|
|
437
472
|
"<%= config.bin %> <%= command.id %>"
|
|
438
473
|
],
|
|
439
|
-
"flags": {
|
|
474
|
+
"flags": {
|
|
475
|
+
"json": {
|
|
476
|
+
"description": "Format output as json.",
|
|
477
|
+
"helpGroup": "GLOBAL",
|
|
478
|
+
"name": "json",
|
|
479
|
+
"allowNo": false,
|
|
480
|
+
"type": "boolean"
|
|
481
|
+
}
|
|
482
|
+
},
|
|
440
483
|
"hasDynamicHelp": false,
|
|
441
484
|
"hiddenAliases": [],
|
|
442
485
|
"id": "logs",
|
|
@@ -444,7 +487,7 @@
|
|
|
444
487
|
"pluginName": "@internxt/cli",
|
|
445
488
|
"pluginType": "core",
|
|
446
489
|
"strict": true,
|
|
447
|
-
"enableJsonFlag":
|
|
490
|
+
"enableJsonFlag": true,
|
|
448
491
|
"isESM": false,
|
|
449
492
|
"relativePath": [
|
|
450
493
|
"dist",
|
|
@@ -462,9 +505,16 @@
|
|
|
462
505
|
"<%= config.bin %> <%= command.id %>"
|
|
463
506
|
],
|
|
464
507
|
"flags": {
|
|
508
|
+
"json": {
|
|
509
|
+
"description": "Format output as json.",
|
|
510
|
+
"helpGroup": "GLOBAL",
|
|
511
|
+
"name": "json",
|
|
512
|
+
"allowNo": false,
|
|
513
|
+
"type": "boolean"
|
|
514
|
+
},
|
|
465
515
|
"non-interactive": {
|
|
466
|
-
"char": "
|
|
467
|
-
"description": "
|
|
516
|
+
"char": "x",
|
|
517
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
468
518
|
"env": "INXT_NONINTERACTIVE",
|
|
469
519
|
"helpGroup": "helper",
|
|
470
520
|
"name": "non-interactive",
|
|
@@ -474,7 +524,7 @@
|
|
|
474
524
|
},
|
|
475
525
|
"id": {
|
|
476
526
|
"char": "i",
|
|
477
|
-
"description": "The file
|
|
527
|
+
"description": "The ID of the file to be moved.",
|
|
478
528
|
"name": "id",
|
|
479
529
|
"required": false,
|
|
480
530
|
"hasDynamicHelp": false,
|
|
@@ -483,7 +533,7 @@
|
|
|
483
533
|
},
|
|
484
534
|
"destination": {
|
|
485
535
|
"char": "d",
|
|
486
|
-
"description": "The destination folder id where the file is going to be moved.",
|
|
536
|
+
"description": "The destination folder id where the file is going to be moved. Leave empty for the root folder.",
|
|
487
537
|
"name": "destination",
|
|
488
538
|
"required": false,
|
|
489
539
|
"hasDynamicHelp": false,
|
|
@@ -498,8 +548,7 @@
|
|
|
498
548
|
"pluginName": "@internxt/cli",
|
|
499
549
|
"pluginType": "core",
|
|
500
550
|
"strict": true,
|
|
501
|
-
"enableJsonFlag":
|
|
502
|
-
"MAX_ATTEMPTS": 3,
|
|
551
|
+
"enableJsonFlag": true,
|
|
503
552
|
"isESM": false,
|
|
504
553
|
"relativePath": [
|
|
505
554
|
"dist",
|
|
@@ -517,9 +566,16 @@
|
|
|
517
566
|
"<%= config.bin %> <%= command.id %>"
|
|
518
567
|
],
|
|
519
568
|
"flags": {
|
|
569
|
+
"json": {
|
|
570
|
+
"description": "Format output as json.",
|
|
571
|
+
"helpGroup": "GLOBAL",
|
|
572
|
+
"name": "json",
|
|
573
|
+
"allowNo": false,
|
|
574
|
+
"type": "boolean"
|
|
575
|
+
},
|
|
520
576
|
"non-interactive": {
|
|
521
|
-
"char": "
|
|
522
|
-
"description": "
|
|
577
|
+
"char": "x",
|
|
578
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
523
579
|
"env": "INXT_NONINTERACTIVE",
|
|
524
580
|
"helpGroup": "helper",
|
|
525
581
|
"name": "non-interactive",
|
|
@@ -529,7 +585,7 @@
|
|
|
529
585
|
},
|
|
530
586
|
"id": {
|
|
531
587
|
"char": "i",
|
|
532
|
-
"description": "The folder
|
|
588
|
+
"description": "The ID of the folder to be moved.",
|
|
533
589
|
"name": "id",
|
|
534
590
|
"required": false,
|
|
535
591
|
"hasDynamicHelp": false,
|
|
@@ -538,7 +594,7 @@
|
|
|
538
594
|
},
|
|
539
595
|
"destination": {
|
|
540
596
|
"char": "d",
|
|
541
|
-
"description": "The destination folder id where the folder is going to be moved.",
|
|
597
|
+
"description": "The destination folder id where the folder is going to be moved. Leave empty for the root folder.",
|
|
542
598
|
"name": "destination",
|
|
543
599
|
"required": false,
|
|
544
600
|
"hasDynamicHelp": false,
|
|
@@ -553,8 +609,7 @@
|
|
|
553
609
|
"pluginName": "@internxt/cli",
|
|
554
610
|
"pluginType": "core",
|
|
555
611
|
"strict": true,
|
|
556
|
-
"enableJsonFlag":
|
|
557
|
-
"MAX_ATTEMPTS": 3,
|
|
612
|
+
"enableJsonFlag": true,
|
|
558
613
|
"isESM": false,
|
|
559
614
|
"relativePath": [
|
|
560
615
|
"dist",
|
|
@@ -562,17 +617,87 @@
|
|
|
562
617
|
"move-folder.js"
|
|
563
618
|
]
|
|
564
619
|
},
|
|
565
|
-
"rename": {
|
|
566
|
-
"aliases": [
|
|
620
|
+
"rename-file": {
|
|
621
|
+
"aliases": [
|
|
622
|
+
"rename:file"
|
|
623
|
+
],
|
|
624
|
+
"args": {},
|
|
625
|
+
"description": "Rename a file.",
|
|
626
|
+
"examples": [
|
|
627
|
+
"<%= config.bin %> <%= command.id %>"
|
|
628
|
+
],
|
|
629
|
+
"flags": {
|
|
630
|
+
"json": {
|
|
631
|
+
"description": "Format output as json.",
|
|
632
|
+
"helpGroup": "GLOBAL",
|
|
633
|
+
"name": "json",
|
|
634
|
+
"allowNo": false,
|
|
635
|
+
"type": "boolean"
|
|
636
|
+
},
|
|
637
|
+
"non-interactive": {
|
|
638
|
+
"char": "x",
|
|
639
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
640
|
+
"env": "INXT_NONINTERACTIVE",
|
|
641
|
+
"helpGroup": "helper",
|
|
642
|
+
"name": "non-interactive",
|
|
643
|
+
"required": false,
|
|
644
|
+
"allowNo": false,
|
|
645
|
+
"type": "boolean"
|
|
646
|
+
},
|
|
647
|
+
"id": {
|
|
648
|
+
"char": "i",
|
|
649
|
+
"description": "The ID of the file to be renamed.",
|
|
650
|
+
"name": "id",
|
|
651
|
+
"required": false,
|
|
652
|
+
"hasDynamicHelp": false,
|
|
653
|
+
"multiple": false,
|
|
654
|
+
"type": "option"
|
|
655
|
+
},
|
|
656
|
+
"name": {
|
|
657
|
+
"char": "n",
|
|
658
|
+
"description": "The new name for the file.",
|
|
659
|
+
"name": "name",
|
|
660
|
+
"required": false,
|
|
661
|
+
"hasDynamicHelp": false,
|
|
662
|
+
"multiple": false,
|
|
663
|
+
"type": "option"
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"hasDynamicHelp": false,
|
|
667
|
+
"hiddenAliases": [],
|
|
668
|
+
"id": "rename-file",
|
|
669
|
+
"pluginAlias": "@internxt/cli",
|
|
670
|
+
"pluginName": "@internxt/cli",
|
|
671
|
+
"pluginType": "core",
|
|
672
|
+
"strict": true,
|
|
673
|
+
"enableJsonFlag": true,
|
|
674
|
+
"isESM": false,
|
|
675
|
+
"relativePath": [
|
|
676
|
+
"dist",
|
|
677
|
+
"commands",
|
|
678
|
+
"rename-file.js"
|
|
679
|
+
]
|
|
680
|
+
},
|
|
681
|
+
"rename-folder": {
|
|
682
|
+
"aliases": [
|
|
683
|
+
"rename:folder"
|
|
684
|
+
],
|
|
567
685
|
"args": {},
|
|
568
|
-
"description": "Rename a folder
|
|
686
|
+
"description": "Rename a folder.",
|
|
569
687
|
"examples": [
|
|
570
688
|
"<%= config.bin %> <%= command.id %>"
|
|
571
689
|
],
|
|
572
690
|
"flags": {
|
|
691
|
+
"json": {
|
|
692
|
+
"description": "Format output as json.",
|
|
693
|
+
"helpGroup": "GLOBAL",
|
|
694
|
+
"name": "json",
|
|
695
|
+
"allowNo": false,
|
|
696
|
+
"type": "boolean"
|
|
697
|
+
},
|
|
573
698
|
"non-interactive": {
|
|
574
|
-
"char": "
|
|
575
|
-
"description": "
|
|
699
|
+
"char": "x",
|
|
700
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
576
701
|
"env": "INXT_NONINTERACTIVE",
|
|
577
702
|
"helpGroup": "helper",
|
|
578
703
|
"name": "non-interactive",
|
|
@@ -582,7 +707,7 @@
|
|
|
582
707
|
},
|
|
583
708
|
"id": {
|
|
584
709
|
"char": "i",
|
|
585
|
-
"description": "The ID of the
|
|
710
|
+
"description": "The ID of the folder to be renamed.",
|
|
586
711
|
"name": "id",
|
|
587
712
|
"required": false,
|
|
588
713
|
"hasDynamicHelp": false,
|
|
@@ -591,7 +716,7 @@
|
|
|
591
716
|
},
|
|
592
717
|
"name": {
|
|
593
718
|
"char": "n",
|
|
594
|
-
"description": "The new name for the
|
|
719
|
+
"description": "The new name for the folder.",
|
|
595
720
|
"name": "name",
|
|
596
721
|
"required": false,
|
|
597
722
|
"hasDynamicHelp": false,
|
|
@@ -601,18 +726,17 @@
|
|
|
601
726
|
},
|
|
602
727
|
"hasDynamicHelp": false,
|
|
603
728
|
"hiddenAliases": [],
|
|
604
|
-
"id": "rename",
|
|
729
|
+
"id": "rename-folder",
|
|
605
730
|
"pluginAlias": "@internxt/cli",
|
|
606
731
|
"pluginName": "@internxt/cli",
|
|
607
732
|
"pluginType": "core",
|
|
608
733
|
"strict": true,
|
|
609
|
-
"enableJsonFlag":
|
|
610
|
-
"MAX_ATTEMPTS": 3,
|
|
734
|
+
"enableJsonFlag": true,
|
|
611
735
|
"isESM": false,
|
|
612
736
|
"relativePath": [
|
|
613
737
|
"dist",
|
|
614
738
|
"commands",
|
|
615
|
-
"rename.js"
|
|
739
|
+
"rename-folder.js"
|
|
616
740
|
]
|
|
617
741
|
},
|
|
618
742
|
"trash-clear": {
|
|
@@ -625,9 +749,16 @@
|
|
|
625
749
|
"<%= config.bin %> <%= command.id %>"
|
|
626
750
|
],
|
|
627
751
|
"flags": {
|
|
752
|
+
"json": {
|
|
753
|
+
"description": "Format output as json.",
|
|
754
|
+
"helpGroup": "GLOBAL",
|
|
755
|
+
"name": "json",
|
|
756
|
+
"allowNo": false,
|
|
757
|
+
"type": "boolean"
|
|
758
|
+
},
|
|
628
759
|
"non-interactive": {
|
|
629
|
-
"char": "
|
|
630
|
-
"description": "
|
|
760
|
+
"char": "x",
|
|
761
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
631
762
|
"env": "INXT_NONINTERACTIVE",
|
|
632
763
|
"helpGroup": "helper",
|
|
633
764
|
"name": "non-interactive",
|
|
@@ -651,7 +782,7 @@
|
|
|
651
782
|
"pluginName": "@internxt/cli",
|
|
652
783
|
"pluginType": "core",
|
|
653
784
|
"strict": true,
|
|
654
|
-
"enableJsonFlag":
|
|
785
|
+
"enableJsonFlag": true,
|
|
655
786
|
"isESM": false,
|
|
656
787
|
"relativePath": [
|
|
657
788
|
"dist",
|
|
@@ -659,19 +790,26 @@
|
|
|
659
790
|
"trash-clear.js"
|
|
660
791
|
]
|
|
661
792
|
},
|
|
662
|
-
"trash-
|
|
793
|
+
"trash-file": {
|
|
663
794
|
"aliases": [
|
|
664
|
-
"trash:
|
|
795
|
+
"trash:file"
|
|
665
796
|
],
|
|
666
797
|
"args": {},
|
|
667
|
-
"description": "
|
|
798
|
+
"description": "Moves a given file to the trash.",
|
|
668
799
|
"examples": [
|
|
669
800
|
"<%= config.bin %> <%= command.id %>"
|
|
670
801
|
],
|
|
671
802
|
"flags": {
|
|
803
|
+
"json": {
|
|
804
|
+
"description": "Format output as json.",
|
|
805
|
+
"helpGroup": "GLOBAL",
|
|
806
|
+
"name": "json",
|
|
807
|
+
"allowNo": false,
|
|
808
|
+
"type": "boolean"
|
|
809
|
+
},
|
|
672
810
|
"non-interactive": {
|
|
673
|
-
"char": "
|
|
674
|
-
"description": "
|
|
811
|
+
"char": "x",
|
|
812
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
675
813
|
"env": "INXT_NONINTERACTIVE",
|
|
676
814
|
"helpGroup": "helper",
|
|
677
815
|
"name": "non-interactive",
|
|
@@ -679,82 +817,107 @@
|
|
|
679
817
|
"allowNo": false,
|
|
680
818
|
"type": "boolean"
|
|
681
819
|
},
|
|
682
|
-
"
|
|
683
|
-
"
|
|
684
|
-
"
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
"name": "columns",
|
|
820
|
+
"id": {
|
|
821
|
+
"char": "i",
|
|
822
|
+
"description": "The file id to be trashed.",
|
|
823
|
+
"name": "id",
|
|
824
|
+
"required": false,
|
|
688
825
|
"hasDynamicHelp": false,
|
|
689
826
|
"multiple": false,
|
|
690
827
|
"type": "option"
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"hasDynamicHelp": false,
|
|
831
|
+
"hiddenAliases": [],
|
|
832
|
+
"id": "trash-file",
|
|
833
|
+
"pluginAlias": "@internxt/cli",
|
|
834
|
+
"pluginName": "@internxt/cli",
|
|
835
|
+
"pluginType": "core",
|
|
836
|
+
"strict": true,
|
|
837
|
+
"enableJsonFlag": true,
|
|
838
|
+
"isESM": false,
|
|
839
|
+
"relativePath": [
|
|
840
|
+
"dist",
|
|
841
|
+
"commands",
|
|
842
|
+
"trash-file.js"
|
|
843
|
+
]
|
|
844
|
+
},
|
|
845
|
+
"trash-folder": {
|
|
846
|
+
"aliases": [
|
|
847
|
+
"trash:folder"
|
|
848
|
+
],
|
|
849
|
+
"args": {},
|
|
850
|
+
"description": "Moves a given folder to the trash.",
|
|
851
|
+
"examples": [
|
|
852
|
+
"<%= config.bin %> <%= command.id %>"
|
|
853
|
+
],
|
|
854
|
+
"flags": {
|
|
855
|
+
"json": {
|
|
856
|
+
"description": "Format output as json.",
|
|
857
|
+
"helpGroup": "GLOBAL",
|
|
858
|
+
"name": "json",
|
|
698
859
|
"allowNo": false,
|
|
699
860
|
"type": "boolean"
|
|
700
861
|
},
|
|
701
|
-
"
|
|
862
|
+
"non-interactive": {
|
|
702
863
|
"char": "x",
|
|
703
|
-
"description": "
|
|
704
|
-
"
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
"
|
|
864
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
865
|
+
"env": "INXT_NONINTERACTIVE",
|
|
866
|
+
"helpGroup": "helper",
|
|
867
|
+
"name": "non-interactive",
|
|
868
|
+
"required": false,
|
|
708
869
|
"allowNo": false,
|
|
709
870
|
"type": "boolean"
|
|
710
871
|
},
|
|
711
|
-
"
|
|
712
|
-
"
|
|
713
|
-
"
|
|
872
|
+
"id": {
|
|
873
|
+
"char": "i",
|
|
874
|
+
"description": "The folder id to be trashed.",
|
|
875
|
+
"name": "id",
|
|
876
|
+
"required": false,
|
|
714
877
|
"hasDynamicHelp": false,
|
|
715
878
|
"multiple": false,
|
|
716
879
|
"type": "option"
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
"hasDynamicHelp": false,
|
|
883
|
+
"hiddenAliases": [],
|
|
884
|
+
"id": "trash-folder",
|
|
885
|
+
"pluginAlias": "@internxt/cli",
|
|
886
|
+
"pluginName": "@internxt/cli",
|
|
887
|
+
"pluginType": "core",
|
|
888
|
+
"strict": true,
|
|
889
|
+
"enableJsonFlag": true,
|
|
890
|
+
"isESM": false,
|
|
891
|
+
"relativePath": [
|
|
892
|
+
"dist",
|
|
893
|
+
"commands",
|
|
894
|
+
"trash-folder.js"
|
|
895
|
+
]
|
|
896
|
+
},
|
|
897
|
+
"trash-list": {
|
|
898
|
+
"aliases": [
|
|
899
|
+
"trash:list"
|
|
900
|
+
],
|
|
901
|
+
"args": {},
|
|
902
|
+
"description": "Lists the content of the trash.",
|
|
903
|
+
"examples": [
|
|
904
|
+
"<%= config.bin %> <%= command.id %>"
|
|
905
|
+
],
|
|
906
|
+
"flags": {
|
|
907
|
+
"json": {
|
|
908
|
+
"description": "Format output as json.",
|
|
909
|
+
"helpGroup": "GLOBAL",
|
|
910
|
+
"name": "json",
|
|
724
911
|
"allowNo": false,
|
|
725
912
|
"type": "boolean"
|
|
726
913
|
},
|
|
727
|
-
"
|
|
728
|
-
"
|
|
729
|
-
"
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
"name": "no-truncate",
|
|
914
|
+
"extended": {
|
|
915
|
+
"char": "e",
|
|
916
|
+
"description": "Displays additional information in the trash list.",
|
|
917
|
+
"name": "extended",
|
|
918
|
+
"required": false,
|
|
733
919
|
"allowNo": false,
|
|
734
920
|
"type": "boolean"
|
|
735
|
-
},
|
|
736
|
-
"output": {
|
|
737
|
-
"description": "output in a more machine friendly format",
|
|
738
|
-
"exclusive": [
|
|
739
|
-
"no-truncate",
|
|
740
|
-
"csv"
|
|
741
|
-
],
|
|
742
|
-
"name": "output",
|
|
743
|
-
"hasDynamicHelp": false,
|
|
744
|
-
"multiple": false,
|
|
745
|
-
"options": [
|
|
746
|
-
"csv",
|
|
747
|
-
"json",
|
|
748
|
-
"yaml"
|
|
749
|
-
],
|
|
750
|
-
"type": "option"
|
|
751
|
-
},
|
|
752
|
-
"sort": {
|
|
753
|
-
"description": "property to sort by (prepend '-' for descending)",
|
|
754
|
-
"name": "sort",
|
|
755
|
-
"hasDynamicHelp": false,
|
|
756
|
-
"multiple": false,
|
|
757
|
-
"type": "option"
|
|
758
921
|
}
|
|
759
922
|
},
|
|
760
923
|
"hasDynamicHelp": false,
|
|
@@ -764,7 +927,7 @@
|
|
|
764
927
|
"pluginName": "@internxt/cli",
|
|
765
928
|
"pluginType": "core",
|
|
766
929
|
"strict": true,
|
|
767
|
-
"enableJsonFlag":
|
|
930
|
+
"enableJsonFlag": true,
|
|
768
931
|
"isESM": false,
|
|
769
932
|
"relativePath": [
|
|
770
933
|
"dist",
|
|
@@ -782,9 +945,16 @@
|
|
|
782
945
|
"<%= config.bin %> <%= command.id %>"
|
|
783
946
|
],
|
|
784
947
|
"flags": {
|
|
948
|
+
"json": {
|
|
949
|
+
"description": "Format output as json.",
|
|
950
|
+
"helpGroup": "GLOBAL",
|
|
951
|
+
"name": "json",
|
|
952
|
+
"allowNo": false,
|
|
953
|
+
"type": "boolean"
|
|
954
|
+
},
|
|
785
955
|
"non-interactive": {
|
|
786
|
-
"char": "
|
|
787
|
-
"description": "
|
|
956
|
+
"char": "x",
|
|
957
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
788
958
|
"env": "INXT_NONINTERACTIVE",
|
|
789
959
|
"helpGroup": "helper",
|
|
790
960
|
"name": "non-interactive",
|
|
@@ -818,8 +988,7 @@
|
|
|
818
988
|
"pluginName": "@internxt/cli",
|
|
819
989
|
"pluginType": "core",
|
|
820
990
|
"strict": true,
|
|
821
|
-
"enableJsonFlag":
|
|
822
|
-
"MAX_ATTEMPTS": 3,
|
|
991
|
+
"enableJsonFlag": true,
|
|
823
992
|
"isESM": false,
|
|
824
993
|
"relativePath": [
|
|
825
994
|
"dist",
|
|
@@ -837,9 +1006,16 @@
|
|
|
837
1006
|
"<%= config.bin %> <%= command.id %>"
|
|
838
1007
|
],
|
|
839
1008
|
"flags": {
|
|
1009
|
+
"json": {
|
|
1010
|
+
"description": "Format output as json.",
|
|
1011
|
+
"helpGroup": "GLOBAL",
|
|
1012
|
+
"name": "json",
|
|
1013
|
+
"allowNo": false,
|
|
1014
|
+
"type": "boolean"
|
|
1015
|
+
},
|
|
840
1016
|
"non-interactive": {
|
|
841
|
-
"char": "
|
|
842
|
-
"description": "
|
|
1017
|
+
"char": "x",
|
|
1018
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
843
1019
|
"env": "INXT_NONINTERACTIVE",
|
|
844
1020
|
"helpGroup": "helper",
|
|
845
1021
|
"name": "non-interactive",
|
|
@@ -873,8 +1049,7 @@
|
|
|
873
1049
|
"pluginName": "@internxt/cli",
|
|
874
1050
|
"pluginType": "core",
|
|
875
1051
|
"strict": true,
|
|
876
|
-
"enableJsonFlag":
|
|
877
|
-
"MAX_ATTEMPTS": 3,
|
|
1052
|
+
"enableJsonFlag": true,
|
|
878
1053
|
"isESM": false,
|
|
879
1054
|
"relativePath": [
|
|
880
1055
|
"dist",
|
|
@@ -882,52 +1057,10 @@
|
|
|
882
1057
|
"trash-restore-folder.js"
|
|
883
1058
|
]
|
|
884
1059
|
},
|
|
885
|
-
"
|
|
886
|
-
"aliases": [
|
|
887
|
-
|
|
888
|
-
"description": "Moves a given folder/file to the trash.",
|
|
889
|
-
"examples": [
|
|
890
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1060
|
+
"upload-file": {
|
|
1061
|
+
"aliases": [
|
|
1062
|
+
"upload:file"
|
|
891
1063
|
],
|
|
892
|
-
"flags": {
|
|
893
|
-
"non-interactive": {
|
|
894
|
-
"char": "n",
|
|
895
|
-
"description": "Blocks the cli from being interactive. If passed, the cli will not request data through the console and will throw errors directly",
|
|
896
|
-
"env": "INXT_NONINTERACTIVE",
|
|
897
|
-
"helpGroup": "helper",
|
|
898
|
-
"name": "non-interactive",
|
|
899
|
-
"required": false,
|
|
900
|
-
"allowNo": false,
|
|
901
|
-
"type": "boolean"
|
|
902
|
-
},
|
|
903
|
-
"id": {
|
|
904
|
-
"char": "i",
|
|
905
|
-
"description": "The item id to be trashed (it can be a file id or a folder id).",
|
|
906
|
-
"name": "id",
|
|
907
|
-
"required": false,
|
|
908
|
-
"hasDynamicHelp": false,
|
|
909
|
-
"multiple": false,
|
|
910
|
-
"type": "option"
|
|
911
|
-
}
|
|
912
|
-
},
|
|
913
|
-
"hasDynamicHelp": false,
|
|
914
|
-
"hiddenAliases": [],
|
|
915
|
-
"id": "trash",
|
|
916
|
-
"pluginAlias": "@internxt/cli",
|
|
917
|
-
"pluginName": "@internxt/cli",
|
|
918
|
-
"pluginType": "core",
|
|
919
|
-
"strict": true,
|
|
920
|
-
"enableJsonFlag": false,
|
|
921
|
-
"MAX_ATTEMPTS": 3,
|
|
922
|
-
"isESM": false,
|
|
923
|
-
"relativePath": [
|
|
924
|
-
"dist",
|
|
925
|
-
"commands",
|
|
926
|
-
"trash.js"
|
|
927
|
-
]
|
|
928
|
-
},
|
|
929
|
-
"upload": {
|
|
930
|
-
"aliases": [],
|
|
931
1064
|
"args": {},
|
|
932
1065
|
"description": "Upload a file to Internxt Drive",
|
|
933
1066
|
"examples": [
|
|
@@ -941,17 +1074,29 @@
|
|
|
941
1074
|
"allowNo": false,
|
|
942
1075
|
"type": "boolean"
|
|
943
1076
|
},
|
|
1077
|
+
"non-interactive": {
|
|
1078
|
+
"char": "x",
|
|
1079
|
+
"description": "Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.",
|
|
1080
|
+
"env": "INXT_NONINTERACTIVE",
|
|
1081
|
+
"helpGroup": "helper",
|
|
1082
|
+
"name": "non-interactive",
|
|
1083
|
+
"required": false,
|
|
1084
|
+
"allowNo": false,
|
|
1085
|
+
"type": "boolean"
|
|
1086
|
+
},
|
|
944
1087
|
"file": {
|
|
945
|
-
"
|
|
1088
|
+
"char": "f",
|
|
1089
|
+
"description": "The path to the file on your system.",
|
|
946
1090
|
"name": "file",
|
|
947
|
-
"required":
|
|
1091
|
+
"required": false,
|
|
948
1092
|
"hasDynamicHelp": false,
|
|
949
1093
|
"multiple": false,
|
|
950
1094
|
"type": "option"
|
|
951
1095
|
},
|
|
952
|
-
"
|
|
953
|
-
"
|
|
954
|
-
"
|
|
1096
|
+
"destination": {
|
|
1097
|
+
"char": "i",
|
|
1098
|
+
"description": "The folder id where the file is going to be uploaded to. Leave empty for the root folder.",
|
|
1099
|
+
"name": "destination",
|
|
955
1100
|
"required": false,
|
|
956
1101
|
"hasDynamicHelp": false,
|
|
957
1102
|
"multiple": false,
|
|
@@ -960,7 +1105,7 @@
|
|
|
960
1105
|
},
|
|
961
1106
|
"hasDynamicHelp": false,
|
|
962
1107
|
"hiddenAliases": [],
|
|
963
|
-
"id": "upload",
|
|
1108
|
+
"id": "upload-file",
|
|
964
1109
|
"pluginAlias": "@internxt/cli",
|
|
965
1110
|
"pluginName": "@internxt/cli",
|
|
966
1111
|
"pluginType": "core",
|
|
@@ -970,47 +1115,54 @@
|
|
|
970
1115
|
"relativePath": [
|
|
971
1116
|
"dist",
|
|
972
1117
|
"commands",
|
|
973
|
-
"upload.js"
|
|
1118
|
+
"upload-file.js"
|
|
974
1119
|
]
|
|
975
1120
|
},
|
|
976
1121
|
"webdav-config": {
|
|
977
1122
|
"aliases": [],
|
|
978
|
-
"args": {
|
|
979
|
-
"action": {
|
|
980
|
-
"name": "action",
|
|
981
|
-
"options": [
|
|
982
|
-
"set-http",
|
|
983
|
-
"set-https",
|
|
984
|
-
"change-port"
|
|
985
|
-
],
|
|
986
|
-
"required": true
|
|
987
|
-
}
|
|
988
|
-
},
|
|
1123
|
+
"args": {},
|
|
989
1124
|
"description": "Edit the configuration of the Internxt CLI WebDav server as the port or the protocol.",
|
|
990
1125
|
"examples": [
|
|
991
|
-
"<%= config.bin %> <%= command.id %>
|
|
992
|
-
"<%= config.bin %> <%= command.id %> set-https",
|
|
993
|
-
"<%= config.bin %> <%= command.id %> change-port"
|
|
1126
|
+
"<%= config.bin %> <%= command.id %>"
|
|
994
1127
|
],
|
|
995
1128
|
"flags": {
|
|
996
|
-
"
|
|
997
|
-
"
|
|
998
|
-
"
|
|
999
|
-
"
|
|
1000
|
-
"helpGroup": "helper",
|
|
1001
|
-
"name": "non-interactive",
|
|
1002
|
-
"required": false,
|
|
1129
|
+
"json": {
|
|
1130
|
+
"description": "Format output as json.",
|
|
1131
|
+
"helpGroup": "GLOBAL",
|
|
1132
|
+
"name": "json",
|
|
1003
1133
|
"allowNo": false,
|
|
1004
1134
|
"type": "boolean"
|
|
1005
1135
|
},
|
|
1006
1136
|
"port": {
|
|
1007
1137
|
"char": "p",
|
|
1008
|
-
"description": "The new port
|
|
1138
|
+
"description": "The new port for the WebDAV server.",
|
|
1009
1139
|
"name": "port",
|
|
1010
1140
|
"required": false,
|
|
1011
1141
|
"hasDynamicHelp": false,
|
|
1012
1142
|
"multiple": false,
|
|
1013
1143
|
"type": "option"
|
|
1144
|
+
},
|
|
1145
|
+
"https": {
|
|
1146
|
+
"char": "s",
|
|
1147
|
+
"description": "Configures the WebDAV server to use HTTPS with self-signed certificates.",
|
|
1148
|
+
"exclusive": [
|
|
1149
|
+
"http"
|
|
1150
|
+
],
|
|
1151
|
+
"name": "https",
|
|
1152
|
+
"required": false,
|
|
1153
|
+
"allowNo": false,
|
|
1154
|
+
"type": "boolean"
|
|
1155
|
+
},
|
|
1156
|
+
"http": {
|
|
1157
|
+
"char": "h",
|
|
1158
|
+
"description": "Configures the WebDAV server to use insecure plain HTTP.",
|
|
1159
|
+
"exclusive": [
|
|
1160
|
+
"https"
|
|
1161
|
+
],
|
|
1162
|
+
"name": "http",
|
|
1163
|
+
"required": false,
|
|
1164
|
+
"allowNo": false,
|
|
1165
|
+
"type": "boolean"
|
|
1014
1166
|
}
|
|
1015
1167
|
},
|
|
1016
1168
|
"hasDynamicHelp": false,
|
|
@@ -1020,8 +1172,7 @@
|
|
|
1020
1172
|
"pluginName": "@internxt/cli",
|
|
1021
1173
|
"pluginType": "core",
|
|
1022
1174
|
"strict": true,
|
|
1023
|
-
"enableJsonFlag":
|
|
1024
|
-
"MAX_ATTEMPTS": 3,
|
|
1175
|
+
"enableJsonFlag": true,
|
|
1025
1176
|
"isESM": false,
|
|
1026
1177
|
"relativePath": [
|
|
1027
1178
|
"dist",
|
|
@@ -1050,7 +1201,15 @@
|
|
|
1050
1201
|
"<%= config.bin %> <%= command.id %> restart",
|
|
1051
1202
|
"<%= config.bin %> <%= command.id %> status"
|
|
1052
1203
|
],
|
|
1053
|
-
"flags": {
|
|
1204
|
+
"flags": {
|
|
1205
|
+
"json": {
|
|
1206
|
+
"description": "Format output as json.",
|
|
1207
|
+
"helpGroup": "GLOBAL",
|
|
1208
|
+
"name": "json",
|
|
1209
|
+
"allowNo": false,
|
|
1210
|
+
"type": "boolean"
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1054
1213
|
"hasDynamicHelp": false,
|
|
1055
1214
|
"hiddenAliases": [],
|
|
1056
1215
|
"id": "webdav",
|
|
@@ -1058,7 +1217,7 @@
|
|
|
1058
1217
|
"pluginName": "@internxt/cli",
|
|
1059
1218
|
"pluginType": "core",
|
|
1060
1219
|
"strict": true,
|
|
1061
|
-
"enableJsonFlag":
|
|
1220
|
+
"enableJsonFlag": true,
|
|
1062
1221
|
"isESM": false,
|
|
1063
1222
|
"relativePath": [
|
|
1064
1223
|
"dist",
|
|
@@ -1073,7 +1232,15 @@
|
|
|
1073
1232
|
"examples": [
|
|
1074
1233
|
"<%= config.bin %> <%= command.id %>"
|
|
1075
1234
|
],
|
|
1076
|
-
"flags": {
|
|
1235
|
+
"flags": {
|
|
1236
|
+
"json": {
|
|
1237
|
+
"description": "Format output as json.",
|
|
1238
|
+
"helpGroup": "GLOBAL",
|
|
1239
|
+
"name": "json",
|
|
1240
|
+
"allowNo": false,
|
|
1241
|
+
"type": "boolean"
|
|
1242
|
+
}
|
|
1243
|
+
},
|
|
1077
1244
|
"hasDynamicHelp": false,
|
|
1078
1245
|
"hiddenAliases": [],
|
|
1079
1246
|
"id": "whoami",
|
|
@@ -1081,7 +1248,7 @@
|
|
|
1081
1248
|
"pluginName": "@internxt/cli",
|
|
1082
1249
|
"pluginType": "core",
|
|
1083
1250
|
"strict": true,
|
|
1084
|
-
"enableJsonFlag":
|
|
1251
|
+
"enableJsonFlag": true,
|
|
1085
1252
|
"isESM": false,
|
|
1086
1253
|
"relativePath": [
|
|
1087
1254
|
"dist",
|
|
@@ -1090,5 +1257,5 @@
|
|
|
1090
1257
|
]
|
|
1091
1258
|
}
|
|
1092
1259
|
},
|
|
1093
|
-
"version": "1.
|
|
1260
|
+
"version": "1.4.1"
|
|
1094
1261
|
}
|