@super-protocol/sp-cli 0.0.2-beta.1 → 0.0.2-beta.10

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 (47) hide show
  1. package/README.md +103 -321
  2. package/dist/commands/account/info.d.ts +21 -0
  3. package/dist/commands/account/info.js +43 -0
  4. package/dist/commands/auth/login.d.ts +1 -10
  5. package/dist/commands/auth/login.js +15 -84
  6. package/dist/commands/base.d.ts +2 -4
  7. package/dist/commands/base.js +8 -10
  8. package/dist/commands/config/add.js +9 -5
  9. package/dist/commands/config/base.d.ts +4 -3
  10. package/dist/commands/config/base.js +12 -14
  11. package/dist/commands/config/create.js +4 -4
  12. package/dist/commands/config/list.js +2 -2
  13. package/dist/commands/config/use.js +5 -3
  14. package/dist/commands/files/download.d.ts +15 -0
  15. package/dist/commands/files/download.js +53 -0
  16. package/dist/commands/files/upload.d.ts +18 -0
  17. package/dist/commands/files/upload.js +77 -0
  18. package/dist/commands/storage/base.d.ts +5 -0
  19. package/dist/commands/storage/base.js +113 -2
  20. package/dist/commands/storage/create.d.ts +0 -4
  21. package/dist/commands/storage/create.js +0 -116
  22. package/dist/commands/storage/select.js +12 -10
  23. package/dist/commands/storage/update.d.ts +0 -2
  24. package/dist/commands/storage/update.js +35 -87
  25. package/dist/config/config-file.schema.d.ts +4 -4
  26. package/dist/config/config-file.schema.js +1 -1
  27. package/dist/config/config.schema.d.ts +16 -16
  28. package/dist/config/config.schema.js +1 -10
  29. package/dist/config/resource.schema.d.ts +31 -0
  30. package/dist/config/resource.schema.js +14 -0
  31. package/dist/constants.d.ts +1 -0
  32. package/dist/constants.js +1 -0
  33. package/dist/lib/container.d.ts +4 -6
  34. package/dist/lib/container.js +21 -21
  35. package/dist/managers/account-manager.js +13 -3
  36. package/dist/managers/config-file-manager.d.ts +1 -1
  37. package/dist/managers/config-file-manager.js +13 -8
  38. package/dist/services/auth.service.d.ts +24 -0
  39. package/dist/services/auth.service.js +93 -0
  40. package/dist/services/storage.service.d.ts +44 -7
  41. package/dist/services/storage.service.js +207 -12
  42. package/dist/utils/helper.d.ts +5 -0
  43. package/dist/utils/helper.js +22 -0
  44. package/dist/utils/progress.d.ts +8 -0
  45. package/dist/utils/progress.js +27 -0
  46. package/oclif.manifest.json +180 -184
  47. package/package.json +8 -7
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.2-beta.1 linux-x64 node-v22.21.1
24
+ @super-protocol/sp-cli/0.0.2-beta.10 linux-x64 node-v22.21.1
25
25
  $ sp --help [COMMAND]
26
26
  USAGE
27
27
  $ sp COMMAND
@@ -30,6 +30,7 @@ USAGE
30
30
  <!-- usagestop -->
31
31
  # Commands
32
32
  <!-- commands -->
