@super-protocol/sp-cli 0.0.6 → 0.0.8

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.
Files changed (92) hide show
  1. package/README.md +116 -234
  2. package/dist/commands/account/base.d.ts +19 -0
  3. package/dist/commands/account/base.js +42 -0
  4. package/dist/commands/account/forget.d.ts +14 -0
  5. package/dist/commands/account/forget.js +49 -0
  6. package/dist/commands/account/get-sppi.d.ts +2 -2
  7. package/dist/commands/account/get-sppi.js +8 -13
  8. package/dist/commands/account/info.d.ts +5 -2
  9. package/dist/commands/account/info.js +53 -3
  10. package/dist/commands/account/list.d.ts +9 -0
  11. package/dist/commands/{config → account}/list.js +16 -9
  12. package/dist/commands/account/login.d.ts +35 -0
  13. package/dist/commands/account/login.js +249 -0
  14. package/dist/commands/account/switch.d.ts +12 -0
  15. package/dist/commands/account/switch.js +40 -0
  16. package/dist/commands/base.d.ts +4 -3
  17. package/dist/commands/base.js +99 -13
  18. package/dist/commands/files/download.js +13 -5
  19. package/dist/commands/files/upload.js +11 -7
  20. package/dist/commands/storage/base.d.ts +2 -2
  21. package/dist/commands/storage/base.js +11 -11
  22. package/dist/commands/storage/create.js +1 -1
  23. package/dist/commands/storage/select.js +6 -8
  24. package/dist/commands/storage/show.js +2 -4
  25. package/dist/commands/storage/update.js +39 -22
  26. package/dist/commands/workflows/extend-lease.d.ts +1 -1
  27. package/dist/commands/workflows/extend-lease.js +21 -13
  28. package/dist/config/config-file.schema.d.ts +1 -2
  29. package/dist/config/config-file.schema.js +0 -1
  30. package/dist/config/config.schema.d.ts +1 -1
  31. package/dist/errors.d.ts +2 -0
  32. package/dist/errors.js +2 -0
  33. package/dist/hooks/finally/shutdown-blockchain.d.ts +1 -1
  34. package/dist/hooks/finally/shutdown-blockchain.js +1 -1
  35. package/dist/hooks/finally/unlock-config.d.ts +3 -0
  36. package/dist/hooks/finally/unlock-config.js +5 -0
  37. package/dist/hooks/init/init-container.d.ts +1 -1
  38. package/dist/hooks/init/init-container.js +2 -3
  39. package/dist/hooks/init/lock-config.d.ts +3 -0
  40. package/dist/hooks/init/lock-config.js +19 -0
  41. package/dist/hooks/prerun/auth.d.ts +3 -0
  42. package/dist/hooks/prerun/auth.js +70 -0
  43. package/dist/index.d.ts +1 -1
  44. package/dist/index.js +1 -1
  45. package/dist/interfaces/account-manager.interface.d.ts +1 -1
  46. package/dist/interfaces/config-manager.interface.d.ts +2 -2
  47. package/dist/lib/cli-instance-lock.d.ts +2 -0
  48. package/dist/lib/cli-instance-lock.js +37 -0
  49. package/dist/lib/container.d.ts +6 -4
  50. package/dist/lib/container.js +108 -38
  51. package/dist/logger.d.ts +1 -1
  52. package/dist/logger.js +4 -1
  53. package/dist/managers/account-manager.d.ts +7 -8
  54. package/dist/managers/account-manager.js +20 -45
  55. package/dist/managers/config-file-manager.d.ts +6 -7
  56. package/dist/managers/config-file-manager.js +35 -32
  57. package/dist/managers/config-manager.d.ts +5 -5
  58. package/dist/managers/config-manager.js +5 -2
  59. package/dist/middlewares/auth-middleware.d.ts +1 -1
  60. package/dist/services/auth.service.d.ts +10 -15
  61. package/dist/services/auth.service.js +71 -5
  62. package/dist/services/storage.service.d.ts +3 -3
  63. package/dist/services/storage.service.js +46 -19
  64. package/dist/utils/helper.d.ts +1 -0
  65. package/dist/utils/helper.js +15 -1
  66. package/dist/utils/prompt-flags.d.ts +20 -0
  67. package/dist/utils/prompt-flags.js +121 -0
  68. package/dist/utils/prompt.service.d.ts +16 -0
  69. package/dist/utils/prompt.service.js +75 -0
  70. package/dist/utils/tty.d.ts +1 -0
  71. package/dist/utils/tty.js +3 -0
  72. package/oclif.manifest.json +206 -242
  73. package/package.json +17 -24
  74. package/dist/commands/auth/login.d.ts +0 -12
  75. package/dist/commands/auth/login.js +0 -50
  76. package/dist/commands/auth/me.d.ts +0 -5
  77. package/dist/commands/auth/me.js +0 -16
  78. package/dist/commands/config/add.d.ts +0 -13
  79. package/dist/commands/config/add.js +0 -73
  80. package/dist/commands/config/base.d.ts +0 -16
  81. package/dist/commands/config/base.js +0 -78
  82. package/dist/commands/config/create.d.ts +0 -11
  83. package/dist/commands/config/create.js +0 -41
  84. package/dist/commands/config/delete.d.ts +0 -10
  85. package/dist/commands/config/delete.js +0 -25
  86. package/dist/commands/config/index.d.ts +0 -6
  87. package/dist/commands/config/index.js +0 -22
  88. package/dist/commands/config/list.d.ts +0 -6
  89. package/dist/commands/config/show.d.ts +0 -6
  90. package/dist/commands/config/show.js +0 -10
  91. package/dist/commands/config/use.d.ts +0 -6
  92. package/dist/commands/config/use.js +0 -27
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "commands": {
3
- "account:get-sppi": {
3
+ "account:forget": {
4
4
  "aliases": [],
5
5
  "args": {},
6
- "description": "Get SPPI (Super Protocol incentive tokens) ",
6
+ "description": "Purge all account details",
7
7
  "examples": [
8
- "<%= config.bin %> <%= command.id %>"
8
+ "<%= config.bin %> <%= command.id %>",
9
+ "<%= config.bin %> <%= command.id %> --name \"My Account\"",
10
+ "<%= config.bin %> <%= command.id %> --name \"My Account\" --force"
9
11
  ],
10
12
  "flags": {
11
13
  "json": {
@@ -17,47 +19,34 @@
17
19
  },
18
20
  "config": {
19
21
  "helpGroup": "GLOBAL",
22
+ "hidden": true,
20
23
  "name": "config",
21
24
  "required": false,
22
25
  "summary": "Specify config file.",
23
26
  "hasDynamicHelp": false,
24
27
  "multiple": false,
25
28
  "type": "option"
26
- }
27
- },
28
- "hasDynamicHelp": false,
29
- "hiddenAliases": [],
30
- "id": "account:get-sppi",
31
- "pluginAlias": "@super-protocol/sp-cli",
32
- "pluginName": "@super-protocol/sp-cli",
33
- "pluginType": "core",
34
- "strict": true,
35
- "enableJsonFlag": true,
36
- "isESM": true,
37
- "relativePath": [
38
- "dist",
39
- "commands",
40
- "account",
41
- "get-sppi.js"
42
- ]
43
- },
44
- "account:info": {
45
- "aliases": [],
46
- "args": {},
47
- "description": "Information about current authorized user",
48
- "flags": {
49
- "json": {
50
- "description": "Format output as json.",
29
+ },
30
+ "tty": {
51
31
  "helpGroup": "GLOBAL",
52
- "name": "json",
32
+ "name": "tty",
33
+ "required": false,
34
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
35
+ "allowNo": true,
36
+ "type": "boolean"
37
+ },
38
+ "force": {
39
+ "char": "f",
40
+ "description": "Force deletion without confirmation",
41
+ "name": "force",
53
42
  "allowNo": false,
54
43
  "type": "boolean"
55
44
  },
56
- "config": {
57
- "helpGroup": "GLOBAL",
58
- "name": "config",
59
- "required": false,
60
- "summary": "Specify config file.",
45
+ "name": {
46
+ "char": "n",
47
+ "description": "Configuration name to delete",
48
+ "name": "name",
49
+ "required": true,
61
50
  "hasDynamicHelp": false,
62
51
  "multiple": false,
63
52
  "type": "option"
@@ -65,28 +54,26 @@
65
54
  },
66
55
  "hasDynamicHelp": false,
67
56
  "hiddenAliases": [],
68
- "id": "account:info",
57
+ "id": "account:forget",
69
58
  "pluginAlias": "@super-protocol/sp-cli",
70
59
  "pluginName": "@super-protocol/sp-cli",
71
60
  "pluginType": "core",
72
61
  "strict": true,
73
- "enableJsonFlag": true,
62
+ "authenticate": false,
74
63
  "isESM": true,
75
64
  "relativePath": [
76
65
  "dist",
77
66
  "commands",
78
67
  "account",
79
- "info.js"
68
+ "forget.js"
80
69
  ]
81
70
  },
82
- "auth:login": {
83
- "aliases": [
84
- "login"
85
- ],
71
+ "account:get-sppi": {
72
+ "aliases": [],
86
73
  "args": {},
87
- "description": "Login to SuperProtocol (sign up or sign in).",
74
+ "description": "Get SPPI (Super Protocol incentive tokens) ",
88
75
  "examples": [
89
- "<%= config.bin %> <%= command.id %>\n"
76
+ "<%= config.bin %> <%= command.id %>"
90
77
  ],
91
78
  "flags": {
92
79
  "json": {
@@ -98,33 +85,42 @@
98
85
  },
99
86
  "config": {
100
87
  "helpGroup": "GLOBAL",
88
+ "hidden": true,
101
89
  "name": "config",
102
90
  "required": false,
103
91
  "summary": "Specify config file.",
104
92
  "hasDynamicHelp": false,
105
93
  "multiple": false,
106
94
  "type": "option"
95
+ },
96
+ "tty": {
97
+ "helpGroup": "GLOBAL",
98
+ "name": "tty",
99
+ "required": false,
100
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
101
+ "allowNo": true,
102
+ "type": "boolean"
107
103
  }
108
104
  },
109
105
  "hasDynamicHelp": false,
110
106
  "hiddenAliases": [],
111
- "id": "auth:login",
107
+ "id": "account:get-sppi",
112
108
  "pluginAlias": "@super-protocol/sp-cli",
113
109
  "pluginName": "@super-protocol/sp-cli",
114
110
  "pluginType": "core",
115
111
  "strict": true,
116
- "enableJsonFlag": true,
117
112
  "isESM": true,
118
113
  "relativePath": [
119
114
  "dist",
120
115
  "commands",
121
- "auth",
122
- "login.js"
116
+ "account",
117
+ "get-sppi.js"
123
118
  ]
124
119
  },
125
- "auth:me": {
120
+ "account:info": {
126
121
  "aliases": [],
127
122
  "args": {},
123
+ "description": "Information about current authorized user",
128
124
  "flags": {
129
125
  "json": {
130
126
  "description": "Format output as json.",
@@ -135,44 +131,50 @@
135
131
  },
136
132
  "config": {
137
133
  "helpGroup": "GLOBAL",
134
+ "hidden": true,
138
135
  "name": "config",
139
136
  "required": false,
140
137
  "summary": "Specify config file.",
141
138
  "hasDynamicHelp": false,
142
139
  "multiple": false,
143
140
  "type": "option"
141
+ },
142
+ "tty": {
143
+ "helpGroup": "GLOBAL",
144
+ "name": "tty",
145
+ "required": false,
146
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
147
+ "allowNo": true,
148
+ "type": "boolean"
149
+ },
150
+ "detail": {
151
+ "description": "Detailed information about Account",
152
+ "name": "detail",
153
+ "allowNo": false,
154
+ "type": "boolean"
144
155
  }
145
156
  },
146
157
  "hasDynamicHelp": false,
147
158
  "hiddenAliases": [],
148
- "id": "auth:me",
159
+ "id": "account:info",
149
160
  "pluginAlias": "@super-protocol/sp-cli",
150
161
  "pluginName": "@super-protocol/sp-cli",
151
162
  "pluginType": "core",
152
163
  "strict": true,
153
- "enableJsonFlag": true,
154
164
  "isESM": true,
155
165
  "relativePath": [
156
166
  "dist",
157
167
  "commands",
158
- "auth",
159
- "me.js"
168
+ "account",
169
+ "info.js"
160
170
  ]
161
171
  },
162
- "config:add": {
172
+ "account:list": {
163
173
  "aliases": [],
164
- "args": {
165
- "file": {
166
- "description": "Configuration file path to import",
167
- "name": "file",
168
- "required": false
169
- }
170
- },
171
- "description": "Import a configuration from a file",
174
+ "args": {},
175
+ "description": "List all Accounts",
172
176
  "examples": [
173
- "<%= config.bin %> <%= command.id %> ./my-config.json",
174
- "<%= config.bin %> <%= command.id %> ./my-config.json --name \"Imported\"",
175
- "Configuration files must follow this schema:\n\n {\n \"providerUrl\": \"https://api.dp.superprotocol.com\",\n \"name\": \"Some name\",\n \"account\": {\n \"address\": \"0x111222333444555....\",\n \"privateKey\": \"0x000011122233344555...\"\n }\n }"
177
+ "<%= config.bin %> <%= command.id %>"
176
178
  ],
177
179
  "flags": {
178
180
  "json": {
@@ -182,45 +184,50 @@
182
184
  "allowNo": false,
183
185
  "type": "boolean"
184
186
  },
185
- "name": {
186
- "char": "n",
187
- "description": "Custom name for the imported configuration",
188
- "name": "name",
187
+ "config": {
188
+ "helpGroup": "GLOBAL",
189
+ "hidden": true,
190
+ "name": "config",
191
+ "required": false,
192
+ "summary": "Specify config file.",
189
193
  "hasDynamicHelp": false,
190
194
  "multiple": false,
191
195
  "type": "option"
192
196
  },
193
- "yes": {
194
- "char": "y",
195
- "description": "Automatically switch to imported configuration",
196
- "name": "yes",
197
- "allowNo": false,
197
+ "tty": {
198
+ "helpGroup": "GLOBAL",
199
+ "name": "tty",
200
+ "required": false,
201
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
202
+ "allowNo": true,
198
203
  "type": "boolean"
199
204
  }
200
205
  },
201
206
  "hasDynamicHelp": false,
202
207
  "hiddenAliases": [],
203
- "id": "config:add",
208
+ "id": "account:list",
204
209
  "pluginAlias": "@super-protocol/sp-cli",
205
210
  "pluginName": "@super-protocol/sp-cli",
206
211
  "pluginType": "core",
207
212
  "strict": true,
208
213
  "enableJsonFlag": true,
214
+ "authenticate": false,
209
215
  "isESM": true,
210
216
  "relativePath": [
211
217
  "dist",
212
218
  "commands",
213
- "config",
214
- "add.js"
219
+ "account",
220
+ "list.js"
215
221
  ]
216
222
  },
217
- "config:create": {
218
- "aliases": [],
223
+ "account:login": {
224
+ "aliases": [
225
+ "login"
226
+ ],
219
227
  "args": {},
220
- "description": "Create a new configuration",
228
+ "description": "Login to SuperProtocol (sign up or sign in).",
221
229
  "examples": [
222
- "<%= config.bin %> <%= command.id %> --name \"My Config\"",
223
- "<%= config.bin %> <%= command.id %> --name \"Production\" --url \"https://api.dp.superprotocol.com\""
230
+ "<%= config.bin %> <%= command.id %>\n"
224
231
  ],
225
232
  "flags": {
226
233
  "json": {
@@ -230,18 +237,41 @@
230
237
  "allowNo": false,
231
238
  "type": "boolean"
232
239
  },
240
+ "config": {
241
+ "helpGroup": "GLOBAL",
242
+ "hidden": true,
243
+ "name": "config",
244
+ "required": false,
245
+ "summary": "Specify config file.",
246
+ "hasDynamicHelp": false,
247
+ "multiple": false,
248
+ "type": "option"
249
+ },
250
+ "tty": {
251
+ "helpGroup": "GLOBAL",
252
+ "name": "tty",
253
+ "required": false,
254
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
255
+ "allowNo": true,
256
+ "type": "boolean"
257
+ },
233
258
  "name": {
234
- "char": "n",
235
- "description": "Configuration name",
259
+ "description": "Account readable name",
236
260
  "name": "name",
237
- "required": true,
261
+ "hasDynamicHelp": false,
262
+ "multiple": false,
263
+ "type": "option"
264
+ },
265
+ "privateKey": {
266
+ "description": "Account private key used for authentication",
267
+ "name": "privateKey",
238
268
  "hasDynamicHelp": false,
239
269
  "multiple": false,
240
270
  "type": "option"
241
271
  },
242
272
  "url": {
243
- "char": "u",
244
273
  "description": "Provider base URL",
274
+ "hidden": true,
245
275
  "name": "url",
246
276
  "hasDynamicHelp": false,
247
277
  "multiple": false,
@@ -249,7 +279,7 @@
249
279
  },
250
280
  "yes": {
251
281
  "char": "y",
252
- "description": "Switch to new config",
282
+ "description": "Skip questions (generate keys when needed).",
253
283
  "name": "yes",
254
284
  "allowNo": false,
255
285
  "type": "boolean"
@@ -257,28 +287,26 @@
257
287
  },
258
288
  "hasDynamicHelp": false,
259
289
  "hiddenAliases": [],
260
- "id": "config:create",
290
+ "id": "account:login",
261
291
  "pluginAlias": "@super-protocol/sp-cli",
262
292
  "pluginName": "@super-protocol/sp-cli",
263
293
  "pluginType": "core",
264
294
  "strict": true,
265
- "enableJsonFlag": true,
295
+ "authenticate": false,
266
296
  "isESM": true,
267
297
  "relativePath": [
268
298
  "dist",
269
299
  "commands",
270
- "config",
271
- "create.js"
300
+ "account",
301
+ "login.js"
272
302
  ]
273
303
  },
274
- "config:delete": {
304
+ "account:switch": {
275
305
  "aliases": [],
276
306
  "args": {},
277
- "description": "Delete a configuration file",
307
+ "description": "Switch to a different account",
278
308
  "examples": [
279
- "<%= config.bin %> <%= command.id %>",
280
- "<%= config.bin %> <%= command.id %> --name \"My Config\"",
281
- "<%= config.bin %> <%= command.id %> --name \"My Config\" --force"
309
+ "<%= config.bin %> <%= command.id %>"
282
310
  ],
283
311
  "flags": {
284
312
  "json": {
@@ -288,169 +316,39 @@
288
316
  "allowNo": false,
289
317
  "type": "boolean"
290
318
  },
291
- "force": {
292
- "char": "f",
293
- "description": "Force deletion without confirmation",
294
- "name": "force",
295
- "allowNo": false,
296
- "type": "boolean"
297
- },
298
- "name": {
299
- "char": "n",
300
- "description": "Configuration name to delete",
301
- "name": "name",
319
+ "config": {
320
+ "helpGroup": "GLOBAL",
321
+ "hidden": true,
322
+ "name": "config",
323
+ "required": false,
324
+ "summary": "Specify config file.",
302
325
  "hasDynamicHelp": false,
303
326
  "multiple": false,
304
327
  "type": "option"
305
- }
306
- },
307
- "hasDynamicHelp": false,
308
- "hiddenAliases": [],
309
- "id": "config:delete",
310
- "pluginAlias": "@super-protocol/sp-cli",
311
- "pluginName": "@super-protocol/sp-cli",
312
- "pluginType": "core",
313
- "strict": true,
314
- "enableJsonFlag": true,
315
- "isESM": true,
316
- "relativePath": [
317
- "dist",
318
- "commands",
319
- "config",
320
- "delete.js"
321
- ]
322
- },
323
- "config": {
324
- "aliases": [],
325
- "args": {},
326
- "description": "Manage configuration configs",
327
- "examples": [
328
- "<%= config.bin %> <%= command.id %> show - Show current configuration details",
329
- "<%= config.bin %> <%= command.id %> list - List all configurations",
330
- "<%= config.bin %> <%= command.id %> use - Switch to a configuration",
331
- "<%= config.bin %> <%= command.id %> create --name \"My Config\" - Create new configuration",
332
- "<%= config.bin %> <%= command.id %> add ./config.json - Import configuration from file",
333
- "<%= config.bin %> <%= command.id %> delete - Delete a configuration"
334
- ],
335
- "flags": {
336
- "json": {
337
- "description": "Format output as json.",
338
- "helpGroup": "GLOBAL",
339
- "name": "json",
340
- "allowNo": false,
341
- "type": "boolean"
342
- }
343
- },
344
- "hasDynamicHelp": false,
345
- "hiddenAliases": [],
346
- "id": "config",
347
- "pluginAlias": "@super-protocol/sp-cli",
348
- "pluginName": "@super-protocol/sp-cli",
349
- "pluginType": "core",
350
- "strict": true,
351
- "enableJsonFlag": true,
352
- "isESM": true,
353
- "relativePath": [
354
- "dist",
355
- "commands",
356
- "config",
357
- "index.js"
358
- ]
359
- },
360
- "config:list": {
361
- "aliases": [],
362
- "args": {},
363
- "description": "List all configurations",
364
- "examples": [
365
- "<%= config.bin %> <%= command.id %>"
366
- ],
367
- "flags": {
368
- "json": {
369
- "description": "Format output as json.",
370
- "helpGroup": "GLOBAL",
371
- "name": "json",
372
- "allowNo": false,
373
- "type": "boolean"
374
- }
375
- },
376
- "hasDynamicHelp": false,
377
- "hiddenAliases": [],
378
- "id": "config:list",
379
- "pluginAlias": "@super-protocol/sp-cli",
380
- "pluginName": "@super-protocol/sp-cli",
381
- "pluginType": "core",
382
- "strict": true,
383
- "enableJsonFlag": true,
384
- "isESM": true,
385
- "relativePath": [
386
- "dist",
387
- "commands",
388
- "config",
389
- "list.js"
390
- ]
391
- },
392
- "config:show": {
393
- "aliases": [],
394
- "args": {},
395
- "description": "Show current configuration",
396
- "examples": [
397
- "<%= config.bin %> <%= command.id %>"
398
- ],
399
- "flags": {
400
- "json": {
401
- "description": "Format output as json.",
402
- "helpGroup": "GLOBAL",
403
- "name": "json",
404
- "allowNo": false,
405
- "type": "boolean"
406
- }
407
- },
408
- "hasDynamicHelp": false,
409
- "hiddenAliases": [],
410
- "id": "config:show",
411
- "pluginAlias": "@super-protocol/sp-cli",
412
- "pluginName": "@super-protocol/sp-cli",
413
- "pluginType": "core",
414
- "strict": true,
415
- "enableJsonFlag": true,
416
- "isESM": true,
417
- "relativePath": [
418
- "dist",
419
- "commands",
420
- "config",
421
- "show.js"
422
- ]
423
- },
424
- "config:use": {
425
- "aliases": [],
426
- "args": {},
427
- "description": "Switch to a different configuration file",
428
- "examples": [
429
- "<%= config.bin %> <%= command.id %>"
430
- ],
431
- "flags": {
432
- "json": {
433
- "description": "Format output as json.",
328
+ },
329
+ "tty": {
434
330
  "helpGroup": "GLOBAL",
435
- "name": "json",
436
- "allowNo": false,
331
+ "name": "tty",
332
+ "required": false,
333
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
334
+ "allowNo": true,
437
335
  "type": "boolean"
438
336
  }
439
337
  },
440
338
  "hasDynamicHelp": false,
441
339
  "hiddenAliases": [],
442
- "id": "config:use",
340
+ "id": "account:switch",
443
341
  "pluginAlias": "@super-protocol/sp-cli",
444
342
  "pluginName": "@super-protocol/sp-cli",
445
343
  "pluginType": "core",
446
344
  "strict": true,
447
- "enableJsonFlag": true,
345
+ "authenticate": false,
448
346
  "isESM": true,
449
347
  "relativePath": [
450
348
  "dist",
451
349
  "commands",
452
- "config",
453
- "use.js"
350
+ "account",
351
+ "switch.js"
454
352
  ]
455
353
  },
456
354
  "files:download": {
@@ -481,6 +379,7 @@
481
379
  },
482
380
  "config": {
483
381
  "helpGroup": "GLOBAL",
382
+ "hidden": true,
484
383
  "name": "config",
485
384
  "required": false,
486
385
  "summary": "Specify config file.",
@@ -488,6 +387,14 @@
488
387
  "multiple": false,
489
388
  "type": "option"
490
389
  },
390
+ "tty": {
391
+ "helpGroup": "GLOBAL",
392
+ "name": "tty",
393
+ "required": false,
394
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
395
+ "allowNo": true,
396
+ "type": "boolean"
397
+ },
491
398
  "maximum-concurrent": {
492
399
  "description": "Maximum concurrent pieces to download at once per transfer",
493
400
  "name": "maximum-concurrent",
@@ -505,6 +412,7 @@
505
412
  "pluginType": "core",
506
413
  "strict": true,
507
414
  "enableJsonFlag": true,
415
+ "authenticate": true,
508
416
  "help": "Download and decrypt a file from the remote storage to <localPath> using resource file <resourcePath>",
509
417
  "isESM": true,
510
418
  "relativePath": [
@@ -537,6 +445,7 @@
537
445
  },
538
446
  "config": {
539
447
  "helpGroup": "GLOBAL",
448
+ "hidden": true,
540
449
  "name": "config",
541
450
  "required": false,
542
451
  "summary": "Specify config file.",
@@ -544,6 +453,14 @@
544
453
  "multiple": false,
545
454
  "type": "option"
546
455
  },
456
+ "tty": {
457
+ "helpGroup": "GLOBAL",
458
+ "name": "tty",
459
+ "required": false,
460
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
461
+ "allowNo": true,
462
+ "type": "boolean"
463
+ },
547
464
  "filename": {
548
465
  "description": "The name of the resulting file/directory in the storage",
549
466
  "name": "filename",
@@ -600,6 +517,7 @@
600
517
  "pluginType": "core",
601
518
  "strict": true,
602
519
  "enableJsonFlag": true,
520
+ "authenticate": true,
603
521
  "isESM": true,
604
522
  "relativePath": [
605
523
  "dist",
@@ -627,6 +545,7 @@
627
545
  },
628
546
  "config": {
629
547
  "helpGroup": "GLOBAL",
548
+ "hidden": true,
630
549
  "name": "config",
631
550
  "required": false,
632
551
  "summary": "Specify config file.",
@@ -634,6 +553,14 @@
634
553
  "multiple": false,
635
554
  "type": "option"
636
555
  },
556
+ "tty": {
557
+ "helpGroup": "GLOBAL",
558
+ "name": "tty",
559
+ "required": false,
560
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
561
+ "allowNo": true,
562
+ "type": "boolean"
563
+ },
637
564
  "fromFile": {
638
565
  "aliases": [
639
566
  "fromFile"
@@ -684,12 +611,21 @@
684
611
  },
685
612
  "config": {
686
613
  "helpGroup": "GLOBAL",
614
+ "hidden": true,
687
615
  "name": "config",
688
616
  "required": false,
689
617
  "summary": "Specify config file.",
690
618
  "hasDynamicHelp": false,
691
619
  "multiple": false,
692
620
  "type": "option"
621
+ },
622
+ "tty": {
623
+ "helpGroup": "GLOBAL",
624
+ "name": "tty",
625
+ "required": false,
626
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
627
+ "allowNo": true,
628
+ "type": "boolean"
693
629
  }
694
630
  },
695
631
  "hasDynamicHelp": false,
@@ -724,12 +660,21 @@
724
660
  },
725
661
  "config": {
726
662
  "helpGroup": "GLOBAL",
663
+ "hidden": true,
727
664
  "name": "config",
728
665
  "required": false,
729
666
  "summary": "Specify config file.",
730
667
  "hasDynamicHelp": false,
731
668
  "multiple": false,
732
669
  "type": "option"
670
+ },
671
+ "tty": {
672
+ "helpGroup": "GLOBAL",
673
+ "name": "tty",
674
+ "required": false,
675
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
676
+ "allowNo": true,
677
+ "type": "boolean"
733
678
  }
734
679
  },
735
680
  "hasDynamicHelp": false,
@@ -765,6 +710,7 @@
765
710
  },
766
711
  "config": {
767
712
  "helpGroup": "GLOBAL",
713
+ "hidden": true,
768
714
  "name": "config",
769
715
  "required": false,
770
716
  "summary": "Specify config file.",
@@ -772,6 +718,14 @@
772
718
  "multiple": false,
773
719
  "type": "option"
774
720
  },
721
+ "tty": {
722
+ "helpGroup": "GLOBAL",
723
+ "name": "tty",
724
+ "required": false,
725
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
726
+ "allowNo": true,
727
+ "type": "boolean"
728
+ },
775
729
  "fromFile": {
776
730
  "char": "f",
777
731
  "description": "Path to a JSON file that contains UpdateStorageDto payload.",
@@ -829,6 +783,7 @@
829
783
  },
830
784
  "config": {
831
785
  "helpGroup": "GLOBAL",
786
+ "hidden": true,
832
787
  "name": "config",
833
788
  "required": false,
834
789
  "summary": "Specify config file.",
@@ -836,6 +791,14 @@
836
791
  "multiple": false,
837
792
  "type": "option"
838
793
  },
794
+ "tty": {
795
+ "helpGroup": "GLOBAL",
796
+ "name": "tty",
797
+ "required": false,
798
+ "summary": "Force or disable interactive mode (use --no-tty to disable).",
799
+ "allowNo": true,
800
+ "type": "boolean"
801
+ },
839
802
  "minutes": {
840
803
  "description": "Time to extend order in minutes (automatically calculates tokens)",
841
804
  "name": "minutes",
@@ -866,6 +829,7 @@
866
829
  "pluginType": "core",
867
830
  "strict": true,
868
831
  "enableJsonFlag": true,
832
+ "authenticate": true,
869
833
  "isESM": true,
870
834
  "relativePath": [
871
835
  "dist",
@@ -875,5 +839,5 @@
875
839
  ]
876
840
  }
877
841
  },
878
- "version": "0.0.6"
842
+ "version": "0.0.8"
879
843
  }