@scalar/cli 1.9.8 → 2.0.0
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 +25 -7
- package/docs.html +161 -116
- package/index.js +589 -402
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -648,7 +648,7 @@ Create a new SDK.
|
|
|
648
648
|
Options:
|
|
649
649
|
-a, --api <api> Registry API slug
|
|
650
650
|
-n, --namespace <namespace> Team namespace
|
|
651
|
-
-l, --language <language> Language of your SDK (choices: "typescript", "python", "csharp", "java", "ruby", "php", "go", "rust", "kotlin", "swift", "cpp", "dart")
|
|
651
|
+
-l, --language <language> Language of your SDK (choices: "typescript", "python", "cli", "csharp", "java", "ruby", "php", "go", "rust", "kotlin", "swift", "cpp", "dart")
|
|
652
652
|
-h, --help display help for command
|
|
653
653
|
```
|
|
654
654
|
|
|
@@ -698,14 +698,15 @@ Usage: scalar schema [options] [command]
|
|
|
698
698
|
Manage your Scalar schemas
|
|
699
699
|
|
|
700
700
|
Options:
|
|
701
|
-
-h, --help
|
|
701
|
+
-h, --help display help for command
|
|
702
702
|
|
|
703
703
|
Commands:
|
|
704
|
-
delete [options]
|
|
705
|
-
update [options]
|
|
706
|
-
list [options]
|
|
707
|
-
|
|
708
|
-
|
|
704
|
+
delete [options] Delete a schema.
|
|
705
|
+
update [options] Update schema metadata.
|
|
706
|
+
list [options] List all schemas for a team namespace
|
|
707
|
+
get [options] [namespace] [slug] Get a schema document version from the Scalar registry
|
|
708
|
+
publish [options] [file] Publish a shared schema to the Scalar registry
|
|
709
|
+
help [command] display help for command
|
|
709
710
|
```
|
|
710
711
|
|
|
711
712
|
#### delete
|
|
@@ -746,6 +747,23 @@ Options:
|
|
|
746
747
|
-h, --help display help for command
|
|
747
748
|
```
|
|
748
749
|
|
|
750
|
+
#### get
|
|
751
|
+
```
|
|
752
|
+
Usage: scalar schema get [options] [namespace] [slug]
|
|
753
|
+
|
|
754
|
+
Get a schema document version from the Scalar registry
|
|
755
|
+
|
|
756
|
+
Arguments:
|
|
757
|
+
namespace Team namespace
|
|
758
|
+
slug Schema slug
|
|
759
|
+
|
|
760
|
+
Options:
|
|
761
|
+
--version <version> Schema version (defaults to latest)
|
|
762
|
+
--format <format> Output format (json or yaml) (default: "json")
|
|
763
|
+
-o, --output <file> Output file (defaults to stdout)
|
|
764
|
+
-h, --help display help for command
|
|
765
|
+
```
|
|
766
|
+
|
|
749
767
|
#### publish
|
|
750
768
|
```
|
|
751
769
|
Usage: scalar schema publish [options] [file]
|