@internxt/cli 1.3.3 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +60 -65
- 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/README.md
CHANGED
|
@@ -31,7 +31,7 @@ $ npm install -g @internxt/cli
|
|
|
31
31
|
$ internxt COMMAND
|
|
32
32
|
running command...
|
|
33
33
|
$ internxt (--version)
|
|
34
|
-
@internxt/cli/1.
|
|
34
|
+
@internxt/cli/1.4.2 linux-x64 node-v20.18.1
|
|
35
35
|
$ internxt --help [COMMAND]
|
|
36
36
|
USAGE
|
|
37
37
|
$ internxt COMMAND
|
|
@@ -45,28 +45,40 @@ USAGE
|
|
|
45
45
|
* [`internxt add-cert`](#internxt-add-cert)
|
|
46
46
|
* [`internxt config`](#internxt-config)
|
|
47
47
|
* [`internxt create-folder`](#internxt-create-folder)
|
|
48
|
-
* [`internxt
|
|
48
|
+
* [`internxt delete-permanently-file`](#internxt-delete-permanently-file)
|
|
49
|
+
* [`internxt delete-permanently-folder`](#internxt-delete-permanently-folder)
|
|
50
|
+
* [`internxt delete permanently file`](#internxt-delete-permanently-file)
|
|
51
|
+
* [`internxt delete permanently folder`](#internxt-delete-permanently-folder)
|
|
52
|
+
* [`internxt download-file`](#internxt-download-file)
|
|
53
|
+
* [`internxt download file`](#internxt-download-file)
|
|
49
54
|
* [`internxt list`](#internxt-list)
|
|
50
55
|
* [`internxt login`](#internxt-login)
|
|
51
56
|
* [`internxt logout`](#internxt-logout)
|
|
52
57
|
* [`internxt logs`](#internxt-logs)
|
|
53
58
|
* [`internxt move-file`](#internxt-move-file)
|
|
54
59
|
* [`internxt move-folder`](#internxt-move-folder)
|
|
55
|
-
* [`internxt move file`](#internxt-move-file
|
|
56
|
-
* [`internxt move folder`](#internxt-move-folder
|
|
57
|
-
* [`internxt rename`](#internxt-rename)
|
|
58
|
-
* [`internxt
|
|
60
|
+
* [`internxt move file`](#internxt-move-file)
|
|
61
|
+
* [`internxt move folder`](#internxt-move-folder)
|
|
62
|
+
* [`internxt rename-file`](#internxt-rename-file)
|
|
63
|
+
* [`internxt rename-folder`](#internxt-rename-folder)
|
|
64
|
+
* [`internxt rename file`](#internxt-rename-file)
|
|
65
|
+
* [`internxt rename folder`](#internxt-rename-folder)
|
|
59
66
|
* [`internxt trash-clear`](#internxt-trash-clear)
|
|
67
|
+
* [`internxt trash-file`](#internxt-trash-file)
|
|
68
|
+
* [`internxt trash-folder`](#internxt-trash-folder)
|
|
60
69
|
* [`internxt trash-list`](#internxt-trash-list)
|
|
61
70
|
* [`internxt trash-restore-file`](#internxt-trash-restore-file)
|
|
62
71
|
* [`internxt trash-restore-folder`](#internxt-trash-restore-folder)
|
|
63
|
-
* [`internxt trash clear`](#internxt-trash-clear
|
|
64
|
-
* [`internxt trash
|
|
65
|
-
* [`internxt trash
|
|
66
|
-
* [`internxt trash
|
|
67
|
-
* [`internxt
|
|
72
|
+
* [`internxt trash clear`](#internxt-trash-clear)
|
|
73
|
+
* [`internxt trash file`](#internxt-trash-file)
|
|
74
|
+
* [`internxt trash folder`](#internxt-trash-folder)
|
|
75
|
+
* [`internxt trash list`](#internxt-trash-list)
|
|
76
|
+
* [`internxt trash restore file`](#internxt-trash-restore-file)
|
|
77
|
+
* [`internxt trash restore folder`](#internxt-trash-restore-folder)
|
|
78
|
+
* [`internxt upload-file`](#internxt-upload-file)
|
|
79
|
+
* [`internxt upload file`](#internxt-upload-file)
|
|
68
80
|
* [`internxt webdav ACTION`](#internxt-webdav-action)
|
|
69
|
-
* [`internxt webdav-config
|
|
81
|
+
* [`internxt webdav-config`](#internxt-webdav-config)
|
|
70
82
|
* [`internxt whoami`](#internxt-whoami)
|
|
71
83
|
|
|
72
84
|
## `internxt add-cert`
|
|
@@ -75,7 +87,10 @@ Add a self-signed certificate to the trusted store for macOS, Linux, and Windows
|
|
|
75
87
|
|
|
76
88
|
```
|
|
77
89
|
USAGE
|
|
78
|
-
$ internxt add-cert
|
|
90
|
+
$ internxt add-cert [--json]
|
|
91
|
+
|
|
92
|
+
GLOBAL FLAGS
|
|
93
|
+
--json Format output as json.
|
|
79
94
|
|
|
80
95
|
DESCRIPTION
|
|
81
96
|
Add a self-signed certificate to the trusted store for macOS, Linux, and Windows.
|
|
@@ -84,7 +99,7 @@ EXAMPLES
|
|
|
84
99
|
$ internxt add-cert
|
|
85
100
|
```
|
|
86
101
|
|
|
87
|
-
_See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.
|
|
102
|
+
_See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/add-cert.ts)_
|
|
88
103
|
|
|
89
104
|
## `internxt config`
|
|
90
105
|
|
|
@@ -92,19 +107,10 @@ Display useful information from the user logged into the Internxt CLI.
|
|
|
92
107
|
|
|
93
108
|
```
|
|
94
109
|
USAGE
|
|
95
|
-
$ internxt config [--
|
|
96
|
-
[--output csv|json|yaml | | ] [--sort <value>]
|
|
110
|
+
$ internxt config [--json]
|
|
97
111
|
|
|
98
|
-
FLAGS
|
|
99
|
-
|
|
100
|
-
--columns=<value> only show provided columns (comma-separated)
|
|
101
|
-
--csv output is csv format [alias: --output=csv]
|
|
102
|
-
--filter=<value> filter property by partial string matching, ex: name=foo
|
|
103
|
-
--no-header hide table header from output
|
|
104
|
-
--no-truncate do not truncate output to fit screen
|
|
105
|
-
--output=<option> output in a more machine friendly format
|
|
106
|
-
<options: csv|json|yaml>
|
|
107
|
-
--sort=<value> property to sort by (prepend '-' for descending)
|
|
112
|
+
GLOBAL FLAGS
|
|
113
|
+
--json Format output as json.
|
|
108
114
|
|
|
109
115
|
DESCRIPTION
|
|
110
116
|
Display useful information from the user logged into the Internxt CLI.
|
|
@@ -113,7 +119,7 @@ EXAMPLES
|
|
|
113
119
|
$ internxt config
|
|
114
120
|
```
|
|
115
121
|
|
|
116
|
-
_See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.
|
|
122
|
+
_See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/config.ts)_
|
|
117
123
|
|
|
118
124
|
## `internxt create-folder`
|
|
119
125
|
|
|
@@ -121,11 +127,19 @@ Create a folder in your Internxt Drive
|
|
|
121
127
|
|
|
122
128
|
```
|
|
123
129
|
USAGE
|
|
124
|
-
$ internxt create-folder --
|
|
130
|
+
$ internxt create-folder [--json] [-x] [-n <value>] [-i <value>]
|
|
125
131
|
|
|
126
132
|
FLAGS
|
|
127
|
-
--id=<value> The
|
|
128
|
-
|
|
133
|
+
-i, --id=<value> The ID of the folder where the new folder will be created. Defaults to your root folder if not
|
|
134
|
+
specified.
|
|
135
|
+
-n, --name=<value> The new name for the folder
|
|
136
|
+
|
|
137
|
+
HELPER FLAGS
|
|
138
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
139
|
+
the console and will throw errors directly.
|
|
140
|
+
|
|
141
|
+
GLOBAL FLAGS
|
|
142
|
+
--json Format output as json.
|
|
129
143
|
|
|
130
144
|
DESCRIPTION
|
|
131
145
|
Create a folder in your Internxt Drive
|
|
@@ -134,30 +148,187 @@ EXAMPLES
|
|
|
134
148
|
$ internxt create-folder
|
|
135
149
|
```
|
|
136
150
|
|
|
137
|
-
_See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.
|
|
151
|
+
_See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/create-folder.ts)_
|
|
152
|
+
|
|
153
|
+
## `internxt delete-permanently-file`
|
|
154
|
+
|
|
155
|
+
Deletes permanently a file. This action cannot be undone.
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
USAGE
|
|
159
|
+
$ internxt delete-permanently-file [--json] [-x] [-i <value>]
|
|
160
|
+
|
|
161
|
+
FLAGS
|
|
162
|
+
-i, --id=<value> The file id to be permanently deleted.
|
|
163
|
+
|
|
164
|
+
HELPER FLAGS
|
|
165
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
166
|
+
the console and will throw errors directly.
|
|
167
|
+
|
|
168
|
+
GLOBAL FLAGS
|
|
169
|
+
--json Format output as json.
|
|
170
|
+
|
|
171
|
+
DESCRIPTION
|
|
172
|
+
Deletes permanently a file. This action cannot be undone.
|
|
173
|
+
|
|
174
|
+
ALIASES
|
|
175
|
+
$ internxt delete permanently file
|
|
176
|
+
|
|
177
|
+
EXAMPLES
|
|
178
|
+
$ internxt delete-permanently-file
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
_See code: [src/commands/delete-permanently-file.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/delete-permanently-file.ts)_
|
|
138
182
|
|
|
139
|
-
## `internxt
|
|
183
|
+
## `internxt delete-permanently-folder`
|
|
140
184
|
|
|
141
|
-
|
|
185
|
+
Deletes permanently a folder. This action cannot be undone.
|
|
142
186
|
|
|
143
187
|
```
|
|
144
188
|
USAGE
|
|
145
|
-
$ internxt
|
|
189
|
+
$ internxt delete-permanently-folder [--json] [-x] [-i <value>]
|
|
146
190
|
|
|
147
191
|
FLAGS
|
|
148
|
-
--
|
|
149
|
-
|
|
150
|
-
|
|
192
|
+
-i, --id=<value> The folder id to be permanently deleted.
|
|
193
|
+
|
|
194
|
+
HELPER FLAGS
|
|
195
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
196
|
+
the console and will throw errors directly.
|
|
197
|
+
|
|
198
|
+
GLOBAL FLAGS
|
|
199
|
+
--json Format output as json.
|
|
200
|
+
|
|
201
|
+
DESCRIPTION
|
|
202
|
+
Deletes permanently a folder. This action cannot be undone.
|
|
203
|
+
|
|
204
|
+
ALIASES
|
|
205
|
+
$ internxt delete permanently folder
|
|
206
|
+
|
|
207
|
+
EXAMPLES
|
|
208
|
+
$ internxt delete-permanently-folder
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
_See code: [src/commands/delete-permanently-folder.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/delete-permanently-folder.ts)_
|
|
212
|
+
|
|
213
|
+
## `internxt delete permanently file`
|
|
214
|
+
|
|
215
|
+
Deletes permanently a file. This action cannot be undone.
|
|
216
|
+
|
|
217
|
+
```
|
|
218
|
+
USAGE
|
|
219
|
+
$ internxt delete permanently file [--json] [-x] [-i <value>]
|
|
220
|
+
|
|
221
|
+
FLAGS
|
|
222
|
+
-i, --id=<value> The file id to be permanently deleted.
|
|
223
|
+
|
|
224
|
+
HELPER FLAGS
|
|
225
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
226
|
+
the console and will throw errors directly.
|
|
227
|
+
|
|
228
|
+
GLOBAL FLAGS
|
|
229
|
+
--json Format output as json.
|
|
230
|
+
|
|
231
|
+
DESCRIPTION
|
|
232
|
+
Deletes permanently a file. This action cannot be undone.
|
|
233
|
+
|
|
234
|
+
ALIASES
|
|
235
|
+
$ internxt delete permanently file
|
|
236
|
+
|
|
237
|
+
EXAMPLES
|
|
238
|
+
$ internxt delete permanently file
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
## `internxt delete permanently folder`
|
|
242
|
+
|
|
243
|
+
Deletes permanently a folder. This action cannot be undone.
|
|
244
|
+
|
|
245
|
+
```
|
|
246
|
+
USAGE
|
|
247
|
+
$ internxt delete permanently folder [--json] [-x] [-i <value>]
|
|
248
|
+
|
|
249
|
+
FLAGS
|
|
250
|
+
-i, --id=<value> The folder id to be permanently deleted.
|
|
251
|
+
|
|
252
|
+
HELPER FLAGS
|
|
253
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
254
|
+
the console and will throw errors directly.
|
|
255
|
+
|
|
256
|
+
GLOBAL FLAGS
|
|
257
|
+
--json Format output as json.
|
|
258
|
+
|
|
259
|
+
DESCRIPTION
|
|
260
|
+
Deletes permanently a folder. This action cannot be undone.
|
|
261
|
+
|
|
262
|
+
ALIASES
|
|
263
|
+
$ internxt delete permanently folder
|
|
264
|
+
|
|
265
|
+
EXAMPLES
|
|
266
|
+
$ internxt delete permanently folder
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
## `internxt download-file`
|
|
270
|
+
|
|
271
|
+
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.
|
|
272
|
+
|
|
273
|
+
```
|
|
274
|
+
USAGE
|
|
275
|
+
$ internxt download-file [--json] [-x] [-i <value>] [-d <value>] [-o]
|
|
276
|
+
|
|
277
|
+
FLAGS
|
|
278
|
+
-d, --directory=<value> The directory to download the file to. Leave empty for the current folder.
|
|
279
|
+
-i, --id=<value> The id of the file to download. Use internxt list to view your files ids
|
|
280
|
+
-o, --overwrite Overwrite the file if it already exists
|
|
281
|
+
|
|
282
|
+
HELPER FLAGS
|
|
283
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
284
|
+
the console and will throw errors directly.
|
|
285
|
+
|
|
286
|
+
GLOBAL FLAGS
|
|
287
|
+
--json Format output as json.
|
|
151
288
|
|
|
152
289
|
DESCRIPTION
|
|
153
290
|
Download and decrypts a file from Internxt Drive to a directory. The file name will be the same as the file name in
|
|
154
|
-
your Drive
|
|
291
|
+
your Drive.
|
|
292
|
+
|
|
293
|
+
ALIASES
|
|
294
|
+
$ internxt download file
|
|
155
295
|
|
|
156
296
|
EXAMPLES
|
|
157
|
-
$ internxt download
|
|
297
|
+
$ internxt download-file
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
_See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/download-file.ts)_
|
|
301
|
+
|
|
302
|
+
## `internxt download file`
|
|
303
|
+
|
|
304
|
+
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.
|
|
305
|
+
|
|
158
306
|
```
|
|
307
|
+
USAGE
|
|
308
|
+
$ internxt download file [--json] [-x] [-i <value>] [-d <value>] [-o]
|
|
159
309
|
|
|
160
|
-
|
|
310
|
+
FLAGS
|
|
311
|
+
-d, --directory=<value> The directory to download the file to. Leave empty for the current folder.
|
|
312
|
+
-i, --id=<value> The id of the file to download. Use internxt list to view your files ids
|
|
313
|
+
-o, --overwrite Overwrite the file if it already exists
|
|
314
|
+
|
|
315
|
+
HELPER FLAGS
|
|
316
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
317
|
+
the console and will throw errors directly.
|
|
318
|
+
|
|
319
|
+
GLOBAL FLAGS
|
|
320
|
+
--json Format output as json.
|
|
321
|
+
|
|
322
|
+
DESCRIPTION
|
|
323
|
+
Download and decrypts a file from Internxt Drive to a directory. The file name will be the same as the file name in
|
|
324
|
+
your Drive.
|
|
325
|
+
|
|
326
|
+
ALIASES
|
|
327
|
+
$ internxt download file
|
|
328
|
+
|
|
329
|
+
EXAMPLES
|
|
330
|
+
$ internxt download file
|
|
331
|
+
```
|
|
161
332
|
|
|
162
333
|
## `internxt list`
|
|
163
334
|
|
|
@@ -165,24 +336,18 @@ Lists the content of a folder id.
|
|
|
165
336
|
|
|
166
337
|
```
|
|
167
338
|
USAGE
|
|
168
|
-
$ internxt list [
|
|
169
|
-
--no-truncate]] [--output csv|json|yaml | | ] [--sort <value>]
|
|
339
|
+
$ internxt list [--json] [-x] [-i <value>] [-e]
|
|
170
340
|
|
|
171
341
|
FLAGS
|
|
172
|
-
-
|
|
173
|
-
-
|
|
174
|
-
--columns=<value> only show provided columns (comma-separated)
|
|
175
|
-
--csv output is csv format [alias: --output=csv]
|
|
176
|
-
--filter=<value> filter property by partial string matching, ex: name=foo
|
|
177
|
-
--no-header hide table header from output
|
|
178
|
-
--no-truncate do not truncate output to fit screen
|
|
179
|
-
--output=<option> output in a more machine friendly format
|
|
180
|
-
<options: csv|json|yaml>
|
|
181
|
-
--sort=<value> property to sort by (prepend '-' for descending)
|
|
342
|
+
-e, --extended Displays additional information in the list.
|
|
343
|
+
-i, --id=<value> The folder id to list. Leave empty for the root folder.
|
|
182
344
|
|
|
183
345
|
HELPER FLAGS
|
|
184
|
-
-
|
|
185
|
-
console and will throw errors directly
|
|
346
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
347
|
+
the console and will throw errors directly.
|
|
348
|
+
|
|
349
|
+
GLOBAL FLAGS
|
|
350
|
+
--json Format output as json.
|
|
186
351
|
|
|
187
352
|
DESCRIPTION
|
|
188
353
|
Lists the content of a folder id.
|
|
@@ -191,7 +356,7 @@ EXAMPLES
|
|
|
191
356
|
$ internxt list
|
|
192
357
|
```
|
|
193
358
|
|
|
194
|
-
_See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.
|
|
359
|
+
_See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/list.ts)_
|
|
195
360
|
|
|
196
361
|
## `internxt login`
|
|
197
362
|
|
|
@@ -199,7 +364,7 @@ Logs into an Internxt account. If the account is two-factor protected, then an e
|
|
|
199
364
|
|
|
200
365
|
```
|
|
201
366
|
USAGE
|
|
202
|
-
$ internxt login [-
|
|
367
|
+
$ internxt login [--json] [-x] [-e <value>] [-p <value>] [-w 123456]
|
|
203
368
|
|
|
204
369
|
FLAGS
|
|
205
370
|
-e, --email=<value> The email to log in
|
|
@@ -207,8 +372,11 @@ FLAGS
|
|
|
207
372
|
-w, --twofactor=123456 The two factor auth code (only needed if the account is two-factor protected)
|
|
208
373
|
|
|
209
374
|
HELPER FLAGS
|
|
210
|
-
-
|
|
211
|
-
console and will throw errors directly
|
|
375
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
376
|
+
the console and will throw errors directly.
|
|
377
|
+
|
|
378
|
+
GLOBAL FLAGS
|
|
379
|
+
--json Format output as json.
|
|
212
380
|
|
|
213
381
|
DESCRIPTION
|
|
214
382
|
Logs into an Internxt account. If the account is two-factor protected, then an extra code will be required.
|
|
@@ -217,7 +385,7 @@ EXAMPLES
|
|
|
217
385
|
$ internxt login
|
|
218
386
|
```
|
|
219
387
|
|
|
220
|
-
_See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.
|
|
388
|
+
_See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/login.ts)_
|
|
221
389
|
|
|
222
390
|
## `internxt logout`
|
|
223
391
|
|
|
@@ -225,7 +393,10 @@ Logs out the current internxt user that is logged into the Internxt CLI.
|
|
|
225
393
|
|
|
226
394
|
```
|
|
227
395
|
USAGE
|
|
228
|
-
$ internxt logout
|
|
396
|
+
$ internxt logout [--json]
|
|
397
|
+
|
|
398
|
+
GLOBAL FLAGS
|
|
399
|
+
--json Format output as json.
|
|
229
400
|
|
|
230
401
|
DESCRIPTION
|
|
231
402
|
Logs out the current internxt user that is logged into the Internxt CLI.
|
|
@@ -234,7 +405,7 @@ EXAMPLES
|
|
|
234
405
|
$ internxt logout
|
|
235
406
|
```
|
|
236
407
|
|
|
237
|
-
_See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.
|
|
408
|
+
_See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/logout.ts)_
|
|
238
409
|
|
|
239
410
|
## `internxt logs`
|
|
240
411
|
|
|
@@ -242,7 +413,10 @@ Displays the Internxt CLI logs directory path
|
|
|
242
413
|
|
|
243
414
|
```
|
|
244
415
|
USAGE
|
|
245
|
-
$ internxt logs
|
|
416
|
+
$ internxt logs [--json]
|
|
417
|
+
|
|
418
|
+
GLOBAL FLAGS
|
|
419
|
+
--json Format output as json.
|
|
246
420
|
|
|
247
421
|
DESCRIPTION
|
|
248
422
|
Displays the Internxt CLI logs directory path
|
|
@@ -251,7 +425,7 @@ EXAMPLES
|
|
|
251
425
|
$ internxt logs
|
|
252
426
|
```
|
|
253
427
|
|
|
254
|
-
_See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.
|
|
428
|
+
_See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/logs.ts)_
|
|
255
429
|
|
|
256
430
|
## `internxt move-file`
|
|
257
431
|
|
|
@@ -259,15 +433,19 @@ Move a file into a destination folder.
|
|
|
259
433
|
|
|
260
434
|
```
|
|
261
435
|
USAGE
|
|
262
|
-
$ internxt move-file [-
|
|
436
|
+
$ internxt move-file [--json] [-x] [-i <value>] [-d <value>]
|
|
263
437
|
|
|
264
438
|
FLAGS
|
|
265
|
-
-d, --destination=<value> The destination folder id where the file is going to be moved.
|
|
266
|
-
|
|
439
|
+
-d, --destination=<value> The destination folder id where the file is going to be moved. Leave empty for the root
|
|
440
|
+
folder.
|
|
441
|
+
-i, --id=<value> The ID of the file to be moved.
|
|
267
442
|
|
|
268
443
|
HELPER FLAGS
|
|
269
|
-
-
|
|
270
|
-
console and will throw errors directly
|
|
444
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
445
|
+
the console and will throw errors directly.
|
|
446
|
+
|
|
447
|
+
GLOBAL FLAGS
|
|
448
|
+
--json Format output as json.
|
|
271
449
|
|
|
272
450
|
DESCRIPTION
|
|
273
451
|
Move a file into a destination folder.
|
|
@@ -279,7 +457,7 @@ EXAMPLES
|
|
|
279
457
|
$ internxt move-file
|
|
280
458
|
```
|
|
281
459
|
|
|
282
|
-
_See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.
|
|
460
|
+
_See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/move-file.ts)_
|
|
283
461
|
|
|
284
462
|
## `internxt move-folder`
|
|
285
463
|
|
|
@@ -287,15 +465,19 @@ Move a folder into a destination folder.
|
|
|
287
465
|
|
|
288
466
|
```
|
|
289
467
|
USAGE
|
|
290
|
-
$ internxt move-folder [-
|
|
468
|
+
$ internxt move-folder [--json] [-x] [-i <value>] [-d <value>]
|
|
291
469
|
|
|
292
470
|
FLAGS
|
|
293
|
-
-d, --destination=<value> The destination folder id where the folder is going to be moved.
|
|
294
|
-
|
|
471
|
+
-d, --destination=<value> The destination folder id where the folder is going to be moved. Leave empty for the root
|
|
472
|
+
folder.
|
|
473
|
+
-i, --id=<value> The ID of the folder to be moved.
|
|
295
474
|
|
|
296
475
|
HELPER FLAGS
|
|
297
|
-
-
|
|
298
|
-
console and will throw errors directly
|
|
476
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
477
|
+
the console and will throw errors directly.
|
|
478
|
+
|
|
479
|
+
GLOBAL FLAGS
|
|
480
|
+
--json Format output as json.
|
|
299
481
|
|
|
300
482
|
DESCRIPTION
|
|
301
483
|
Move a folder into a destination folder.
|
|
@@ -307,7 +489,7 @@ EXAMPLES
|
|
|
307
489
|
$ internxt move-folder
|
|
308
490
|
```
|
|
309
491
|
|
|
310
|
-
_See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.
|
|
492
|
+
_See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/move-folder.ts)_
|
|
311
493
|
|
|
312
494
|
## `internxt move file`
|
|
313
495
|
|
|
@@ -315,15 +497,19 @@ Move a file into a destination folder.
|
|
|
315
497
|
|
|
316
498
|
```
|
|
317
499
|
USAGE
|
|
318
|
-
$ internxt move file [-
|
|
500
|
+
$ internxt move file [--json] [-x] [-i <value>] [-d <value>]
|
|
319
501
|
|
|
320
502
|
FLAGS
|
|
321
|
-
-d, --destination=<value> The destination folder id where the file is going to be moved.
|
|
322
|
-
|
|
503
|
+
-d, --destination=<value> The destination folder id where the file is going to be moved. Leave empty for the root
|
|
504
|
+
folder.
|
|
505
|
+
-i, --id=<value> The ID of the file to be moved.
|
|
323
506
|
|
|
324
507
|
HELPER FLAGS
|
|
325
|
-
-
|
|
326
|
-
console and will throw errors directly
|
|
508
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
509
|
+
the console and will throw errors directly.
|
|
510
|
+
|
|
511
|
+
GLOBAL FLAGS
|
|
512
|
+
--json Format output as json.
|
|
327
513
|
|
|
328
514
|
DESCRIPTION
|
|
329
515
|
Move a file into a destination folder.
|
|
@@ -341,15 +527,19 @@ Move a folder into a destination folder.
|
|
|
341
527
|
|
|
342
528
|
```
|
|
343
529
|
USAGE
|
|
344
|
-
$ internxt move folder [-
|
|
530
|
+
$ internxt move folder [--json] [-x] [-i <value>] [-d <value>]
|
|
345
531
|
|
|
346
532
|
FLAGS
|
|
347
|
-
-d, --destination=<value> The destination folder id where the folder is going to be moved.
|
|
348
|
-
|
|
533
|
+
-d, --destination=<value> The destination folder id where the folder is going to be moved. Leave empty for the root
|
|
534
|
+
folder.
|
|
535
|
+
-i, --id=<value> The ID of the folder to be moved.
|
|
349
536
|
|
|
350
537
|
HELPER FLAGS
|
|
351
|
-
-
|
|
352
|
-
console and will throw errors directly
|
|
538
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
539
|
+
the console and will throw errors directly.
|
|
540
|
+
|
|
541
|
+
GLOBAL FLAGS
|
|
542
|
+
--json Format output as json.
|
|
353
543
|
|
|
354
544
|
DESCRIPTION
|
|
355
545
|
Move a folder into a destination folder.
|
|
@@ -361,54 +551,125 @@ EXAMPLES
|
|
|
361
551
|
$ internxt move folder
|
|
362
552
|
```
|
|
363
553
|
|
|
364
|
-
## `internxt rename`
|
|
554
|
+
## `internxt rename-file`
|
|
365
555
|
|
|
366
|
-
Rename a
|
|
556
|
+
Rename a file.
|
|
367
557
|
|
|
368
558
|
```
|
|
369
559
|
USAGE
|
|
370
|
-
$ internxt rename [-
|
|
560
|
+
$ internxt rename-file [--json] [-x] [-i <value>] [-n <value>]
|
|
371
561
|
|
|
372
562
|
FLAGS
|
|
373
|
-
-i, --id=<value> The ID of the
|
|
374
|
-
-n, --name=<value> The new name for the
|
|
563
|
+
-i, --id=<value> The ID of the file to be renamed.
|
|
564
|
+
-n, --name=<value> The new name for the file.
|
|
375
565
|
|
|
376
566
|
HELPER FLAGS
|
|
377
|
-
-
|
|
378
|
-
console and will throw errors directly
|
|
567
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
568
|
+
the console and will throw errors directly.
|
|
569
|
+
|
|
570
|
+
GLOBAL FLAGS
|
|
571
|
+
--json Format output as json.
|
|
572
|
+
|
|
573
|
+
DESCRIPTION
|
|
574
|
+
Rename a file.
|
|
575
|
+
|
|
576
|
+
ALIASES
|
|
577
|
+
$ internxt rename file
|
|
578
|
+
|
|
579
|
+
EXAMPLES
|
|
580
|
+
$ internxt rename-file
|
|
581
|
+
```
|
|
582
|
+
|
|
583
|
+
_See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/rename-file.ts)_
|
|
584
|
+
|
|
585
|
+
## `internxt rename-folder`
|
|
586
|
+
|
|
587
|
+
Rename a folder.
|
|
588
|
+
|
|
589
|
+
```
|
|
590
|
+
USAGE
|
|
591
|
+
$ internxt rename-folder [--json] [-x] [-i <value>] [-n <value>]
|
|
592
|
+
|
|
593
|
+
FLAGS
|
|
594
|
+
-i, --id=<value> The ID of the folder to be renamed.
|
|
595
|
+
-n, --name=<value> The new name for the folder.
|
|
596
|
+
|
|
597
|
+
HELPER FLAGS
|
|
598
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
599
|
+
the console and will throw errors directly.
|
|
600
|
+
|
|
601
|
+
GLOBAL FLAGS
|
|
602
|
+
--json Format output as json.
|
|
379
603
|
|
|
380
604
|
DESCRIPTION
|
|
381
|
-
Rename a folder
|
|
605
|
+
Rename a folder.
|
|
606
|
+
|
|
607
|
+
ALIASES
|
|
608
|
+
$ internxt rename folder
|
|
382
609
|
|
|
383
610
|
EXAMPLES
|
|
384
|
-
$ internxt rename
|
|
611
|
+
$ internxt rename-folder
|
|
385
612
|
```
|
|
386
613
|
|
|
387
|
-
_See code: [src/commands/rename.ts](https://github.com/internxt/cli/blob/v1.
|
|
614
|
+
_See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/rename-folder.ts)_
|
|
388
615
|
|
|
389
|
-
## `internxt
|
|
616
|
+
## `internxt rename file`
|
|
390
617
|
|
|
391
|
-
|
|
618
|
+
Rename a file.
|
|
392
619
|
|
|
393
620
|
```
|
|
394
621
|
USAGE
|
|
395
|
-
$ internxt
|
|
622
|
+
$ internxt rename file [--json] [-x] [-i <value>] [-n <value>]
|
|
396
623
|
|
|
397
624
|
FLAGS
|
|
398
|
-
-i, --id=<value>
|
|
625
|
+
-i, --id=<value> The ID of the file to be renamed.
|
|
626
|
+
-n, --name=<value> The new name for the file.
|
|
399
627
|
|
|
400
628
|
HELPER FLAGS
|
|
401
|
-
-
|
|
402
|
-
console and will throw errors directly
|
|
629
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
630
|
+
the console and will throw errors directly.
|
|
631
|
+
|
|
632
|
+
GLOBAL FLAGS
|
|
633
|
+
--json Format output as json.
|
|
403
634
|
|
|
404
635
|
DESCRIPTION
|
|
405
|
-
|
|
636
|
+
Rename a file.
|
|
637
|
+
|
|
638
|
+
ALIASES
|
|
639
|
+
$ internxt rename file
|
|
406
640
|
|
|
407
641
|
EXAMPLES
|
|
408
|
-
$ internxt
|
|
642
|
+
$ internxt rename file
|
|
409
643
|
```
|
|
410
644
|
|
|
411
|
-
|
|
645
|
+
## `internxt rename folder`
|
|
646
|
+
|
|
647
|
+
Rename a folder.
|
|
648
|
+
|
|
649
|
+
```
|
|
650
|
+
USAGE
|
|
651
|
+
$ internxt rename folder [--json] [-x] [-i <value>] [-n <value>]
|
|
652
|
+
|
|
653
|
+
FLAGS
|
|
654
|
+
-i, --id=<value> The ID of the folder to be renamed.
|
|
655
|
+
-n, --name=<value> The new name for the folder.
|
|
656
|
+
|
|
657
|
+
HELPER FLAGS
|
|
658
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
659
|
+
the console and will throw errors directly.
|
|
660
|
+
|
|
661
|
+
GLOBAL FLAGS
|
|
662
|
+
--json Format output as json.
|
|
663
|
+
|
|
664
|
+
DESCRIPTION
|
|
665
|
+
Rename a folder.
|
|
666
|
+
|
|
667
|
+
ALIASES
|
|
668
|
+
$ internxt rename folder
|
|
669
|
+
|
|
670
|
+
EXAMPLES
|
|
671
|
+
$ internxt rename folder
|
|
672
|
+
```
|
|
412
673
|
|
|
413
674
|
## `internxt trash-clear`
|
|
414
675
|
|
|
@@ -416,14 +677,17 @@ Deletes permanently all the content of the trash. This action cannot be undone.
|
|
|
416
677
|
|
|
417
678
|
```
|
|
418
679
|
USAGE
|
|
419
|
-
$ internxt trash-clear [-
|
|
680
|
+
$ internxt trash-clear [--json] [-x] [-f]
|
|
420
681
|
|
|
421
682
|
FLAGS
|
|
422
683
|
-f, --force It forces the trash to be emptied without confirmation.
|
|
423
684
|
|
|
424
685
|
HELPER FLAGS
|
|
425
|
-
-
|
|
426
|
-
console and will throw errors directly
|
|
686
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
687
|
+
the console and will throw errors directly.
|
|
688
|
+
|
|
689
|
+
GLOBAL FLAGS
|
|
690
|
+
--json Format output as json.
|
|
427
691
|
|
|
428
692
|
DESCRIPTION
|
|
429
693
|
Deletes permanently all the content of the trash. This action cannot be undone.
|
|
@@ -435,7 +699,67 @@ EXAMPLES
|
|
|
435
699
|
$ internxt trash-clear
|
|
436
700
|
```
|
|
437
701
|
|
|
438
|
-
_See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.
|
|
702
|
+
_See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/trash-clear.ts)_
|
|
703
|
+
|
|
704
|
+
## `internxt trash-file`
|
|
705
|
+
|
|
706
|
+
Moves a given file to the trash.
|
|
707
|
+
|
|
708
|
+
```
|
|
709
|
+
USAGE
|
|
710
|
+
$ internxt trash-file [--json] [-x] [-i <value>]
|
|
711
|
+
|
|
712
|
+
FLAGS
|
|
713
|
+
-i, --id=<value> The file id to be trashed.
|
|
714
|
+
|
|
715
|
+
HELPER FLAGS
|
|
716
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
717
|
+
the console and will throw errors directly.
|
|
718
|
+
|
|
719
|
+
GLOBAL FLAGS
|
|
720
|
+
--json Format output as json.
|
|
721
|
+
|
|
722
|
+
DESCRIPTION
|
|
723
|
+
Moves a given file to the trash.
|
|
724
|
+
|
|
725
|
+
ALIASES
|
|
726
|
+
$ internxt trash file
|
|
727
|
+
|
|
728
|
+
EXAMPLES
|
|
729
|
+
$ internxt trash-file
|
|
730
|
+
```
|
|
731
|
+
|
|
732
|
+
_See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/trash-file.ts)_
|
|
733
|
+
|
|
734
|
+
## `internxt trash-folder`
|
|
735
|
+
|
|
736
|
+
Moves a given folder to the trash.
|
|
737
|
+
|
|
738
|
+
```
|
|
739
|
+
USAGE
|
|
740
|
+
$ internxt trash-folder [--json] [-x] [-i <value>]
|
|
741
|
+
|
|
742
|
+
FLAGS
|
|
743
|
+
-i, --id=<value> The folder id to be trashed.
|
|
744
|
+
|
|
745
|
+
HELPER FLAGS
|
|
746
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
747
|
+
the console and will throw errors directly.
|
|
748
|
+
|
|
749
|
+
GLOBAL FLAGS
|
|
750
|
+
--json Format output as json.
|
|
751
|
+
|
|
752
|
+
DESCRIPTION
|
|
753
|
+
Moves a given folder to the trash.
|
|
754
|
+
|
|
755
|
+
ALIASES
|
|
756
|
+
$ internxt trash folder
|
|
757
|
+
|
|
758
|
+
EXAMPLES
|
|
759
|
+
$ internxt trash-folder
|
|
760
|
+
```
|
|
761
|
+
|
|
762
|
+
_See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/trash-folder.ts)_
|
|
439
763
|
|
|
440
764
|
## `internxt trash-list`
|
|
441
765
|
|
|
@@ -443,23 +767,13 @@ Lists the content of the trash.
|
|
|
443
767
|
|
|
444
768
|
```
|
|
445
769
|
USAGE
|
|
446
|
-
$ internxt trash-list [
|
|
447
|
-
[--output csv|json|yaml | | ] [--sort <value>]
|
|
770
|
+
$ internxt trash-list [--json] [-e]
|
|
448
771
|
|
|
449
772
|
FLAGS
|
|
450
|
-
-
|
|
451
|
-
--columns=<value> only show provided columns (comma-separated)
|
|
452
|
-
--csv output is csv format [alias: --output=csv]
|
|
453
|
-
--filter=<value> filter property by partial string matching, ex: name=foo
|
|
454
|
-
--no-header hide table header from output
|
|
455
|
-
--no-truncate do not truncate output to fit screen
|
|
456
|
-
--output=<option> output in a more machine friendly format
|
|
457
|
-
<options: csv|json|yaml>
|
|
458
|
-
--sort=<value> property to sort by (prepend '-' for descending)
|
|
773
|
+
-e, --extended Displays additional information in the trash list.
|
|
459
774
|
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
console and will throw errors directly
|
|
775
|
+
GLOBAL FLAGS
|
|
776
|
+
--json Format output as json.
|
|
463
777
|
|
|
464
778
|
DESCRIPTION
|
|
465
779
|
Lists the content of the trash.
|
|
@@ -471,7 +785,7 @@ EXAMPLES
|
|
|
471
785
|
$ internxt trash-list
|
|
472
786
|
```
|
|
473
787
|
|
|
474
|
-
_See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.
|
|
788
|
+
_See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/trash-list.ts)_
|
|
475
789
|
|
|
476
790
|
## `internxt trash-restore-file`
|
|
477
791
|
|
|
@@ -479,15 +793,18 @@ Restore a trashed file into a destination folder.
|
|
|
479
793
|
|
|
480
794
|
```
|
|
481
795
|
USAGE
|
|
482
|
-
$ internxt trash-restore-file [-
|
|
796
|
+
$ internxt trash-restore-file [--json] [-x] [-i <value>] [-d <value>]
|
|
483
797
|
|
|
484
798
|
FLAGS
|
|
485
799
|
-d, --destination=<value> The folder id where the file is going to be restored. Leave empty for the root folder.
|
|
486
800
|
-i, --id=<value> The file id to be restored from the trash.
|
|
487
801
|
|
|
488
802
|
HELPER FLAGS
|
|
489
|
-
-
|
|
490
|
-
console and will throw errors directly
|
|
803
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
804
|
+
the console and will throw errors directly.
|
|
805
|
+
|
|
806
|
+
GLOBAL FLAGS
|
|
807
|
+
--json Format output as json.
|
|
491
808
|
|
|
492
809
|
DESCRIPTION
|
|
493
810
|
Restore a trashed file into a destination folder.
|
|
@@ -499,7 +816,7 @@ EXAMPLES
|
|
|
499
816
|
$ internxt trash-restore-file
|
|
500
817
|
```
|
|
501
818
|
|
|
502
|
-
_See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.
|
|
819
|
+
_See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/trash-restore-file.ts)_
|
|
503
820
|
|
|
504
821
|
## `internxt trash-restore-folder`
|
|
505
822
|
|
|
@@ -507,15 +824,18 @@ Restore a trashed folder into a destination folder.
|
|
|
507
824
|
|
|
508
825
|
```
|
|
509
826
|
USAGE
|
|
510
|
-
$ internxt trash-restore-folder [-
|
|
827
|
+
$ internxt trash-restore-folder [--json] [-x] [-i <value>] [-d <value>]
|
|
511
828
|
|
|
512
829
|
FLAGS
|
|
513
830
|
-d, --destination=<value> The folder id where the folder is going to be restored. Leave empty for the root folder.
|
|
514
831
|
-i, --id=<value> The folder id to be restored from the trash.
|
|
515
832
|
|
|
516
833
|
HELPER FLAGS
|
|
517
|
-
-
|
|
518
|
-
console and will throw errors directly
|
|
834
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
835
|
+
the console and will throw errors directly.
|
|
836
|
+
|
|
837
|
+
GLOBAL FLAGS
|
|
838
|
+
--json Format output as json.
|
|
519
839
|
|
|
520
840
|
DESCRIPTION
|
|
521
841
|
Restore a trashed folder into a destination folder.
|
|
@@ -527,7 +847,7 @@ EXAMPLES
|
|
|
527
847
|
$ internxt trash-restore-folder
|
|
528
848
|
```
|
|
529
849
|
|
|
530
|
-
_See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.
|
|
850
|
+
_See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/trash-restore-folder.ts)_
|
|
531
851
|
|
|
532
852
|
## `internxt trash clear`
|
|
533
853
|
|
|
@@ -535,14 +855,17 @@ Deletes permanently all the content of the trash. This action cannot be undone.
|
|
|
535
855
|
|
|
536
856
|
```
|
|
537
857
|
USAGE
|
|
538
|
-
$ internxt trash clear [-
|
|
858
|
+
$ internxt trash clear [--json] [-x] [-f]
|
|
539
859
|
|
|
540
860
|
FLAGS
|
|
541
861
|
-f, --force It forces the trash to be emptied without confirmation.
|
|
542
862
|
|
|
543
863
|
HELPER FLAGS
|
|
544
|
-
-
|
|
545
|
-
console and will throw errors directly
|
|
864
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
865
|
+
the console and will throw errors directly.
|
|
866
|
+
|
|
867
|
+
GLOBAL FLAGS
|
|
868
|
+
--json Format output as json.
|
|
546
869
|
|
|
547
870
|
DESCRIPTION
|
|
548
871
|
Deletes permanently all the content of the trash. This action cannot be undone.
|
|
@@ -554,29 +877,75 @@ EXAMPLES
|
|
|
554
877
|
$ internxt trash clear
|
|
555
878
|
```
|
|
556
879
|
|
|
880
|
+
## `internxt trash file`
|
|
881
|
+
|
|
882
|
+
Moves a given file to the trash.
|
|
883
|
+
|
|
884
|
+
```
|
|
885
|
+
USAGE
|
|
886
|
+
$ internxt trash file [--json] [-x] [-i <value>]
|
|
887
|
+
|
|
888
|
+
FLAGS
|
|
889
|
+
-i, --id=<value> The file id to be trashed.
|
|
890
|
+
|
|
891
|
+
HELPER FLAGS
|
|
892
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
893
|
+
the console and will throw errors directly.
|
|
894
|
+
|
|
895
|
+
GLOBAL FLAGS
|
|
896
|
+
--json Format output as json.
|
|
897
|
+
|
|
898
|
+
DESCRIPTION
|
|
899
|
+
Moves a given file to the trash.
|
|
900
|
+
|
|
901
|
+
ALIASES
|
|
902
|
+
$ internxt trash file
|
|
903
|
+
|
|
904
|
+
EXAMPLES
|
|
905
|
+
$ internxt trash file
|
|
906
|
+
```
|
|
907
|
+
|
|
908
|
+
## `internxt trash folder`
|
|
909
|
+
|
|
910
|
+
Moves a given folder to the trash.
|
|
911
|
+
|
|
912
|
+
```
|
|
913
|
+
USAGE
|
|
914
|
+
$ internxt trash folder [--json] [-x] [-i <value>]
|
|
915
|
+
|
|
916
|
+
FLAGS
|
|
917
|
+
-i, --id=<value> The folder id to be trashed.
|
|
918
|
+
|
|
919
|
+
HELPER FLAGS
|
|
920
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
921
|
+
the console and will throw errors directly.
|
|
922
|
+
|
|
923
|
+
GLOBAL FLAGS
|
|
924
|
+
--json Format output as json.
|
|
925
|
+
|
|
926
|
+
DESCRIPTION
|
|
927
|
+
Moves a given folder to the trash.
|
|
928
|
+
|
|
929
|
+
ALIASES
|
|
930
|
+
$ internxt trash folder
|
|
931
|
+
|
|
932
|
+
EXAMPLES
|
|
933
|
+
$ internxt trash folder
|
|
934
|
+
```
|
|
935
|
+
|
|
557
936
|
## `internxt trash list`
|
|
558
937
|
|
|
559
938
|
Lists the content of the trash.
|
|
560
939
|
|
|
561
940
|
```
|
|
562
941
|
USAGE
|
|
563
|
-
$ internxt trash list [
|
|
564
|
-
[--output csv|json|yaml | | ] [--sort <value>]
|
|
942
|
+
$ internxt trash list [--json] [-e]
|
|
565
943
|
|
|
566
944
|
FLAGS
|
|
567
|
-
-
|
|
568
|
-
--columns=<value> only show provided columns (comma-separated)
|
|
569
|
-
--csv output is csv format [alias: --output=csv]
|
|
570
|
-
--filter=<value> filter property by partial string matching, ex: name=foo
|
|
571
|
-
--no-header hide table header from output
|
|
572
|
-
--no-truncate do not truncate output to fit screen
|
|
573
|
-
--output=<option> output in a more machine friendly format
|
|
574
|
-
<options: csv|json|yaml>
|
|
575
|
-
--sort=<value> property to sort by (prepend '-' for descending)
|
|
945
|
+
-e, --extended Displays additional information in the trash list.
|
|
576
946
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
console and will throw errors directly
|
|
947
|
+
GLOBAL FLAGS
|
|
948
|
+
--json Format output as json.
|
|
580
949
|
|
|
581
950
|
DESCRIPTION
|
|
582
951
|
Lists the content of the trash.
|
|
@@ -594,15 +963,18 @@ Restore a trashed file into a destination folder.
|
|
|
594
963
|
|
|
595
964
|
```
|
|
596
965
|
USAGE
|
|
597
|
-
$ internxt trash restore file [-
|
|
966
|
+
$ internxt trash restore file [--json] [-x] [-i <value>] [-d <value>]
|
|
598
967
|
|
|
599
968
|
FLAGS
|
|
600
969
|
-d, --destination=<value> The folder id where the file is going to be restored. Leave empty for the root folder.
|
|
601
970
|
-i, --id=<value> The file id to be restored from the trash.
|
|
602
971
|
|
|
603
972
|
HELPER FLAGS
|
|
604
|
-
-
|
|
605
|
-
console and will throw errors directly
|
|
973
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
974
|
+
the console and will throw errors directly.
|
|
975
|
+
|
|
976
|
+
GLOBAL FLAGS
|
|
977
|
+
--json Format output as json.
|
|
606
978
|
|
|
607
979
|
DESCRIPTION
|
|
608
980
|
Restore a trashed file into a destination folder.
|
|
@@ -620,15 +992,18 @@ Restore a trashed folder into a destination folder.
|
|
|
620
992
|
|
|
621
993
|
```
|
|
622
994
|
USAGE
|
|
623
|
-
$ internxt trash restore folder [-
|
|
995
|
+
$ internxt trash restore folder [--json] [-x] [-i <value>] [-d <value>]
|
|
624
996
|
|
|
625
997
|
FLAGS
|
|
626
998
|
-d, --destination=<value> The folder id where the folder is going to be restored. Leave empty for the root folder.
|
|
627
999
|
-i, --id=<value> The folder id to be restored from the trash.
|
|
628
1000
|
|
|
629
1001
|
HELPER FLAGS
|
|
630
|
-
-
|
|
631
|
-
console and will throw errors directly
|
|
1002
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
1003
|
+
the console and will throw errors directly.
|
|
1004
|
+
|
|
1005
|
+
GLOBAL FLAGS
|
|
1006
|
+
--json Format output as json.
|
|
632
1007
|
|
|
633
1008
|
DESCRIPTION
|
|
634
1009
|
Restore a trashed folder into a destination folder.
|
|
@@ -640,17 +1015,21 @@ EXAMPLES
|
|
|
640
1015
|
$ internxt trash restore folder
|
|
641
1016
|
```
|
|
642
1017
|
|
|
643
|
-
## `internxt upload`
|
|
1018
|
+
## `internxt upload-file`
|
|
644
1019
|
|
|
645
1020
|
Upload a file to Internxt Drive
|
|
646
1021
|
|
|
647
1022
|
```
|
|
648
1023
|
USAGE
|
|
649
|
-
$ internxt upload --
|
|
1024
|
+
$ internxt upload-file [--json] [-x] [-f <value>] [-i <value>]
|
|
650
1025
|
|
|
651
1026
|
FLAGS
|
|
652
|
-
--file=<value>
|
|
653
|
-
--
|
|
1027
|
+
-f, --file=<value> The path to the file on your system.
|
|
1028
|
+
-i, --destination=<value> The folder id where the file is going to be uploaded to. Leave empty for the root folder.
|
|
1029
|
+
|
|
1030
|
+
HELPER FLAGS
|
|
1031
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
1032
|
+
the console and will throw errors directly.
|
|
654
1033
|
|
|
655
1034
|
GLOBAL FLAGS
|
|
656
1035
|
--json Format output as json.
|
|
@@ -658,11 +1037,43 @@ GLOBAL FLAGS
|
|
|
658
1037
|
DESCRIPTION
|
|
659
1038
|
Upload a file to Internxt Drive
|
|
660
1039
|
|
|
1040
|
+
ALIASES
|
|
1041
|
+
$ internxt upload file
|
|
1042
|
+
|
|
661
1043
|
EXAMPLES
|
|
662
|
-
$ internxt upload
|
|
1044
|
+
$ internxt upload-file
|
|
663
1045
|
```
|
|
664
1046
|
|
|
665
|
-
_See code: [src/commands/upload.ts](https://github.com/internxt/cli/blob/v1.
|
|
1047
|
+
_See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/upload-file.ts)_
|
|
1048
|
+
|
|
1049
|
+
## `internxt upload file`
|
|
1050
|
+
|
|
1051
|
+
Upload a file to Internxt Drive
|
|
1052
|
+
|
|
1053
|
+
```
|
|
1054
|
+
USAGE
|
|
1055
|
+
$ internxt upload file [--json] [-x] [-f <value>] [-i <value>]
|
|
1056
|
+
|
|
1057
|
+
FLAGS
|
|
1058
|
+
-f, --file=<value> The path to the file on your system.
|
|
1059
|
+
-i, --destination=<value> The folder id where the file is going to be uploaded to. Leave empty for the root folder.
|
|
1060
|
+
|
|
1061
|
+
HELPER FLAGS
|
|
1062
|
+
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through
|
|
1063
|
+
the console and will throw errors directly.
|
|
1064
|
+
|
|
1065
|
+
GLOBAL FLAGS
|
|
1066
|
+
--json Format output as json.
|
|
1067
|
+
|
|
1068
|
+
DESCRIPTION
|
|
1069
|
+
Upload a file to Internxt Drive
|
|
1070
|
+
|
|
1071
|
+
ALIASES
|
|
1072
|
+
$ internxt upload file
|
|
1073
|
+
|
|
1074
|
+
EXAMPLES
|
|
1075
|
+
$ internxt upload file
|
|
1076
|
+
```
|
|
666
1077
|
|
|
667
1078
|
## `internxt webdav ACTION`
|
|
668
1079
|
|
|
@@ -670,7 +1081,10 @@ Enable, disable, restart or get the status of the Internxt CLI WebDav server
|
|
|
670
1081
|
|
|
671
1082
|
```
|
|
672
1083
|
USAGE
|
|
673
|
-
$ internxt webdav ACTION
|
|
1084
|
+
$ internxt webdav ACTION [--json]
|
|
1085
|
+
|
|
1086
|
+
GLOBAL FLAGS
|
|
1087
|
+
--json Format output as json.
|
|
674
1088
|
|
|
675
1089
|
DESCRIPTION
|
|
676
1090
|
Enable, disable, restart or get the status of the Internxt CLI WebDav server
|
|
@@ -685,35 +1099,32 @@ EXAMPLES
|
|
|
685
1099
|
$ internxt webdav status
|
|
686
1100
|
```
|
|
687
1101
|
|
|
688
|
-
_See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.
|
|
1102
|
+
_See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/webdav.ts)_
|
|
689
1103
|
|
|
690
|
-
## `internxt webdav-config
|
|
1104
|
+
## `internxt webdav-config`
|
|
691
1105
|
|
|
692
1106
|
Edit the configuration of the Internxt CLI WebDav server as the port or the protocol.
|
|
693
1107
|
|
|
694
1108
|
```
|
|
695
1109
|
USAGE
|
|
696
|
-
$ internxt webdav-config
|
|
1110
|
+
$ internxt webdav-config [--json] [-p <value>] [-s | -h]
|
|
697
1111
|
|
|
698
1112
|
FLAGS
|
|
699
|
-
-
|
|
1113
|
+
-h, --http Configures the WebDAV server to use insecure plain HTTP.
|
|
1114
|
+
-p, --port=<value> The new port for the WebDAV server.
|
|
1115
|
+
-s, --https Configures the WebDAV server to use HTTPS with self-signed certificates.
|
|
700
1116
|
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
console and will throw errors directly
|
|
1117
|
+
GLOBAL FLAGS
|
|
1118
|
+
--json Format output as json.
|
|
704
1119
|
|
|
705
1120
|
DESCRIPTION
|
|
706
1121
|
Edit the configuration of the Internxt CLI WebDav server as the port or the protocol.
|
|
707
1122
|
|
|
708
1123
|
EXAMPLES
|
|
709
|
-
$ internxt webdav-config
|
|
710
|
-
|
|
711
|
-
$ internxt webdav-config set-https
|
|
712
|
-
|
|
713
|
-
$ internxt webdav-config change-port
|
|
1124
|
+
$ internxt webdav-config
|
|
714
1125
|
```
|
|
715
1126
|
|
|
716
|
-
_See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.
|
|
1127
|
+
_See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/webdav-config.ts)_
|
|
717
1128
|
|
|
718
1129
|
## `internxt whoami`
|
|
719
1130
|
|
|
@@ -721,7 +1132,10 @@ Display the current user logged into the Internxt CLI.
|
|
|
721
1132
|
|
|
722
1133
|
```
|
|
723
1134
|
USAGE
|
|
724
|
-
$ internxt whoami
|
|
1135
|
+
$ internxt whoami [--json]
|
|
1136
|
+
|
|
1137
|
+
GLOBAL FLAGS
|
|
1138
|
+
--json Format output as json.
|
|
725
1139
|
|
|
726
1140
|
DESCRIPTION
|
|
727
1141
|
Display the current user logged into the Internxt CLI.
|
|
@@ -730,7 +1144,7 @@ EXAMPLES
|
|
|
730
1144
|
$ internxt whoami
|
|
731
1145
|
```
|
|
732
1146
|
|
|
733
|
-
_See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.
|
|
1147
|
+
_See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.4.2/src/commands/whoami.ts)_
|
|
734
1148
|
<!-- commandsstop -->
|
|
735
1149
|
|
|
736
1150
|
# Current Limitations
|