33
+ * [`sp account info`](#sp-account-info)
33
34
  * [`sp auth login`](#sp-auth-login)
34
35
  * [`sp auth me`](#sp-auth-me)
35
36
  * [`sp base`](#sp-base)
@@ -41,71 +42,77 @@ USAGE
41
42
  * [`sp config list`](#sp-config-list)
42
43
  * [`sp config show`](#sp-config-show)
43
44
  * [`sp config use`](#sp-config-use)
45
+ * [`sp files download RESOURCEFILE LOCALDIRECTORY`](#sp-files-download-resourcefile-localdirectory)
46
+ * [`sp files upload PATH`](#sp-files-upload-path)
44
47
  * [`sp help [COMMAND]`](#sp-help-command)
45
- * [`sp plugins`](#sp-plugins)
46
- * [`sp plugins add PLUGIN`](#sp-plugins-add-plugin)
47
- * [`sp plugins:inspect PLUGIN...`](#sp-pluginsinspect-plugin)
48
- * [`sp plugins install PLUGIN`](#sp-plugins-install-plugin)
49
- * [`sp plugins link PATH`](#sp-plugins-link-path)
50
- * [`sp plugins remove [PLUGIN]`](#sp-plugins-remove-plugin)
51
- * [`sp plugins reset`](#sp-plugins-reset)
52
- * [`sp plugins uninstall [PLUGIN]`](#sp-plugins-uninstall-plugin)
53
- * [`sp plugins unlink [PLUGIN]`](#sp-plugins-unlink-plugin)
54
- * [`sp plugins update`](#sp-plugins-update)
48
+ * [`sp login`](#sp-login)
55
49
  * [`sp storage base`](#sp-storage-base)
56
50
  * [`sp storage create`](#sp-storage-create)
57
51
  * [`sp storage select`](#sp-storage-select)
58
52
  * [`sp storage update`](#sp-storage-update)
59
53
 
54
+ ## `sp account info`
55
+
56
+ ```
57
+ USAGE
58
+ $ sp account info [--json] [--config <value>]
59
+
60
+ GLOBAL FLAGS
61
+ --config=<value> Specify config file.
62
+ --json Format output as json.
63
+ ```
64
+
65
+ _See code: [src/commands/account/info.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/account/info.ts)_
66
+
60
67
  ## `sp auth login`
61
68
 
62
69
  Authorization
63
70
 
64
71
  ```
65
72
  USAGE
66
- $ sp auth login [--json] [--config <value>] [--url <value>]
73
+ $ sp auth login [--json] [--config <value>]
67
74
 
68
75
  GLOBAL FLAGS
69
76
  --config=<value> Specify config file.
70
77
  --json Format output as json.
71
- --url=<value> Specify provider base URL.
72
78
 
73
79
  DESCRIPTION
74
80
  Authorization
75
81
 
82
+ ALIASES
83
+ $ sp login
84
+
76
85
  EXAMPLES
77
86
  $ sp auth login
78
87
  ```
79
88
 
80
- _See code: [src/commands/auth/login.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/auth/login.ts)_
89
+ _See code: [src/commands/auth/login.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/auth/login.ts)_
81
90
 
82
91
  ## `sp auth me`
83
92
 
84
93
  ```
85
94
  USAGE
86
- $ sp auth me [--json] [--config <value>] [--url <value>]
95
+ $ sp auth me [--json] [--config <value>]
87
96
 
88
97
  GLOBAL FLAGS
89
98
  --config=<value> Specify config file.
90
99
  --json Format output as json.
91
- --url=<value> Specify provider base URL.
92
100
  ```
93
101
 
94
- _See code: [src/commands/auth/me.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/auth/me.ts)_
102
+ _See code: [src/commands/auth/me.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/auth/me.ts)_
95
103
 
96
104
  ## `sp base`
97
105
 
98
106
  ```
99
107
  USAGE
100
- $ sp base [--json] [--config <value>] [--url <value>]
108
+ $ sp base [--json] [--config <value>]
101
109
 
102
110
  GLOBAL FLAGS
103
111
  --config=<value> Specify config file.
104
112
  --json Format output as json.
105
- --url=<value> Specify provider base URL.
106
113
  ```
107
114
 
108
- _See code: [src/commands/base.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/base.ts)_
115
+ _See code: [src/commands/base.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/base.ts)_
109
116
 
110
117
  ## `sp config`
111
118
 
@@ -113,12 +120,10 @@ Manage configuration configs
113
120
 
114
121
  ```
115
122
  USAGE
116
- $ sp config [--json] [--config <value>] [--url <value>]
123
+ $ sp config [--json]
117
124
 
118
125
  GLOBAL FLAGS
119
- --config=<value> Specify config file.
120
- --json Format output as json.
121
- --url=<value> Specify provider base URL.
126
+ --json Format output as json.
122
127
 
123
128
  DESCRIPTION
124
129
  Manage configuration configs
@@ -137,7 +142,7 @@ EXAMPLES
137
142
  $ sp config delete - Delete a configuration
138
143
  ```
139
144
 
140
- _See code: [src/commands/config/index.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/config/index.ts)_
145
+ _See code: [src/commands/config/index.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/config/index.ts)_
141
146
 
142
147
  ## `sp config add [FILE]`
143
148
 
@@ -145,7 +150,7 @@ Import a configuration from a file
145
150
 
146
151
  ```
147
152
  USAGE
148
- $ sp config add [FILE] [--json] [--config <value>] [--url <value>] [-n <value>] [-y]
153
+ $ sp config add [FILE] [--json] [-n <value>] [-y]
149
154
 
150
155
  ARGUMENTS
151
156
  [FILE] Configuration file path to import
@@ -155,9 +160,7 @@ FLAGS
155
160
  -y, --yes Automatically switch to imported configuration
156
161
 
157
162
  GLOBAL FLAGS
158
- --config=<value> Specify config file.
159
- --json Format output as json.
160
- --url=<value> Specify provider base URL.
163
+ --json Format output as json.
161
164
 
162
165
  DESCRIPTION
163
166
  Import a configuration from a file
@@ -178,21 +181,19 @@ EXAMPLES
178
181
  }
179
182
  ```
180
183
 
181
- _See code: [src/commands/config/add.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/config/add.ts)_
184
+ _See code: [src/commands/config/add.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/config/add.ts)_
182
185
 
183
186
  ## `sp config base`
184
187
 
185
188
  ```
186
189
  USAGE
187
- $ sp config base [--json] [--config <value>] [--url <value>]
190
+ $ sp config base [--json]
188
191
 
189
192
  GLOBAL FLAGS
190
- --config=<value> Specify config file.
191
- --json Format output as json.
192
- --url=<value> Specify provider base URL.
193
+ --json Format output as json.
193
194
  ```
194
195
 
195
- _See code: [src/commands/config/base.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/config/base.ts)_
196
+ _See code: [src/commands/config/base.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/config/base.ts)_
196
197
 
197
198
  ## `sp config create`
198
199
 
@@ -200,7 +201,7 @@ Create a new configuration
200
201
 
201
202
  ```
202
203
  USAGE
203
- $ sp config create -n <value> [--json] [--config <value>] [-u <value>] [-y]
204
+ $ sp config create -n <value> [--json] [-u <value>] [-y]
204
205
 
205
206
  FLAGS
206
207
  -n, --name=<value> (required) Configuration name
@@ -208,8 +209,7 @@ FLAGS
208
209
  -y, --yes Switch to new config
209
210
 
210
211
  GLOBAL FLAGS
211
- --config=<value> Specify config file.
212
- --json Format output as json.
212
+ --json Format output as json.
213
213
 
214
214
  DESCRIPTION
215
215
  Create a new configuration
@@ -220,7 +220,7 @@ EXAMPLES
220
220
  $ sp config create --name "Production" --url "https://api.dp.superprotocol.com"
221
221
  ```
222
222
 
223
- _See code: [src/commands/config/create.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/config/create.ts)_
223
+ _See code: [src/commands/config/create.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/config/create.ts)_
224
224
 
225
225
  ## `sp config delete`
226
226
 
@@ -228,16 +228,14 @@ Delete a configuration file
228
228
 
229
229
  ```
230
230
  USAGE
231
- $ sp config delete [--json] [--config <value>] [--url <value>] [-f] [-n <value>]
231
+ $ sp config delete [--json] [-f] [-n <value>]
232
232
 
233
233
  FLAGS
234
234
  -f, --force Force deletion without confirmation
235
235
  -n, --name=<value> Configuration name to delete
236
236
 
237
237
  GLOBAL FLAGS
238
- --config=<value> Specify config file.
239
- --json Format output as json.
240
- --url=<value> Specify provider base URL.
238
+ --json Format output as json.
241
239
 
242
240
  DESCRIPTION
243
241
  Delete a configuration file
@@ -250,7 +248,7 @@ EXAMPLES
250
248
  $ sp config delete --name "My Config" --force
251
249
  ```
252
250
 
253
- _See code: [src/commands/config/delete.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/config/delete.ts)_
251
+ _See code: [src/commands/config/delete.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/config/delete.ts)_
254
252
 
255
253
  ## `sp config list`
256
254
 
@@ -258,12 +256,10 @@ List all configurations
258
256
 
259
257
  ```
260
258
  USAGE
261
- $ sp config list [--json] [--config <value>] [--url <value>]
259
+ $ sp config list [--json]
262
260
 
263
261
  GLOBAL FLAGS
264
- --config=<value> Specify config file.
265
- --json Format output as json.
266
- --url=<value> Specify provider base URL.
262
+ --json Format output as json.
267
263
 
268
264
  DESCRIPTION
269
265
  List all configurations
@@ -272,7 +268,7 @@ EXAMPLES
272
268
  $ sp config list
273
269
  ```
274
270
 
275
- _See code: [src/commands/config/list.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/config/list.ts)_
271
+ _See code: [src/commands/config/list.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/config/list.ts)_
276
272
 
277
273
  ## `sp config show`
278
274
 
@@ -280,12 +276,10 @@ Show current configuration
280
276
 
281
277
  ```
282
278
  USAGE
283
- $ sp config show [--json] [--config <value>] [--url <value>]
279
+ $ sp config show [--json]
284
280
 
285
281
  GLOBAL FLAGS
286
- --config=<value> Specify config file.
287
- --json Format output as json.
288
- --url=<value> Specify provider base URL.
282
+ --json Format output as json.
289
283
 
290
284
  DESCRIPTION
291
285
  Show current configuration
@@ -294,7 +288,7 @@ EXAMPLES
294
288
  $ sp config show
295
289
  ```
296
290
 
297
- _See code: [src/commands/config/show.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/config/show.ts)_
291
+ _See code: [src/commands/config/show.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/config/show.ts)_
298
292
 
299
293
  ## `sp config use`
300
294
 
@@ -302,12 +296,10 @@ Switch to a different configuration file
302
296
 
303
297
  ```
304
298
  USAGE
305
- $ sp config use [--json] [--config <value>] [--url <value>]
299
+ $ sp config use [--json]
306
300
 
307
301
  GLOBAL FLAGS
308
- --config=<value> Specify config file.
309
- --json Format output as json.
310
- --url=<value> Specify provider base URL.
302
+ --json Format output as json.
311
303
 
312
304
  DESCRIPTION
313
305
  Switch to a different configuration file
@@ -316,331 +308,124 @@ EXAMPLES
316
308
  $ sp config use
317
309
  ```
318
310
 
319
- _See code: [src/commands/config/use.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/config/use.ts)_
320
-
321
- ## `sp help [COMMAND]`
322
-
323
- Display help for sp.
324
-
325
- ```
326
- USAGE
327
- $ sp help [COMMAND...] [-n]
328
-
329
- ARGUMENTS
330
- [COMMAND...] Command to show help for.
331
-
332
- FLAGS
333
- -n, --nested-commands Include all nested commands in the output.
334
-
335
- DESCRIPTION
336
- Display help for sp.
337
- ```
338
-
339
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.33/src/commands/help.ts)_
340
-
341
- ## `sp plugins`
342
-
343
- List installed plugins.
344
-
345
- ```
346
- USAGE
347
- $ sp plugins [--json] [--core]
348
-
349
- FLAGS
350
- --core Show core plugins.
351
-
352
- GLOBAL FLAGS
353
- --json Format output as json.
354
-
355
- DESCRIPTION
356
- List installed plugins.
357
-
358
- EXAMPLES
359
- $ sp plugins
360
- ```
361
-
362
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/index.ts)_
363
-
364
- ## `sp plugins add PLUGIN`
365
-
366
- Installs a plugin into sp.
367
-
368
- ```
369
- USAGE
370
- $ sp plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
371
-
372
- ARGUMENTS
373
- PLUGIN... Plugin to install.
374
-
375
- FLAGS
376
- -f, --force Force npm to fetch remote resources even if a local copy exists on disk.
377
- -h, --help Show CLI help.
378
- -s, --silent Silences npm output.
379
- -v, --verbose Show verbose npm output.
380
-
381
- GLOBAL FLAGS
382
- --json Format output as json.
383
-
384
- DESCRIPTION
385
- Installs a plugin into sp.
386
-
387
- Uses npm to install plugins.
388
-
389
- Installation of a user-installed plugin will override a core plugin.
390
-
391
- Use the SP_NPM_LOG_LEVEL environment variable to set the npm loglevel.
392
- Use the SP_NPM_REGISTRY environment variable to set the npm registry.
393
-
394
- ALIASES
395
- $ sp plugins add
396
-
397
- EXAMPLES
398
- Install a plugin from npm registry.
399
-
400
- $ sp plugins add myplugin
311
+ _See code: [src/commands/config/use.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/config/use.ts)_
401
312
 
402
- Install a plugin from a github url.
313
+ ## `sp files download RESOURCEFILE LOCALDIRECTORY`
403
314
 
404
- $ sp plugins add https://github.com/someuser/someplugin
405
-
406
- Install a plugin from a github slug.
407
-
408
- $ sp plugins add someuser/someplugin
409
- ```
410
-
411
- ## `sp plugins:inspect PLUGIN...`
412
-
413
- Displays installation properties of a plugin.
315
+ describe the command here
414
316
 
415
317
  ```
416
318
  USAGE
417
- $ sp plugins inspect PLUGIN...
319
+ $ sp files download RESOURCEFILE LOCALDIRECTORY [--json] [--config <value>] [--maximum-concurrent <value>]
418
320
 
419
321
  ARGUMENTS
420
- PLUGIN... [default: .] Plugin to inspect.
322
+ RESOURCEFILE Path to a resource file
323
+ LOCALDIRECTORY Path to save downloaded file
421
324
 
422
325
  FLAGS
423
- -h, --help Show CLI help.
424
- -v, --verbose
326
+ --maximum-concurrent=<value> [default: 1] Maximum concurrent pieces to upload at once per transfer
425
327
 
426
328
  GLOBAL FLAGS
427
- --json Format output as json.
329
+ --config=<value> Specify config file.
330
+ --json Format output as json.
428
331
 
429
332
  DESCRIPTION
430
- Displays installation properties of a plugin.
333
+ describe the command here
431
334
 
432
335
  EXAMPLES
433
- $ sp plugins inspect myplugin
336
+ $ sp files download ./resource.json ./pathToDownload
434
337
  ```
435
338
 
436
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/inspect.ts)_
339
+ _See code: [src/commands/files/download.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/files/download.ts)_
437
340
 
438
- ## `sp plugins install PLUGIN`
341
+ ## `sp files upload PATH`
439
342
 
440
- Installs a plugin into sp.
343
+ describe the command here
441
344
 
442
345
  ```
443
346
  USAGE
444
- $ sp plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
347
+ $ sp files upload PATH [--json] [--config <value>] [--filename <value>] [--maximum-concurrent <value>]
348
+ [--metadata <value>] [--output <value>] [--skip-encryption] [--sync]
445
349
 
446
350
  ARGUMENTS
447
- PLUGIN... Plugin to install.
351
+ PATH file or directory to upload
448
352
 
449
353
  FLAGS
450
- -f, --force Force npm to fetch remote resources even if a local copy exists on disk.
451
- -h, --help Show CLI help.
452
- -s, --silent Silences npm output.
453
- -v, --verbose Show verbose npm output.
354
+ --filename=<value> The name of the resulting file/directory in the storage
355
+ --maximum-concurrent=<value> [default: 1] Maximum concurrent pieces to upload at once per transfer
356
+ --metadata=<value> Path to a metadata file for adding fields to the resource file
357
+ --output=<value> [default: resource.json] Path to save resource file that is used to access the uploaded
358
+ file
359
+ --skip-encryption Skip file encryption before upload
360
+ --sync Sync mode: delete files in target that don't exist in source
454
361
 
455
362
  GLOBAL FLAGS
456
- --json Format output as json.
457
-
458
- DESCRIPTION
459
- Installs a plugin into sp.
460
-
461
- Uses npm to install plugins.
462
-
463
- Installation of a user-installed plugin will override a core plugin.
464
-
465
- Use the SP_NPM_LOG_LEVEL environment variable to set the npm loglevel.
466
- Use the SP_NPM_REGISTRY environment variable to set the npm registry.
467
-
468
- ALIASES
469
- $ sp plugins add
470
-
471
- EXAMPLES
472
- Install a plugin from npm registry.
473
-
474
- $ sp plugins install myplugin
475
-
476
- Install a plugin from a github url.
477
-
478
- $ sp plugins install https://github.com/someuser/someplugin
479
-
480
- Install a plugin from a github slug.
481
-
482
- $ sp plugins install someuser/someplugin
483
- ```
484
-
485
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/install.ts)_
486
-
487
- ## `sp plugins link PATH`
488
-
489
- Links a plugin into the CLI for development.
490
-
491
- ```
492
- USAGE
493
- $ sp plugins link PATH [-h] [--install] [-v]
494
-
495
- ARGUMENTS
496
- PATH [default: .] path to plugin
497
-
498
- FLAGS
499
- -h, --help Show CLI help.
500
- -v, --verbose
501
- --[no-]install Install dependencies after linking the plugin.
502
-
503
- DESCRIPTION
504
- Links a plugin into the CLI for development.
505
-
506
- Installation of a linked plugin will override a user-installed or core plugin.
507
-
508
- e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
509
- command will override the user-installed or core plugin implementation. This is useful for development work.
510
-
511
-
512
- EXAMPLES
513
- $ sp plugins link myplugin
514
- ```
515
-
516
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/link.ts)_
517
-
518
- ## `sp plugins remove [PLUGIN]`
519
-
520
- Removes a plugin from the CLI.
521
-
522
- ```
523
- USAGE
524
- $ sp plugins remove [PLUGIN...] [-h] [-v]
525
-
526
- ARGUMENTS
527
- [PLUGIN...] plugin to uninstall
528
-
529
- FLAGS
530
- -h, --help Show CLI help.
531
- -v, --verbose
363
+ --config=<value> Specify config file.
364
+ --json Format output as json.
532
365
 
533
366
  DESCRIPTION
534
- Removes a plugin from the CLI.
535
-
536
- ALIASES
537
- $ sp plugins unlink
538
- $ sp plugins remove
367
+ describe the command here
539
368
 
540
369
  EXAMPLES
541
- $ sp plugins remove myplugin
542
- ```
543
-
544
- ## `sp plugins reset`
545
-
546
- Remove all user-installed and linked plugins.
547
-
548
- ```
549
- USAGE
550
- $ sp plugins reset [--hard] [--reinstall]
551
-
552
- FLAGS
553
- --hard Delete node_modules and package manager related files in addition to uninstalling plugins.
554
- --reinstall Reinstall all plugins after uninstalling.
370
+ $ sp files upload ./file.txt
555
371
  ```
556
372
 
557
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/reset.ts)_
373
+ _See code: [src/commands/files/upload.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/files/upload.ts)_
558
374
 
559
- ## `sp plugins uninstall [PLUGIN]`
375
+ ## `sp help [COMMAND]`
560
376
 
561
- Removes a plugin from the CLI.
377
+ Display help for sp.
562
378
 
563
379
  ```
564
380
  USAGE
565
- $ sp plugins uninstall [PLUGIN...] [-h] [-v]
381
+ $ sp help [COMMAND...] [-n]
566
382
 
567
383
  ARGUMENTS
568
- [PLUGIN...] plugin to uninstall
384
+ [COMMAND...] Command to show help for.
569
385
 
570
386
  FLAGS
571
- -h, --help Show CLI help.
572
- -v, --verbose
387
+ -n, --nested-commands Include all nested commands in the output.
573
388
 
574
389
  DESCRIPTION
575
- Removes a plugin from the CLI.
576
-
577
- ALIASES
578
- $ sp plugins unlink
579
- $ sp plugins remove
580
-
581
- EXAMPLES
582
- $ sp plugins uninstall myplugin
390
+ Display help for sp.
583
391
  ```
584
392
 
585
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/uninstall.ts)_
393
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.33/src/commands/help.ts)_
586
394
 
587
- ## `sp plugins unlink [PLUGIN]`
395
+ ## `sp login`
588
396
 
589
- Removes a plugin from the CLI.
397
+ Authorization
590
398
 
591
399
  ```
592
400
  USAGE
593
- $ sp plugins unlink [PLUGIN...] [-h] [-v]
594
-
595
- ARGUMENTS
596
- [PLUGIN...] plugin to uninstall
401
+ $ sp login [--json] [--config <value>]
597
402
 
598
- FLAGS
599
- -h, --help Show CLI help.
600
- -v, --verbose
403
+ GLOBAL FLAGS
404
+ --config=<value> Specify config file.
405
+ --json Format output as json.
601
406
 
602
407
  DESCRIPTION
603
- Removes a plugin from the CLI.
408
+ Authorization
604
409
 
605
410
  ALIASES
606
- $ sp plugins unlink
607
- $ sp plugins remove
411
+ $ sp login
608
412
 
609
413
  EXAMPLES
610
- $ sp plugins unlink myplugin
414
+ $ sp login
611
415
  ```
612
416
 
613
- ## `sp plugins update`
614
-
615
- Update installed plugins.
616
-
617
- ```
618
- USAGE
619
- $ sp plugins update [-h] [-v]
620
-
621
- FLAGS
622
- -h, --help Show CLI help.
623
- -v, --verbose
624
-
625
- DESCRIPTION
626
- Update installed plugins.
627
- ```
628
-
629
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.50/src/commands/plugins/update.ts)_
630
-
631
417
  ## `sp storage base`
632
418
 
633
419
  ```
634
420
  USAGE
635
- $ sp storage base [--json] [--config <value>] [--url <value>]
421
+ $ sp storage base [--json] [--config <value>]
636
422
 
637
423
  GLOBAL FLAGS
638
424
  --config=<value> Specify config file.
639
425
  --json Format output as json.
640
- --url=<value> Specify provider base URL.
641
426
  ```
642
427
 
643
- _See code: [src/commands/storage/base.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/storage/base.ts)_
428
+ _See code: [src/commands/storage/base.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/storage/base.ts)_
644
429
 
645
430
  ## `sp storage create`
646
431
 
@@ -648,7 +433,7 @@ Create a new storage entry from file or interactive prompts.
648
433
 
649
434
  ```
650
435
  USAGE
651
- $ sp storage create [--json] [--config <value>] [--url <value>] [-f <value>] [--notDefault]
436
+ $ sp storage create [--json] [--config <value>] [-f <value>] [--notDefault]
652
437
 
653
438
  FLAGS
654
439
  -f, --fromFile=<value> Path to a JSON file that contains AddStorageDto payload.
@@ -657,7 +442,6 @@ FLAGS
657
442
  GLOBAL FLAGS
658
443
  --config=<value> Specify config file.
659
444
  --json Format output as json.
660
- --url=<value> Specify provider base URL.
661
445
 
662
446
  DESCRIPTION
663
447
  Create a new storage entry from file or interactive prompts.
@@ -670,7 +454,7 @@ EXAMPLES
670
454
  $ sp storage create --not-default
671
455
  ```
672
456
 
673
- _See code: [src/commands/storage/create.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/storage/create.ts)_
457
+ _See code: [src/commands/storage/create.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/storage/create.ts)_
674
458
 
675
459
  ## `sp storage select`
676
460
 
@@ -678,7 +462,7 @@ Select a storage that will be used by subsequent commands.
678
462
 
679
463
  ```
680
464
  USAGE
681
- $ sp storage select [--json] [--config <value>] [--url <value>] [-i <value>]
465
+ $ sp storage select [--json] [--config <value>] [-i <value>]
682
466
 
683
467
  FLAGS
684
468
  -i, --id=<value> Storage ID to select
@@ -686,7 +470,6 @@ FLAGS
686
470
  GLOBAL FLAGS
687
471
  --config=<value> Specify config file.
688
472
  --json Format output as json.
689
- --url=<value> Specify provider base URL.
690
473
 
691
474
  DESCRIPTION
692
475
  Select a storage that will be used by subsequent commands.
@@ -697,7 +480,7 @@ EXAMPLES
697
480
  $ sp storage select --id=2de3e3a4-0000-1111-2222-333344445555
698
481
  ```
699
482
 
700
- _See code: [src/commands/storage/select.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/storage/select.ts)_
483
+ _See code: [src/commands/storage/select.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/storage/select.ts)_
701
484
 
702
485
  ## `sp storage update`
703
486
 
@@ -705,7 +488,7 @@ Update the configuration of an existing storage.
705
488
 
706
489
  ```
707
490
  USAGE
708
- $ sp storage update [--json] [--config <value>] [--url <value>] [-f <value>] [-i <value>]
491
+ $ sp storage update [--json] [--config <value>] [-f <value>] [-i <value>]
709
492
 
710
493
  FLAGS
711
494
  -f, --fromFile=<value> Path to a JSON file that contains UpdateStorageDto payload.
@@ -714,7 +497,6 @@ FLAGS
714
497
  GLOBAL FLAGS
715
498
  --config=<value> Specify config file.
716
499
  --json Format output as json.
717
- --url=<value> Specify provider base URL.
718
500
 
719
501
  DESCRIPTION
720
502
  Update the configuration of an existing storage.
@@ -725,5 +507,5 @@ EXAMPLES
725
507
  $ sp storage update --id=2de3e3a4-0000-1111-2222-333344445555
726
508
  ```
727
509
 
728
- _See code: [src/commands/storage/update.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.1/src/commands/storage/update.ts)_
510
+ _See code: [src/commands/storage/update.ts](https://github.com/Super-Protocol/sp-cli/blob/v0.0.2-beta.10/src/commands/storage/update.ts)_
729
511
  <!-- commandsstop -->