Skip to content

Commit 6a946f2

Browse files
authored
Merge pull request #134 from internxt/feat/PB-3299-delete-permanently-items
[PB-3299]: feat/delete-permanently-items
2 parents 9b6b7a8 + 20fad33 commit 6a946f2

6 files changed

Lines changed: 316 additions & 194 deletions

File tree

README.md

Lines changed: 143 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $ npm install -g @internxt/cli
3131
$ internxt COMMAND
3232
running command...
3333
$ internxt (--version)
34-
@internxt/cli/1.3.1 darwin-x64 node-v20.12.2
34+
@internxt/cli/1.4.0 win32-x64 node-v20.9.0
3535
$ internxt --help [COMMAND]
3636
USAGE
3737
$ internxt COMMAND
@@ -45,6 +45,10 @@ USAGE
4545
* [`internxt add-cert`](#internxt-add-cert)
4646
* [`internxt config`](#internxt-config)
4747
* [`internxt create-folder`](#internxt-create-folder)
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)
4852
* [`internxt download-file`](#internxt-download-file)
4953
* [`internxt download file`](#internxt-download-file)
5054
* [`internxt list`](#internxt-list)
@@ -95,7 +99,7 @@ EXAMPLES
9599
$ internxt add-cert
96100
```
97101

98-
_See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/add-cert.ts)_
102+
_See code: [src/commands/add-cert.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/add-cert.ts)_
99103

100104
## `internxt config`
101105

@@ -115,7 +119,7 @@ EXAMPLES
115119
$ internxt config
116120
```
117121

118-
_See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/config.ts)_
122+
_See code: [src/commands/config.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/config.ts)_
119123

120124
## `internxt create-folder`
121125

@@ -144,7 +148,123 @@ EXAMPLES
144148
$ internxt create-folder
145149
```
146150

147-
_See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/create-folder.ts)_
151+
_See code: [src/commands/create-folder.ts](https://github.com/internxt/cli/blob/v1.4.0/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] [-n] [-i <value>]
160+
161+
FLAGS
162+
-i, --id=<value> The file id to be permanently deleted.
163+
164+
HELPER FLAGS
165+
-n, --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.0/src/commands/delete-permanently-file.ts)_
182+
183+
## `internxt delete-permanently-folder`
184+
185+
Deletes permanently a folder. This action cannot be undone.
186+
187+
```
188+
USAGE
189+
$ internxt delete-permanently-folder [--json] [-n] [-i <value>]
190+
191+
FLAGS
192+
-i, --id=<value> The folder id to be permanently deleted.
193+
194+
HELPER FLAGS
195+
-n, --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.0/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] [-n] [-i <value>]
220+
221+
FLAGS
222+
-i, --id=<value> The file id to be permanently deleted.
223+
224+
HELPER FLAGS
225+
-n, --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] [-n] [-i <value>]
248+
249+
FLAGS
250+
-i, --id=<value> The folder id to be permanently deleted.
251+
252+
HELPER FLAGS
253+
-n, --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+
```
148268

149269
## `internxt download-file`
150270

@@ -177,7 +297,7 @@ EXAMPLES
177297
$ internxt download-file
178298
```
179299

180-
_See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.3.0/src/commands/download-file.ts)_
300+
_See code: [src/commands/download-file.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/download-file.ts)_
181301

182302
## `internxt download file`
183303

@@ -236,7 +356,7 @@ EXAMPLES
236356
$ internxt list
237357
```
238358

239-
_See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/list.ts)_
359+
_See code: [src/commands/list.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/list.ts)_
240360

241361
## `internxt login`
242362

@@ -265,7 +385,7 @@ EXAMPLES
265385
$ internxt login
266386
```
267387

268-
_See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/login.ts)_
388+
_See code: [src/commands/login.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/login.ts)_
269389

270390
## `internxt logout`
271391

@@ -285,7 +405,7 @@ EXAMPLES
285405
$ internxt logout
286406
```
287407

288-
_See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/logout.ts)_
408+
_See code: [src/commands/logout.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/logout.ts)_
289409

290410
## `internxt logs`
291411

@@ -305,7 +425,7 @@ EXAMPLES
305425
$ internxt logs
306426
```
307427

308-
_See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/logs.ts)_
428+
_See code: [src/commands/logs.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/logs.ts)_
309429

310430
## `internxt move-file`
311431

@@ -337,7 +457,7 @@ EXAMPLES
337457
$ internxt move-file
338458
```
339459

340-
_See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/move-file.ts)_
460+
_See code: [src/commands/move-file.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/move-file.ts)_
341461

342462
## `internxt move-folder`
343463

@@ -369,7 +489,7 @@ EXAMPLES
369489
$ internxt move-folder
370490
```
371491

