@super-protocol/sp-cli 0.0.4-beta.3 → 0.0.4-beta.4
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 +19 -19
- package/oclif.manifest.json +156 -156
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ $ npm install -g @super-protocol/sp-cli
|
|
|
21
21
|
$ sp COMMAND
|
|
22
22
|
running command...
|
|
23
23
|
$ sp (--version)
|
|
24
|
-
@super-protocol/sp-cli/0.0.4-beta.
|
|
24
|
+
@super-protocol/sp-cli/0.0.4-beta.4 linux-x64 node-v22.21.1
|
|
25
25
|
$ sp --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ sp COMMAND
|
|
@@ -71,7 +71,7 @@ EXAMPLES
|
|
|
71
71
|
$ sp account get-sppi
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
_See code: [src/commands/account/get-sppi.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
74
|
+
_See code: [src/commands/account/get-sppi.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/account/get-sppi.ts)_
|
|
75
75
|
|
|
76
76
|
## `sp account info`
|
|
77
77
|
|
|
@@ -89,7 +89,7 @@ DESCRIPTION
|
|
|
89
89
|
Information about current authorized user
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
_See code: [src/commands/account/info.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
92
|
+
_See code: [src/commands/account/info.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/account/info.ts)_
|
|
93
93
|
|
|
94
94
|
## `sp auth login`
|
|
95
95
|
|
|
@@ -113,7 +113,7 @@ EXAMPLES
|
|
|
113
113
|
$ sp auth login
|
|
114
114
|
```
|
|
115
115
|
|
|
116
|
-
_See code: [src/commands/auth/login.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
116
|
+
_See code: [src/commands/auth/login.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/auth/login.ts)_
|
|
117
117
|
|
|
118
118
|
## `sp auth me`
|
|
119
119
|
|
|
@@ -126,7 +126,7 @@ GLOBAL FLAGS
|
|
|
126
126
|
--json Format output as json.
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
-
_See code: [src/commands/auth/me.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
129
|
+
_See code: [src/commands/auth/me.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/auth/me.ts)_
|
|
130
130
|
|
|
131
131
|
## `sp autocomplete [SHELL]`
|
|
132
132
|
|
|
@@ -187,7 +187,7 @@ EXAMPLES
|
|
|
187
187
|
$ sp config delete - Delete a configuration
|
|
188
188
|
```
|
|
189
189
|
|
|
190
|
-
_See code: [src/commands/config/index.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
190
|
+
_See code: [src/commands/config/index.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/config/index.ts)_
|
|
191
191
|
|
|
192
192
|
## `sp config add [FILE]`
|
|
193
193
|
|
|
@@ -226,7 +226,7 @@ EXAMPLES
|
|
|
226
226
|
}
|
|
227
227
|
```
|
|
228
228
|
|
|
229
|
-
_See code: [src/commands/config/add.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
229
|
+
_See code: [src/commands/config/add.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/config/add.ts)_
|
|
230
230
|
|
|
231
231
|
## `sp config create`
|
|
232
232
|
|
|
@@ -253,7 +253,7 @@ EXAMPLES
|
|
|
253
253
|
$ sp config create --name "Production" --url "https://api.dp.superprotocol.com"
|
|
254
254
|
```
|
|
255
255
|
|
|
256
|
-
_See code: [src/commands/config/create.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
256
|
+
_See code: [src/commands/config/create.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/config/create.ts)_
|
|
257
257
|
|
|
258
258
|
## `sp config delete`
|
|
259
259
|
|
|
@@ -281,7 +281,7 @@ EXAMPLES
|
|
|
281
281
|
$ sp config delete --name "My Config" --force
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
-
_See code: [src/commands/config/delete.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
284
|
+
_See code: [src/commands/config/delete.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/config/delete.ts)_
|
|
285
285
|
|
|
286
286
|
## `sp config list`
|
|
287
287
|
|
|
@@ -301,7 +301,7 @@ EXAMPLES
|
|
|
301
301
|
$ sp config list
|
|
302
302
|
```
|
|
303
303
|
|
|
304
|
-
_See code: [src/commands/config/list.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
304
|
+
_See code: [src/commands/config/list.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/config/list.ts)_
|
|
305
305
|
|
|
306
306
|
## `sp config show`
|
|
307
307
|
|
|
@@ -321,7 +321,7 @@ EXAMPLES
|
|
|
321
321
|
$ sp config show
|
|
322
322
|
```
|
|
323
323
|
|
|
324
|
-
_See code: [src/commands/config/show.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
324
|
+
_See code: [src/commands/config/show.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/config/show.ts)_
|
|
325
325
|
|
|
326
326
|
## `sp config use`
|
|
327
327
|
|
|
@@ -341,7 +341,7 @@ EXAMPLES
|
|
|
341
341
|
$ sp config use
|
|
342
342
|
```
|
|
343
343
|
|
|
344
|
-
_See code: [src/commands/config/use.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
344
|
+
_See code: [src/commands/config/use.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/config/use.ts)_
|
|
345
345
|
|
|
346
346
|
## `sp files download RESOURCEFILE LOCALDIRECTORY`
|
|
347
347
|
|
|
@@ -369,7 +369,7 @@ EXAMPLES
|
|
|
369
369
|
$ sp files download ./resource.json ./pathToDownload
|
|
370
370
|
```
|
|
371
371
|
|
|
372
|
-
_See code: [src/commands/files/download.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
372
|
+
_See code: [src/commands/files/download.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/files/download.ts)_
|
|
373
373
|
|
|
374
374
|
## `sp files upload PATH`
|
|
375
375
|
|
|
@@ -403,7 +403,7 @@ EXAMPLES
|
|
|
403
403
|
$ sp files upload ./file.txt
|
|
404
404
|
```
|
|
405
405
|
|
|
406
|
-
_See code: [src/commands/files/upload.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
406
|
+
_See code: [src/commands/files/upload.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/files/upload.ts)_
|
|
407
407
|
|
|
408
408
|
## `sp help [COMMAND]`
|
|
409
409
|
|
|
@@ -474,7 +474,7 @@ EXAMPLES
|
|
|
474
474
|
$ sp storage create --not-default
|
|
475
475
|
```
|
|
476
476
|
|
|
477
|
-
_See code: [src/commands/storage/create.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
477
|
+
_See code: [src/commands/storage/create.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/storage/create.ts)_
|
|
478
478
|
|
|
479
479
|
## `sp storage select`
|
|
480
480
|
|
|
@@ -495,7 +495,7 @@ EXAMPLES
|
|
|
495
495
|
$ sp storage select
|
|
496
496
|
```
|
|
497
497
|
|
|
498
|
-
_See code: [src/commands/storage/select.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
498
|
+
_See code: [src/commands/storage/select.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/storage/select.ts)_
|
|
499
499
|
|
|
500
500
|
## `sp storage show`
|
|
501
501
|
|
|
@@ -516,7 +516,7 @@ EXAMPLES
|
|
|
516
516
|
$ sp storage show
|
|
517
517
|
```
|
|
518
518
|
|
|
519
|
-
_See code: [src/commands/storage/show.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
519
|
+
_See code: [src/commands/storage/show.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/storage/show.ts)_
|
|
520
520
|
|
|
521
521
|
## `sp storage update`
|
|
522
522
|
|
|
@@ -543,7 +543,7 @@ EXAMPLES
|
|
|
543
543
|
$ sp storage update --id=2de3e3a4-0000-1111-2222-333344445555
|
|
544
544
|
```
|
|
545
545
|
|
|
546
|
-
_See code: [src/commands/storage/update.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
546
|
+
_See code: [src/commands/storage/update.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/storage/update.ts)_
|
|
547
547
|
|
|
548
548
|
## `sp workflows extend-lease ORDERID`
|
|
549
549
|
|
|
@@ -576,5 +576,5 @@ EXAMPLES
|
|
|
576
576
|
$ sp workflows extend-lease <orderId> --sppi 2 --yes
|
|
577
577
|
```
|
|
578
578
|
|
|
579
|
-
_See code: [src/commands/workflows/extend-lease.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.
|
|
579
|
+
_See code: [src/commands/workflows/extend-lease.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.4-beta.4/src/commands/workflows/extend-lease.ts)_
|
|
580
580
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -159,161 +159,6 @@
|
|
|
159
159
|
"me.js"
|
|
160
160
|
]
|
|
161
161
|
},
|
|
162
|
-
"files:download": {
|
|
163
|
-
"aliases": [],
|
|
164
|
-
"args": {
|
|
165
|
-
"resourceFile": {
|
|
166
|
-
"description": "Path to a resource file",
|
|
167
|
-
"name": "resourceFile",
|
|
168
|
-
"required": true
|
|
169
|
-
},
|
|
170
|
-
"localDirectory": {
|
|
171
|
-
"description": "Path to save downloaded file",
|
|
172
|
-
"name": "localDirectory",
|
|
173
|
-
"required": true
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
"description": "Download file or directory described in resource file",
|
|
177
|
-
"examples": [
|
|
178
|
-
"<%= config.bin %> <%= command.id %> ./resource.json ./pathToDownload "
|
|
179
|
-
],
|
|
180
|
-
"flags": {
|
|
181
|
-
"json": {
|
|
182
|
-
"description": "Format output as json.",
|
|
183
|
-
"helpGroup": "GLOBAL",
|
|
184
|
-
"name": "json",
|
|
185
|
-
"allowNo": false,
|
|
186
|
-
"type": "boolean"
|
|
187
|
-
},
|
|
188
|
-
"config": {
|
|
189
|
-
"helpGroup": "GLOBAL",
|
|
190
|
-
"name": "config",
|
|
191
|
-
"required": false,
|
|
192
|
-
"summary": "Specify config file.",
|
|
193
|
-
"hasDynamicHelp": false,
|
|
194
|
-
"multiple": false,
|
|
195
|
-
"type": "option"
|
|
196
|
-
},
|
|
197
|
-
"maximum-concurrent": {
|
|
198
|
-
"description": "Maximum concurrent pieces to download at once per transfer",
|
|
199
|
-
"name": "maximum-concurrent",
|
|
200
|
-
"default": 1,
|
|
201
|
-
"hasDynamicHelp": false,
|
|
202
|
-
"multiple": false,
|
|
203
|
-
"type": "option"
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
"hasDynamicHelp": false,
|
|
207
|
-
"hiddenAliases": [],
|
|
208
|
-
"id": "files:download",
|
|
209
|
-
"pluginAlias": "@super-protocol/sp-cli",
|
|
210
|
-
"pluginName": "@super-protocol/sp-cli",
|
|
211
|
-
"pluginType": "core",
|
|
212
|
-
"strict": true,
|
|
213
|
-
"enableJsonFlag": true,
|
|
214
|
-
"help": "Download and decrypt a file from the remote storage to <localPath> using resource file <resourcePath>",
|
|
215
|
-
"isESM": true,
|
|
216
|
-
"relativePath": [
|
|
217
|
-
"dist",
|
|
218
|
-
"commands",
|
|
219
|
-
"files",
|
|
220
|
-
"download.js"
|
|
221
|
-
]
|
|
222
|
-
},
|
|
223
|
-
"files:upload": {
|
|
224
|
-
"aliases": [],
|
|
225
|
-
"args": {
|
|
226
|
-
"path": {
|
|
227
|
-
"description": "file or directory to upload",
|
|
228
|
-
"name": "path",
|
|
229
|
-
"required": true
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
"description": "Upload file or directory to remote storage",
|
|
233
|
-
"examples": [
|
|
234
|
-
"<%= config.bin %> <%= command.id %> ./file.txt"
|
|
235
|
-
],
|
|
236
|
-
"flags": {
|
|
237
|
-
"json": {
|
|
238
|
-
"description": "Format output as json.",
|
|
239
|
-
"helpGroup": "GLOBAL",
|
|
240
|
-
"name": "json",
|
|
241
|
-
"allowNo": false,
|
|
242
|
-
"type": "boolean"
|
|
243
|
-
},
|
|
244
|
-
"config": {
|
|
245
|
-
"helpGroup": "GLOBAL",
|
|
246
|
-
"name": "config",
|
|
247
|
-
"required": false,
|
|
248
|
-
"summary": "Specify config file.",
|
|
249
|
-
"hasDynamicHelp": false,
|
|
250
|
-
"multiple": false,
|
|
251
|
-
"type": "option"
|
|
252
|
-
},
|
|
253
|
-
"filename": {
|
|
254
|
-
"description": "The name of the resulting file/directory in the storage",
|
|
255
|
-
"name": "filename",
|
|
256
|
-
"required": false,
|
|
257
|
-
"hasDynamicHelp": false,
|
|
258
|
-
"multiple": false,
|
|
259
|
-
"type": "option"
|
|
260
|
-
},
|
|
261
|
-
"maximum-concurrent": {
|
|
262
|
-
"description": "Maximum concurrent pieces to upload at once per transfer",
|
|
263
|
-
"name": "maximum-concurrent",
|
|
264
|
-
"default": 1,
|
|
265
|
-
"hasDynamicHelp": false,
|
|
266
|
-
"multiple": false,
|
|
267
|
-
"type": "option"
|
|
268
|
-
},
|
|
269
|
-
"metadata": {
|
|
270
|
-
"description": "Path to a metadata file for adding fields to the resource file",
|
|
271
|
-
"name": "metadata",
|
|
272
|
-
"required": false,
|
|
273
|
-
"hasDynamicHelp": false,
|
|
274
|
-
"multiple": false,
|
|
275
|
-
"type": "option"
|
|
276
|
-
},
|
|
277
|
-
"output": {
|
|
278
|
-
"description": "Path to save resource file that is used to access the uploaded file",
|
|
279
|
-
"name": "output",
|
|
280
|
-
"required": false,
|
|
281
|
-
"default": "resource.json",
|
|
282
|
-
"hasDynamicHelp": false,
|
|
283
|
-
"multiple": false,
|
|
284
|
-
"type": "option"
|
|
285
|
-
},
|
|
286
|
-
"skip-encryption": {
|
|
287
|
-
"description": "Skip file encryption before upload",
|
|
288
|
-
"name": "skip-encryption",
|
|
289
|
-
"required": false,
|
|
290
|
-
"allowNo": false,
|
|
291
|
-
"type": "boolean"
|
|
292
|
-
},
|
|
293
|
-
"sync": {
|
|
294
|
-
"description": "Sync mode: delete files in target that don't exist in source",
|
|
295
|
-
"name": "sync",
|
|
296
|
-
"required": false,
|
|
297
|
-
"allowNo": false,
|
|
298
|
-
"type": "boolean"
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
"hasDynamicHelp": false,
|
|
302
|
-
"hiddenAliases": [],
|
|
303
|
-
"id": "files:upload",
|
|
304
|
-
"pluginAlias": "@super-protocol/sp-cli",
|
|
305
|
-
"pluginName": "@super-protocol/sp-cli",
|
|
306
|
-
"pluginType": "core",
|
|
307
|
-
"strict": true,
|
|
308
|
-
"enableJsonFlag": true,
|
|
309
|
-
"isESM": true,
|
|
310
|
-
"relativePath": [
|
|
311
|
-
"dist",
|
|
312
|
-
"commands",
|
|
313
|
-
"files",
|
|
314
|
-
"upload.js"
|
|
315
|
-
]
|
|
316
|
-
},
|
|
317
162
|
"config:add": {
|
|
318
163
|
"aliases": [],
|
|
319
164
|
"args": {
|
|
@@ -873,7 +718,162 @@
|
|
|
873
718
|
"workflows",
|
|
874
719
|
"extend-lease.js"
|
|
875
720
|
]
|
|
721
|
+
},
|
|
722
|
+
"files:download": {
|
|
723
|
+
"aliases": [],
|
|
724
|
+
"args": {
|
|
725
|
+
"resourceFile": {
|
|
726
|
+
"description": "Path to a resource file",
|
|
727
|
+
"name": "resourceFile",
|
|
728
|
+
"required": true
|
|
729
|
+
},
|
|
730
|
+
"localDirectory": {
|
|
731
|
+
"description": "Path to save downloaded file",
|
|
732
|
+
"name": "localDirectory",
|
|
733
|
+
"required": true
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
"description": "Download file or directory described in resource file",
|
|
737
|
+
"examples": [
|
|
738
|
+
"<%= config.bin %> <%= command.id %> ./resource.json ./pathToDownload "
|
|
739
|
+
],
|
|
740
|
+
"flags": {
|
|
741
|
+
"json": {
|
|
742
|
+
"description": "Format output as json.",
|
|
743
|
+
"helpGroup": "GLOBAL",
|
|
744
|
+
"name": "json",
|
|
745
|
+
"allowNo": false,
|
|
746
|
+
"type": "boolean"
|
|
747
|
+
},
|
|
748
|
+
"config": {
|
|
749
|
+
"helpGroup": "GLOBAL",
|
|
750
|
+
"name": "config",
|
|
751
|
+
"required": false,
|
|
752
|
+
"summary": "Specify config file.",
|
|
753
|
+
"hasDynamicHelp": false,
|
|
754
|
+
"multiple": false,
|
|
755
|
+
"type": "option"
|
|
756
|
+
},
|
|
757
|
+
"maximum-concurrent": {
|
|
758
|
+
"description": "Maximum concurrent pieces to download at once per transfer",
|
|
759
|
+
"name": "maximum-concurrent",
|
|
760
|
+
"default": 1,
|
|
761
|
+
"hasDynamicHelp": false,
|
|
762
|
+
"multiple": false,
|
|
763
|
+
"type": "option"
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
"hasDynamicHelp": false,
|
|
767
|
+
"hiddenAliases": [],
|
|
768
|
+
"id": "files:download",
|
|
769
|
+
"pluginAlias": "@super-protocol/sp-cli",
|
|
770
|
+
"pluginName": "@super-protocol/sp-cli",
|
|
771
|
+
"pluginType": "core",
|
|
772
|
+
"strict": true,
|
|
773
|
+
"enableJsonFlag": true,
|
|
774
|
+
"help": "Download and decrypt a file from the remote storage to <localPath> using resource file <resourcePath>",
|
|
775
|
+
"isESM": true,
|
|
776
|
+
"relativePath": [
|
|
777
|
+
"dist",
|
|
778
|
+
"commands",
|
|
779
|
+
"files",
|
|
780
|
+
"download.js"
|
|
781
|
+
]
|
|
782
|
+
},
|
|
783
|
+
"files:upload": {
|
|
784
|
+
"aliases": [],
|
|
785
|
+
"args": {
|
|
786
|
+
"path": {
|
|
787
|
+
"description": "file or directory to upload",
|
|
788
|
+
"name": "path",
|
|
789
|
+
"required": true
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
"description": "Upload file or directory to remote storage",
|
|
793
|
+
"examples": [
|
|
794
|
+
"<%= config.bin %> <%= command.id %> ./file.txt"
|
|
795
|
+
],
|
|
796
|
+
"flags": {
|
|
797
|
+
"json": {
|
|
798
|
+
"description": "Format output as json.",
|
|
799
|
+
"helpGroup": "GLOBAL",
|
|
800
|
+
"name": "json",
|
|
801
|
+
"allowNo": false,
|
|
802
|
+
"type": "boolean"
|
|
803
|
+
},
|
|
804
|
+
"config": {
|
|
805
|
+
"helpGroup": "GLOBAL",
|
|
806
|
+
"name": "config",
|
|
807
|
+
"required": false,
|
|
808
|
+
"summary": "Specify config file.",
|
|
809
|
+
"hasDynamicHelp": false,
|
|
810
|
+
"multiple": false,
|
|
811
|
+
"type": "option"
|
|
812
|
+
},
|
|
813
|
+
"filename": {
|
|
814
|
+
"description": "The name of the resulting file/directory in the storage",
|
|
815
|
+
"name": "filename",
|
|
816
|
+
"required": false,
|
|
817
|
+
"hasDynamicHelp": false,
|
|
818
|
+
"multiple": false,
|
|
819
|
+
"type": "option"
|
|
820
|
+
},
|
|
821
|
+
"maximum-concurrent": {
|
|
822
|
+
"description": "Maximum concurrent pieces to upload at once per transfer",
|
|
823
|
+
"name": "maximum-concurrent",
|
|
824
|
+
"default": 1,
|
|
825
|
+
"hasDynamicHelp": false,
|
|
826
|
+
"multiple": false,
|
|
827
|
+
"type": "option"
|
|
828
|
+
},
|
|
829
|
+
"metadata": {
|
|
830
|
+
"description": "Path to a metadata file for adding fields to the resource file",
|
|
831
|
+
"name": "metadata",
|
|
832
|
+
"required": false,
|
|
833
|
+
"hasDynamicHelp": false,
|
|
834
|
+
"multiple": false,
|
|
835
|
+
"type": "option"
|
|
836
|
+
},
|
|
837
|
+
"output": {
|
|
838
|
+
"description": "Path to save resource file that is used to access the uploaded file",
|
|
839
|
+
"name": "output",
|
|
840
|
+
"required": false,
|
|
841
|
+
"default": "resource.json",
|
|
842
|
+
"hasDynamicHelp": false,
|
|
843
|
+
"multiple": false,
|
|
844
|
+
"type": "option"
|
|
845
|
+
},
|
|
846
|
+
"skip-encryption": {
|
|
847
|
+
"description": "Skip file encryption before upload",
|
|
848
|
+
"name": "skip-encryption",
|
|
849
|
+
"required": false,
|
|
850
|
+
"allowNo": false,
|
|
851
|
+
"type": "boolean"
|
|
852
|
+
},
|
|
853
|
+
"sync": {
|
|
854
|
+
"description": "Sync mode: delete files in target that don't exist in source",
|
|
855
|
+
"name": "sync",
|
|
856
|
+
"required": false,
|
|
857
|
+
"allowNo": false,
|
|
858
|
+
"type": "boolean"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
"hasDynamicHelp": false,
|
|
862
|
+
"hiddenAliases": [],
|
|
863
|
+
"id": "files:upload",
|
|
864
|
+
"pluginAlias": "@super-protocol/sp-cli",
|
|
865
|
+
"pluginName": "@super-protocol/sp-cli",
|
|
866
|
+
"pluginType": "core",
|
|
867
|
+
"strict": true,
|
|
868
|
+
"enableJsonFlag": true,
|
|
869
|
+
"isESM": true,
|
|
870
|
+
"relativePath": [
|
|
871
|
+
"dist",
|
|
872
|
+
"commands",
|
|
873
|
+
"files",
|
|
874
|
+
"upload.js"
|
|
875
|
+
]
|
|
876
876
|
}
|
|
877
877
|
},
|
|
878
|
-
"version": "0.0.4-beta.
|
|
878
|
+
"version": "0.0.4-beta.4"
|
|
879
879
|
}
|