372-
_See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/move-folder.ts)_
492+
_See code: [src/commands/move-folder.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/move-folder.ts)_
373493

374494
## `internxt move file`
375495

@@ -460,7 +580,7 @@ EXAMPLES
460580
$ internxt rename-file
461581
```
462582

463-
_See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.3.0/src/commands/rename-file.ts)_
583+
_See code: [src/commands/rename-file.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/rename-file.ts)_
464584

465585
## `internxt rename-folder`
466586

@@ -491,7 +611,7 @@ EXAMPLES
491611
$ internxt rename-folder
492612
```
493613

494-
_See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.3.0/src/commands/rename-folder.ts)_
614+
_See code: [src/commands/rename-folder.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/rename-folder.ts)_
495615

496616
## `internxt rename file`
497617

@@ -579,7 +699,7 @@ EXAMPLES
579699
$ internxt trash-clear
580700
```
581701

582-
_See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.3.0/src/commands/trash-clear.ts)_
702+
_See code: [src/commands/trash-clear.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/trash-clear.ts)_
583703

584704
## `internxt trash-file`
585705

@@ -609,7 +729,7 @@ EXAMPLES
609729
$ internxt trash-file
610730
```
611731

612-
_See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.3.0/src/commands/trash-file.ts)_
732+
_See code: [src/commands/trash-file.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/trash-file.ts)_
613733

614734
## `internxt trash-folder`
615735

@@ -639,7 +759,7 @@ EXAMPLES
639759
$ internxt trash-folder
640760
```
641761

642-
_See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.3.0/src/commands/trash-folder.ts)_
762+
_See code: [src/commands/trash-folder.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/trash-folder.ts)_
643763

644764
## `internxt trash-list`
645765

@@ -665,7 +785,7 @@ EXAMPLES
665785
$ internxt trash-list
666786
```
667787

668-
_See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/trash-list.ts)_
788+
_See code: [src/commands/trash-list.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/trash-list.ts)_
669789

670790
## `internxt trash-restore-file`
671791

@@ -696,7 +816,7 @@ EXAMPLES
696816
$ internxt trash-restore-file
697817
```
698818

699-
_See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/trash-restore-file.ts)_
819+
_See code: [src/commands/trash-restore-file.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/trash-restore-file.ts)_
700820

701821
## `internxt trash-restore-folder`
702822

@@ -727,7 +847,7 @@ EXAMPLES
727847
$ internxt trash-restore-folder
728848
```
729849

730-
_See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/trash-restore-folder.ts)_
850+
_See code: [src/commands/trash-restore-folder.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/trash-restore-folder.ts)_
731851

732852
## `internxt trash clear`
733853

@@ -924,7 +1044,7 @@ EXAMPLES
9241044
$ internxt upload-file
9251045
```
9261046

927-
_See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.3.0/src/commands/upload-file.ts)_
1047+
_See code: [src/commands/upload-file.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/upload-file.ts)_
9281048

9291049
## `internxt upload file`
9301050

@@ -979,7 +1099,7 @@ EXAMPLES
9791099
$ internxt webdav status
9801100
```
9811101

982-
_See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/webdav.ts)_
1102+
_See code: [src/commands/webdav.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/webdav.ts)_
9831103

9841104
## `internxt webdav-config`
9851105

@@ -1004,7 +1124,7 @@ EXAMPLES
10041124
$ internxt webdav-config
10051125
```
10061126

1007-
_See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/webdav-config.ts)_
1127+
_See code: [src/commands/webdav-config.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/webdav-config.ts)_
10081128

10091129
## `internxt whoami`
10101130

@@ -1024,7 +1144,7 @@ EXAMPLES
10241144
$ internxt whoami
10251145
```
10261146

1027-
_See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.3.1/src/commands/whoami.ts)_
1147+
_See code: [src/commands/whoami.ts](https://github.com/internxt/cli/blob/v1.4.0/src/commands/whoami.ts)_
10281148
<!-- commandsstop -->
10291149

10301150
# Current Limitations

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"author": "Internxt <hello@internxt.com>",
3-
"version": "1.3.3",
3+
"version": "1.4.0",
44
"description": "Internxt CLI to manage your encrypted storage",
55
"scripts": {
66
"build": "yarn clean && tsc",
@@ -82,7 +82,7 @@
8282
"lint-staged": "^15.2.10",
8383
"nock": "^13.5.6",
8484
"nodemon": "^3.1.7",
85-
"oclif": "^4.16.0",
85+
"oclif": "^4.16.2",
8686
"prettier": "^3.4.2",
8787
"rimraf": "^6.0.1",
8888
"sequelize-cli": "^6.6.2",

0 commit comments

Comments
 (0)