@scalar/cli 2.5.2 → 2.8.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 +319 -55
- package/chunks/{action-XUQ7TKKJ.js → action-354TUG4H.js} +11 -7
- package/chunks/{action-PHLOE27S.js → action-43YBNBDR.js} +33 -26
- package/chunks/{action-DGD6Q6Y5.js → action-5SK5NE7E.js} +10 -4
- package/chunks/{action-Y6CEKYEK.js → action-6BYGBXRC.js} +40 -23
- package/chunks/{action-LUVBQEIQ.js → action-7PEQXDWT.js} +4 -4
- package/chunks/action-AQRPFQKI.js +231 -0
- package/chunks/{action-RBVPKCRI.js → action-CA4QYPI6.js} +6 -6
- package/chunks/{action-7H3XARJP.js → action-EOAVVL52.js} +11 -5
- package/chunks/action-F2ZJNURT.js +72 -0
- package/chunks/{action-AMNYOA4B.js → action-F7A2K74G.js} +4 -4
- package/chunks/{action-HIL5ZFNB.js → action-FCAYFPVR.js} +5 -5
- package/chunks/{action-42D2C47G.js → action-GWXLHL2Z.js} +3 -3
- package/chunks/{action-ZWQLQENM.js → action-H6OUJWWM.js} +4 -4
- package/chunks/{action-TWHLZW4V.js → action-HT2DJ34Z.js} +49 -26
- package/chunks/{action-PAA4NWUJ.js → action-JAHFRYWZ.js} +58 -9
- package/chunks/{action-HXHBU7XC.js → action-KTYOCA2V.js} +37 -12
- package/chunks/{action-LFL3ZZKN.js → action-LEUD5P2U.js} +17 -17
- package/chunks/{action-FF2OMGAS.js → action-LLH4QPXM.js} +34 -20
- package/chunks/{action-OILGZAMK.js → action-LXGXKXZZ.js} +20 -15
- package/chunks/{action-W62AIEBN.js → action-NVI5DWFP.js} +6 -6
- package/chunks/{action-EPNE5XCM.js → action-QQZLPI42.js} +17 -17
- package/chunks/{action-ZLTUMRO2.js → action-UIKH4SZX.js} +25 -21
- package/chunks/{action-6FAJNP6C.js → action-VOFDW3U2.js} +4 -4
- package/chunks/{action-OK55BFGM.js → action-W3C53GPH.js} +7 -7
- package/chunks/{action-P7RFXIC7.js → action-WFDNRA7D.js} +32 -23
- package/chunks/{action-V5KYG7XD.js → action-XIUO64C7.js} +10 -10
- package/chunks/{action-X7TZA3RE.js → action-Y6NXJQ4H.js} +89 -14
- package/chunks/{action-6MZZHPVQ.js → action-Y7OUGD56.js} +27 -14
- package/chunks/{action-DCINFQ57.js → action-YLF2G4G5.js} +13 -13
- package/chunks/{action-SJYAMXYI.js → action-YRX6SN5F.js} +10 -4
- package/chunks/actions-OGIVBQC7.js +158 -0
- package/chunks/{agent-JAXLLDPE.js → agent-ASPV3R5U.js} +4 -4
- package/chunks/{asyncapi-P6Y3L7RG.js → asyncapi-QNFKXHEI.js} +10 -11
- package/chunks/{build.action-AZ5ECU4B.js → build.action-NM6CAE5F.js} +37 -33
- package/chunks/{chunk-FOKFF4EP.js → chunk-22HYZ7LE.js} +3 -3
- package/chunks/{chunk-KEOCJ3NJ.js → chunk-2OCWX42S.js} +38 -87
- package/chunks/{chunk-RPVHJMQT.js → chunk-5DEU2DVL.js} +2 -2
- package/chunks/{chunk-OQKDBLOZ.js → chunk-5JLVQVKO.js} +8 -0
- package/chunks/{chunk-VNYE4R7N.js → chunk-5UHLAJQD.js} +2 -1
- package/chunks/{chunk-CX7ZRMTC.js → chunk-6XWCMJDB.js} +1 -1
- package/chunks/{chunk-6ZMT63IV.js → chunk-6YPQGVF4.js} +1 -1
- package/chunks/{chunk-HXIDUCSZ.js → chunk-BPGFSSUH.js} +1 -1
- package/chunks/{chunk-M622VXRQ.js → chunk-C2KAWRIX.js} +1 -1
- package/chunks/chunk-EGOXR5FB.js +15 -0
- package/chunks/{chunk-UB3XGOUW.js → chunk-EXY3ZTV4.js} +262 -9
- package/chunks/{chunk-3BWGTPPT.js → chunk-FDC2IESH.js} +1776 -1113
- package/chunks/{chunk-TYLWJ2UL.js → chunk-GTV2BVXV.js} +2 -2
- package/chunks/{chunk-SWWWYWHC.js → chunk-HGOD6THU.js} +27 -18
- package/chunks/{chunk-3DJ2GKEG.js → chunk-IMG35UXX.js} +1 -1
- package/chunks/{chunk-MNLXYOVF.js → chunk-KCCFN4F7.js} +2 -2
- package/chunks/{chunk-FQVVKQPU.js → chunk-KKRGBXCE.js} +137 -1
- package/chunks/{chunk-UMPODUJO.js → chunk-L3UXDCBI.js} +105 -15
- package/chunks/{chunk-B2MHTD3R.js → chunk-MLSZVVTT.js} +1 -1
- package/chunks/{chunk-LCPFHE4Z.js → chunk-OJ2EWIJH.js} +21 -2
- package/chunks/{chunk-RAO7VUGM.js → chunk-PH3WFNXJ.js} +1 -1
- package/chunks/{chunk-NIXG4KDE.js → chunk-QVQ4PNVL.js} +170 -5
- package/chunks/{chunk-CIFOFSZ3.js → chunk-R5LK6VPY.js} +72 -7
- package/chunks/{chunk-T7B6WNZC.js → chunk-TSURUX4A.js} +12 -3
- package/chunks/{chunk-JV7TUEXQ.js → chunk-UXJ753NV.js} +14 -1
- package/chunks/{chunk-HUCR333E.js → chunk-W24BETFG.js} +2 -2
- package/chunks/{chunk-LQN4S62O.js → chunk-XEDGMZJD.js} +18 -4
- package/chunks/{chunk-NNMSZVAB.js → chunk-XXSQUBXS.js} +82 -6
- package/chunks/{chunk-M6Q3ARBV.js → chunk-YILQODZF.js} +2 -2
- package/chunks/{create.action-34OTO2SB.js → create.action-FUQ2BVJA.js} +29 -17
- package/chunks/{delete.action-ZYXFMIOW.js → delete.action-47E66R3I.js} +26 -17
- package/chunks/{delete.action-6LRT4M3S.js → delete.action-BTDFH7WY.js} +26 -17
- package/chunks/{get.action-XP36SA2J.js → get.action-XC7KC2JO.js} +10 -10
- package/chunks/{list.action-6LF6KSD5.js → list.action-LXKEUYKO.js} +13 -13
- package/chunks/{list.action-WVRVLX5E.js → list.action-OFGLMRE7.js} +17 -17
- package/chunks/{publish.action-AHFUBT5C.js → publish.action-OS27XOX4.js} +50 -24
- package/chunks/{update.action-YQTVUDYE.js → update.action-AEIBLCWD.js} +27 -18
- package/chunks/{update.action-ZREAFJVG.js → update.action-ZMS4CQ3T.js} +27 -18
- package/docs.html +679 -175
- package/index.js +492 -406
- package/package.json +14 -22
- package/skills/scalar-cli/SKILL.md +77 -0
- package/template.md +101 -3
- package/chunks/action-YRWHX2AE.js +0 -64
package/docs.html
CHANGED
|
@@ -1952,7 +1952,7 @@ body {
|
|
|
1952
1952
|
text-decoration-thickness: 1px;
|
|
1953
1953
|
text-decoration-color: color-mix(in srgb, var(--font-color, var(--scalar-color-1)) 30%, transparent);
|
|
1954
1954
|
}
|
|
1955
|
-
.t-editor__anchor:visited {
|
|
1955
|
+
.t-editor__anchor:where(:not(.t-editor__button)):visited {
|
|
1956
1956
|
color: var(--font-visited, var(--scalar-color-accent));
|
|
1957
1957
|
}
|
|
1958
1958
|
.t-editor__anchor:hover {
|
|
@@ -2683,6 +2683,7 @@ ul.contains-task-list > li {
|
|
|
2683
2683
|
.t-editor__code-group .language-button {
|
|
2684
2684
|
top: -34px;
|
|
2685
2685
|
right: 16px;
|
|
2686
|
+
z-index: 2;
|
|
2686
2687
|
}
|
|
2687
2688
|
.t-editor__code-group:has(.code-group-input:focus-visible) {
|
|
2688
2689
|
outline: 1px solid var(--scalar-color-accent);
|
|
@@ -3852,6 +3853,38 @@ blockquote.t-editor__quote > * {
|
|
|
3852
3853
|
<li>Preview your API reference</li>
|
|
3853
3854
|
<li>Bundle multiple OpenAPI files</li>
|
|
3854
3855
|
</ul>
|
|
3856
|
+
<h2 id="access-groups" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
3857
|
+
Access groups
|
|
3858
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
3859
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
3860
|
+
</svg>
|
|
3861
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
3862
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
3863
|
+
</svg></button>
|
|
3864
|
+
</h2>
|
|
3865
|
+
<p class="t-editor__paragraph">Manage access groups and allowed email domains for your current team:</p>
|
|
3866
|
+
<div id="2IjKXw2pAu8IE6USWHg34" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
3867
|
+
<pre style="
|
|
3868
|
+
--line-digits: 2;
|
|
3869
|
+
--line-number-start: -1;
|
|
3870
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-bash" language="bash"><span class="t-code__line" data-line-number="0">scalar auth login</span>
|
|
3871
|
+
<span class="t-code__line" data-line-number="1">scalar access-group create partners --name Partners --domain example.com</span>
|
|
3872
|
+
<span class="t-code__line" data-line-number="2">scalar access-group get partners --json</span>
|
|
3873
|
+
<span class="t-code__line" data-line-number="3">scalar access-group update partners --name <span class="hljs-string">"Partner access"</span></span>
|
|
3874
|
+
<span class="t-code__line" data-line-number="4">scalar access-group domain add partners partner.com</span>
|
|
3875
|
+
<span class="t-code__line" data-line-number="5">scalar access-group domain remove partners partner.com</span>
|
|
3876
|
+
<span class="t-code__line" data-line-number="6">scalar access-group delete partners --<span class="hljs-built_in">yes</span></span>
|
|
3877
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">bash
|
|
3878
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
3879
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
3880
|
+
</svg>
|
|
3881
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
3882
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
3883
|
+
</svg></button>
|
|
3884
|
+
</div>
|
|
3885
|
+
<p class="t-editor__paragraph">Creation requires Pro or above, and mutations require docs edit permission. Commands use your existing login and selected team; CI can authenticate with <code inline="true" class="t-editor__inline-code">scalar auth login --token <personal-token></code>. Group arguments are slugs, not UIDs. Rename with <code inline="true" class="t-editor__inline-code">update <slug> --new-slug <new-slug></code>, then use the new slug in later commands.</p>
|
|
3886
|
+
<p class="t-editor__paragraph">Use <code inline="true" class="t-editor__inline-code">--json</code> for machine-readable output: create/get print the group object, while successful updates, deletions and domain mutations print <code inline="true" class="t-editor__inline-code">null</code>. Errors go to stderr and exit nonzero. Deletion prompts in a terminal; pass <code inline="true" class="t-editor__inline-code">--yes</code> for unattended deletion or when using <code inline="true" class="t-editor__inline-code">--json</code>.</p>
|
|
3887
|
+
<p class="t-editor__paragraph">Domains are exact email domains, with no wildcards or implicit subdomain matching. Matching preserves existing case-sensitive behavior. Groups support up to 1,000 domains; domain add/remove leaves other domains and individual email entries intact. Creating a group does not assign it to resources or change their privacy settings. Deleting a group removes its project assignments.</p>
|
|
3855
3888
|
<h2 id="documentation" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
3856
3889
|
Documentation
|
|
3857
3890
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
@@ -3871,7 +3904,7 @@ blockquote.t-editor__quote > * {
|
|
|
3871
3904
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
3872
3905
|
</svg></button>
|
|
3873
3906
|
</h2>
|
|
3874
|
-
<div id="
|
|
3907
|
+
<div id="yYuQxaCJf17Lnk7IzEBhp" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
3875
3908
|
<pre style="
|
|
3876
3909
|
--line-digits: 2;
|
|
3877
3910
|
--line-number-start: -1;
|
|
@@ -3893,8 +3926,58 @@ blockquote.t-editor__quote > * {
|
|
|
3893
3926
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
3894
3927
|
</svg></button>
|
|
3895
3928
|
</h2>
|
|
3896
|
-
<
|
|
3897
|
-
|
|
3929
|
+
<h3 id="standalone-cli-no-node.js-required" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="3" data-scalar-type="heading">
|
|
3930
|
+
Standalone CLI (no Node.js required)
|
|
3931
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
3932
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
3933
|
+
</svg>
|
|
3934
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
3935
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
3936
|
+
</svg></button>
|
|
3937
|
+
</h3>
|
|
3938
|
+
<p class="t-editor__paragraph">Install the latest stable release without Node.js, npm, or administrator access.</p>
|
|
3939
|
+
<p class="t-editor__paragraph">macOS and Linux (Bash):</p>
|
|
3940
|
+
<div id="CPsolUtlewbqqeSRMtEDf" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
3941
|
+
<pre style="
|
|
3942
|
+
--line-digits: 2;
|
|
3943
|
+
--line-number-start: -1;
|
|
3944
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-bash" language="bash"><span class="t-code__line" data-line-number="0">curl -fsSL https://cdn.scalar.com/cli/install.sh | bash</span>
|
|
3945
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">bash
|
|
3946
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
3947
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
3948
|
+
</svg>
|
|
3949
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
3950
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
3951
|
+
</svg></button>
|
|
3952
|
+
</div>
|
|
3953
|
+
<p class="t-editor__paragraph">Windows (PowerShell):</p>
|
|
3954
|
+
<div id="EoqKK7WETV6WRw3PLXCgQ" class="t-editor__code-container" data-lang="powershell" style="position: relative;">
|
|
3955
|
+
<pre style="
|
|
3956
|
+
--line-digits: 2;
|
|
3957
|
+
--line-number-start: -1;
|
|
3958
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-powershell" language="powershell"><span class="t-code__line" data-line-number="0"><span class="hljs-built_in">irm</span> https://cdn.scalar.com/<span class="hljs-built_in">cli</span>/install.ps1 | <span class="hljs-built_in">iex</span></span>
|
|
3959
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">powershell
|
|
3960
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
3961
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
3962
|
+
</svg>
|
|
3963
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
3964
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
3965
|
+
</svg></button>
|
|
3966
|
+
</div>
|
|
3967
|
+
<p class="t-editor__paragraph">The installers choose the archive for your platform and verify its SHA-256 checksum before installing. macOS and Linux support x64 and ARM64; Linux requires glibc. Windows supports x64 and requires <code inline="true" class="t-editor__inline-code">tar.exe</code>, included in Windows 10 version 1803 and later.</p>
|
|
3968
|
+
<p class="t-editor__paragraph">On macOS and Linux, follow the printed PATH instructions if needed. On Windows, open a new terminal after installation. Then run <code inline="true" class="t-editor__inline-code">scalar --help</code>. Re-run the installer to upgrade.</p>
|
|
3969
|
+
<p class="t-editor__paragraph">See the <a href="https://github.com/scalar/scalar-org/blob/main/projects/cli/portable/README.md" class="t-editor__anchor">portable CLI guide</a> for installation locations, version selection, custom directories, and direct downloads. You can download and inspect either script before running it.</p>
|
|
3970
|
+
<h3 id="npm" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="3" data-scalar-type="heading">
|
|
3971
|
+
npm
|
|
3972
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
3973
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
3974
|
+
</svg>
|
|
3975
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
3976
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
3977
|
+
</svg></button>
|
|
3978
|
+
</h3>
|
|
3979
|
+
<p class="t-editor__paragraph">If you already use Node.js, install the CLI with npm:</p>
|
|
3980
|
+
<div id="K10SeIAN4XV6VA7g0nrTx" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
3898
3981
|
<pre style="
|
|
3899
3982
|
--line-digits: 2;
|
|
3900
3983
|
--line-number-start: -1;
|
|
@@ -3918,7 +4001,7 @@ blockquote.t-editor__quote > * {
|
|
|
3918
4001
|
</svg></button>
|
|
3919
4002
|
</h3>
|
|
3920
4003
|
<p class="t-editor__paragraph">There’s another <code inline="true" class="t-editor__inline-code">scalar</code> CLI, which is bundled with <code inline="true" class="t-editor__inline-code">git</code>. If you run into naming conflicts, but never use the other CLI anyway, you can replace it like this:</p>
|
|
3921
|
-
<div id="
|
|
4004
|
+
<div id="FeswFCkaImXUjSiFpyYD3" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
3922
4005
|
<pre style="
|
|
3923
4006
|
--line-digits: 2;
|
|
3924
4007
|
--line-number-start: -1;
|
|
@@ -3932,7 +4015,7 @@ blockquote.t-editor__quote > * {
|
|
|
3932
4015
|
</svg></button>
|
|
3933
4016
|
</div>
|
|
3934
4017
|
<p class="t-editor__paragraph">Or, if you want to keep using the other <code inline="true" class="t-editor__inline-code">scalar</code> CLI, you can just stick to <code inline="true" class="t-editor__inline-code">npx</code> (or <code inline="true" class="t-editor__inline-code">pnpm dlx</code>):</p>
|
|
3935
|
-
<div id="
|
|
4018
|
+
<div id="gimMh9NXKePM1Vq7UbAri" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
3936
4019
|
<pre style="
|
|
3937
4020
|
--line-digits: 2;
|
|
3938
4021
|
--line-number-start: -1;
|
|
@@ -3949,6 +4032,69 @@ blockquote.t-editor__quote > * {
|
|
|
3949
4032
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
3950
4033
|
</svg></button>
|
|
3951
4034
|
</div>
|
|
4035
|
+
<h2 id="api-reference-configuration" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
4036
|
+
API Reference configuration
|
|
4037
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
4038
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4039
|
+
</svg>
|
|
4040
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
4041
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4042
|
+
</svg></button>
|
|
4043
|
+
</h2>
|
|
4044
|
+
<p class="t-editor__paragraph">Pass API Reference options as a JSON object:</p>
|
|
4045
|
+
<div id="Qd54hjzZ48OENRjNSXUPf" class="t-editor__code-container" data-lang="sh" style="position: relative;">
|
|
4046
|
+
<pre style="
|
|
4047
|
+
--line-digits: 2;
|
|
4048
|
+
--line-number-start: -1;
|
|
4049
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-sh" language="sh"><span class="t-code__line" data-line-number="0">scalar document serve openapi.yaml --config ./reference.config.json</span>
|
|
4050
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">sh
|
|
4051
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4052
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
4053
|
+
</svg>
|
|
4054
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4055
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4056
|
+
</svg></button>
|
|
4057
|
+
</div>
|
|
4058
|
+
<div id="EyqA97DikCCBZjSInhrXb" class="t-editor__code-container" data-lang="json" style="position: relative;">
|
|
4059
|
+
<pre style="
|
|
4060
|
+
--line-digits: 2;
|
|
4061
|
+
--line-number-start: -1;
|
|
4062
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-json" language="json"><span class="t-code__line" data-line-number="0"><span class="hljs-punctuation">{</span></span>
|
|
4063
|
+
<span class="t-code__line" data-line-number="1"> <span class="hljs-attr">"orderRequiredPropertiesFirst"</span><span class="hljs-punctuation">:</span> <span class="hljs-keyword">false</span><span class="hljs-punctuation">,</span></span>
|
|
4064
|
+
<span class="t-code__line" data-line-number="2"> <span class="hljs-attr">"theme"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"purple"</span></span>
|
|
4065
|
+
<span class="t-code__line" data-line-number="3"><span class="hljs-punctuation">}</span></span>
|
|
4066
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">json
|
|
4067
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4068
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
4069
|
+
</svg>
|
|
4070
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4071
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4072
|
+
</svg></button>
|
|
4073
|
+
</div>
|
|
4074
|
+
<p class="t-editor__paragraph">
|
|
4075
|
+
The configuration path is relative to the current working directory. Configuration
|
|
4076
|
+
is loaded at startup; restart the command after changing it. <code inline="true" class="t-editor__inline-code">--watch</code> continues
|
|
4077
|
+
to watch the API document. Options requiring JavaScript functions are not supported
|
|
4078
|
+
in a JSON file.
|
|
4079
|
+
</p>
|
|
4080
|
+
<h2 id="authentication-in-automation" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
4081
|
+
Authentication in automation
|
|
4082
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
4083
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4084
|
+
</svg>
|
|
4085
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
4086
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4087
|
+
</svg></button>
|
|
4088
|
+
</h2>
|
|
4089
|
+
<p class="t-editor__paragraph">
|
|
4090
|
+
Use <code inline="true" class="t-editor__inline-code">scalar auth login --token <personal-token></code> to authenticate without a browser.
|
|
4091
|
+
Alternatively, set <code inline="true" class="t-editor__inline-code">SCALAR_API_KEY</code>. When both are provided, <code inline="true" class="t-editor__inline-code">SCALAR_API_KEY</code> takes
|
|
4092
|
+
precedence over <code inline="true" class="t-editor__inline-code">--token</code>. Unset it to use a different explicit token.
|
|
4093
|
+
</p>
|
|
4094
|
+
<p class="t-editor__paragraph">
|
|
4095
|
+
Supply required options in automation instead of relying on interactive prompts.
|
|
4096
|
+
For example, pass <code inline="true" class="t-editor__inline-code">--output</code> for document transformations.
|
|
4097
|
+
</p>
|
|
3952
4098
|
<h2 id="commands" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
3953
4099
|
Commands
|
|
3954
4100
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
@@ -3958,7 +4104,7 @@ blockquote.t-editor__quote > * {
|
|
|
3958
4104
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
3959
4105
|
</svg></button>
|
|
3960
4106
|
</h2>
|
|
3961
|
-
<div id="
|
|
4107
|
+
<div id="XK3C4BQjGOrVu4IEhuomv" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
3962
4108
|
<pre style="
|
|
3963
4109
|
--line-digits: 2;
|
|
3964
4110
|
--line-number-start: -1;
|
|
@@ -3973,14 +4119,18 @@ blockquote.t-editor__quote > * {
|
|
|
3973
4119
|
<span class="t-code__line" data-line-number="8">Commands:</span>
|
|
3974
4120
|
<span class="t-code__line" data-line-number="9"> readme Open documentation for the CLI</span>
|
|
3975
4121
|
<span class="t-code__line" data-line-number="10"> upgrade Upgrade current version of your cli</span>
|
|
3976
|
-
<span class="t-code__line" data-line-number="11">
|
|
3977
|
-
<span class="t-code__line" data-line-number="12">
|
|
3978
|
-
<span class="t-code__line" data-line-number="13">
|
|
3979
|
-
<span class="t-code__line" data-line-number="14">
|
|
3980
|
-
<span class="t-code__line" data-line-number="15">
|
|
3981
|
-
<span class="t-code__line" data-line-number="16">
|
|
3982
|
-
<span class="t-code__line" data-line-number="17">
|
|
3983
|
-
<span class="t-code__line" data-line-number="18">
|
|
4122
|
+
<span class="t-code__line" data-line-number="11"> context Print every command, argument, and option as JSON for AI</span>
|
|
4123
|
+
<span class="t-code__line" data-line-number="12"> agents</span>
|
|
4124
|
+
<span class="t-code__line" data-line-number="13"> auth Manage authorization on scalar platform</span>
|
|
4125
|
+
<span class="t-code__line" data-line-number="14"> access-group Manage access groups and allowed email domains for the current</span>
|
|
4126
|
+
<span class="t-code__line" data-line-number="15"> team</span>
|
|
4127
|
+
<span class="t-code__line" data-line-number="16"> document Manage local openapi file</span>
|
|
4128
|
+
<span class="t-code__line" data-line-number="17"> project Manage scalar project</span>
|
|
4129
|
+
<span class="t-code__line" data-line-number="18"> registry Manage your scalar registry</span>
|
|
4130
|
+
<span class="t-code__line" data-line-number="19"> team Manage user teams</span>
|
|
4131
|
+
<span class="t-code__line" data-line-number="20"> sdk Manage your Scalar SDKs (Enterprise Only)</span>
|
|
4132
|
+
<span class="t-code__line" data-line-number="21"> schema Manage your Scalar schemas</span>
|
|
4133
|
+
<span class="t-code__line" data-line-number="22"> help [command] display help for command</span>
|
|
3984
4134
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
3985
4135
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
3986
4136
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -3998,7 +4148,7 @@ blockquote.t-editor__quote > * {
|
|
|
3998
4148
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
3999
4149
|
</svg></button>
|
|
4000
4150
|
</h3>
|
|
4001
|
-
<div id="
|
|
4151
|
+
<div id="kSTEr3WwKAaVvkCJV2zyh" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4002
4152
|
<pre style="
|
|
4003
4153
|
--line-digits: 2;
|
|
4004
4154
|
--line-number-start: -1;
|
|
@@ -4028,7 +4178,7 @@ blockquote.t-editor__quote > * {
|
|
|
4028
4178
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4029
4179
|
</svg></button>
|
|
4030
4180
|
</h4>
|
|
4031
|
-
<div id="
|
|
4181
|
+
<div id="5ZsU0tncHAeBB999uIDp2" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4032
4182
|
<pre style="
|
|
4033
4183
|
--line-digits: 2;
|
|
4034
4184
|
--line-number-start: -1;
|
|
@@ -4056,7 +4206,7 @@ blockquote.t-editor__quote > * {
|
|
|
4056
4206
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4057
4207
|
</svg></button>
|
|
4058
4208
|
</h3>
|
|
4059
|
-
<div id="
|
|
4209
|
+
<div id="7ZsYT73M3ronnajJB3Hu5" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4060
4210
|
<pre style="
|
|
4061
4211
|
--line-digits: 2;
|
|
4062
4212
|
--line-number-start: -1;
|
|
@@ -4074,6 +4224,33 @@ blockquote.t-editor__quote > * {
|
|
|
4074
4224
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4075
4225
|
</svg></button>
|
|
4076
4226
|
</div>
|
|
4227
|
+
<h3 id="context" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="3" data-scalar-type="heading">
|
|
4228
|
+
context
|
|
4229
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
4230
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4231
|
+
</svg>
|
|
4232
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
4233
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4234
|
+
</svg></button>
|
|
4235
|
+
</h3>
|
|
4236
|
+
<div id="3dgbRKr6c1xhqeLIJm62t" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4237
|
+
<pre style="
|
|
4238
|
+
--line-digits: 2;
|
|
4239
|
+
--line-number-start: -1;
|
|
4240
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-plaintext" language="plaintext"><span class="t-code__line" data-line-number="0">Usage: scalar context [options]</span>
|
|
4241
|
+
<span class="t-code__line" data-line-number="1"></span>
|
|
4242
|
+
<span class="t-code__line" data-line-number="2">Print every command, argument, and option as JSON for AI agents</span>
|
|
4243
|
+
<span class="t-code__line" data-line-number="3"></span>
|
|
4244
|
+
<span class="t-code__line" data-line-number="4">Options:</span>
|
|
4245
|
+
<span class="t-code__line" data-line-number="5"> -h, --help display help for command</span>
|
|
4246
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4247
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4248
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
4249
|
+
</svg>
|
|
4250
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4251
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4252
|
+
</svg></button>
|
|
4253
|
+
</div>
|
|
4077
4254
|
<h3 id="auth" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="3" data-scalar-type="heading">
|
|
4078
4255
|
auth
|
|
4079
4256
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
@@ -4083,7 +4260,7 @@ blockquote.t-editor__quote > * {
|
|
|
4083
4260
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4084
4261
|
</svg></button>
|
|
4085
4262
|
</h3>
|
|
4086
|
-
<div id="
|
|
4263
|
+
<div id="cSvORPTC4dmaTykkGoC7X" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4087
4264
|
<pre style="
|
|
4088
4265
|
--line-digits: 2;
|
|
4089
4266
|
--line-number-start: -1;
|
|
@@ -4116,7 +4293,7 @@ blockquote.t-editor__quote > * {
|
|
|
4116
4293
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4117
4294
|
</svg></button>
|
|
4118
4295
|
</h4>
|
|
4119
|
-
<div id="
|
|
4296
|
+
<div id="E2Lnl8ovwy90TiBOOTFUF" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4120
4297
|
<pre style="
|
|
4121
4298
|
--line-digits: 2;
|
|
4122
4299
|
--line-number-start: -1;
|
|
@@ -4146,7 +4323,7 @@ blockquote.t-editor__quote > * {
|
|
|
4146
4323
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4147
4324
|
</svg></button>
|
|
4148
4325
|
</h4>
|
|
4149
|
-
<div id="
|
|
4326
|
+
<div id="uyUmd4eCBwdKiEmRIahco" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4150
4327
|
<pre style="
|
|
4151
4328
|
--line-digits: 2;
|
|
4152
4329
|
--line-number-start: -1;
|
|
@@ -4173,7 +4350,7 @@ blockquote.t-editor__quote > * {
|
|
|
4173
4350
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4174
4351
|
</svg></button>
|
|
4175
4352
|
</h4>
|
|
4176
|
-
<div id="
|
|
4353
|
+
<div id="oY8w6yEbJSX1pALwUwy9R" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4177
4354
|
<pre style="
|
|
4178
4355
|
--line-digits: 2;
|
|
4179
4356
|
--line-number-start: -1;
|
|
@@ -4191,6 +4368,252 @@ blockquote.t-editor__quote > * {
|
|
|
4191
4368
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4192
4369
|
</svg></button>
|
|
4193
4370
|
</div>
|
|
4371
|
+
<h3 id="access-group" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="3" data-scalar-type="heading">
|
|
4372
|
+
access-group
|
|
4373
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
4374
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4375
|
+
</svg>
|
|
4376
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
4377
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4378
|
+
</svg></button>
|
|
4379
|
+
</h3>
|
|
4380
|
+
<div id="7xio4nKsZuo9oXx6DaW14" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4381
|
+
<pre style="
|
|
4382
|
+
--line-digits: 2;
|
|
4383
|
+
--line-number-start: -1;
|
|
4384
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-plaintext" language="plaintext"><span class="t-code__line" data-line-number="0">Usage: scalar access-group [options] [command]</span>
|
|
4385
|
+
<span class="t-code__line" data-line-number="1"></span>
|
|
4386
|
+
<span class="t-code__line" data-line-number="2">Manage access groups and allowed email domains for the current team</span>
|
|
4387
|
+
<span class="t-code__line" data-line-number="3"></span>
|
|
4388
|
+
<span class="t-code__line" data-line-number="4">Options:</span>
|
|
4389
|
+
<span class="t-code__line" data-line-number="5"> -h, --help display help for command</span>
|
|
4390
|
+
<span class="t-code__line" data-line-number="6"></span>
|
|
4391
|
+
<span class="t-code__line" data-line-number="7">Commands:</span>
|
|
4392
|
+
<span class="t-code__line" data-line-number="8"> create [options] <slug> Create an access group (Pro or above)</span>
|
|
4393
|
+
<span class="t-code__line" data-line-number="9"> get [options] <slug> Get an access group and its allowlists</span>
|
|
4394
|
+
<span class="t-code__line" data-line-number="10"> update [options] <slug> Update access group metadata</span>
|
|
4395
|
+
<span class="t-code__line" data-line-number="11"> delete [options] <slug> Delete an access group and remove its project</span>
|
|
4396
|
+
<span class="t-code__line" data-line-number="12"> assignments</span>
|
|
4397
|
+
<span class="t-code__line" data-line-number="13"> domain Manage allowed email domains</span>
|
|
4398
|
+
<span class="t-code__line" data-line-number="14"> help [command] display help for command</span>
|
|
4399
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4400
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4401
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
4402
|
+
</svg>
|
|
4403
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4404
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4405
|
+
</svg></button>
|
|
4406
|
+
</div>
|
|
4407
|
+
<h4 id="create" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
4408
|
+
create
|
|
4409
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
4410
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4411
|
+
</svg>
|
|
4412
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
4413
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4414
|
+
</svg></button>
|
|
4415
|
+
</h4>
|
|
4416
|
+
<div id="GgTxWgf3FxuEXxqOcKiQ2" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4417
|
+
<pre style="
|
|
4418
|
+
--line-digits: 2;
|
|
4419
|
+
--line-number-start: -1;
|
|
4420
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-plaintext" language="plaintext"><span class="t-code__line" data-line-number="0">Usage: scalar access-group create [options] <slug></span>
|
|
4421
|
+
<span class="t-code__line" data-line-number="1"></span>
|
|
4422
|
+
<span class="t-code__line" data-line-number="2">Create an access group (Pro or above)</span>
|
|
4423
|
+
<span class="t-code__line" data-line-number="3"></span>
|
|
4424
|
+
<span class="t-code__line" data-line-number="4">Arguments:</span>
|
|
4425
|
+
<span class="t-code__line" data-line-number="5"> slug New access group slug</span>
|
|
4426
|
+
<span class="t-code__line" data-line-number="6"></span>
|
|
4427
|
+
<span class="t-code__line" data-line-number="7">Options:</span>
|
|
4428
|
+
<span class="t-code__line" data-line-number="8"> --name <name> Display name</span>
|
|
4429
|
+
<span class="t-code__line" data-line-number="9"> --domain <domains...> Allowed email domains</span>
|
|
4430
|
+
<span class="t-code__line" data-line-number="10"> --json Print the result as JSON</span>
|
|
4431
|
+
<span class="t-code__line" data-line-number="11"> -h, --help display help for command</span>
|
|
4432
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4433
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4434
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
4435
|
+
</svg>
|
|
4436
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4437
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4438
|
+
</svg></button>
|
|
4439
|
+
</div>
|
|
4440
|
+
<h4 id="get" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
4441
|
+
get
|
|
4442
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
4443
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4444
|
+
</svg>
|
|
4445
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
4446
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4447
|
+
</svg></button>
|
|
4448
|
+
</h4>
|
|
4449
|
+
<div id="FxghRun7IwTJRf3aTZ4kt" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4450
|
+
<pre style="
|
|
4451
|
+
--line-digits: 2;
|
|
4452
|
+
--line-number-start: -1;
|
|
4453
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-plaintext" language="plaintext"><span class="t-code__line" data-line-number="0">Usage: scalar access-group get [options] <slug></span>
|
|
4454
|
+
<span class="t-code__line" data-line-number="1"></span>
|
|
4455
|
+
<span class="t-code__line" data-line-number="2">Get an access group and its allowlists</span>
|
|
4456
|
+
<span class="t-code__line" data-line-number="3"></span>
|
|
4457
|
+
<span class="t-code__line" data-line-number="4">Arguments:</span>
|
|
4458
|
+
<span class="t-code__line" data-line-number="5"> slug Access group slug</span>
|
|
4459
|
+
<span class="t-code__line" data-line-number="6"></span>
|
|
4460
|
+
<span class="t-code__line" data-line-number="7">Options:</span>
|
|
4461
|
+
<span class="t-code__line" data-line-number="8"> --json Print the result as JSON</span>
|
|
4462
|
+
<span class="t-code__line" data-line-number="9"> -h, --help display help for command</span>
|
|
4463
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4464
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4465
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
4466
|
+
</svg>
|
|
4467
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4468
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4469
|
+
</svg></button>
|
|
4470
|
+
</div>
|
|
4471
|
+
<h4 id="update" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
4472
|
+
update
|
|
4473
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
4474
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4475
|
+
</svg>
|
|
4476
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
4477
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4478
|
+
</svg></button>
|
|
4479
|
+
</h4>
|
|
4480
|
+
<div id="xITEi9TIGLptKxhENppOX" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4481
|
+
<pre style="
|
|
4482
|
+
--line-digits: 2;
|
|
4483
|
+
--line-number-start: -1;
|
|
4484
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-plaintext" language="plaintext"><span class="t-code__line" data-line-number="0">Usage: scalar access-group update [options] <slug></span>
|
|
4485
|
+
<span class="t-code__line" data-line-number="1"></span>
|
|
4486
|
+
<span class="t-code__line" data-line-number="2">Update access group metadata</span>
|
|
4487
|
+
<span class="t-code__line" data-line-number="3"></span>
|
|
4488
|
+
<span class="t-code__line" data-line-number="4">Arguments:</span>
|
|
4489
|
+
<span class="t-code__line" data-line-number="5"> slug Current access group slug</span>
|
|
4490
|
+
<span class="t-code__line" data-line-number="6"></span>
|
|
4491
|
+
<span class="t-code__line" data-line-number="7">Options:</span>
|
|
4492
|
+
<span class="t-code__line" data-line-number="8"> --name <name> New display name</span>
|
|
4493
|
+
<span class="t-code__line" data-line-number="9"> --new-slug <slug> New access group slug</span>
|
|
4494
|
+
<span class="t-code__line" data-line-number="10"> --json Print the result as JSON</span>
|
|
4495
|
+
<span class="t-code__line" data-line-number="11"> -h, --help display help for command</span>
|
|
4496
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4497
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4498
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
4499
|
+
</svg>
|
|
4500
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4501
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4502
|
+
</svg></button>
|
|
4503
|
+
</div>
|
|
4504
|
+
<h4 id="delete" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
4505
|
+
delete
|
|
4506
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
4507
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4508
|
+
</svg>
|
|
4509
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
4510
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4511
|
+
</svg></button>
|
|
4512
|
+
</h4>
|
|
4513
|
+
<div id="49UwHS0GFLFEhttbWcDYL" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4514
|
+
<pre style="
|
|
4515
|
+
--line-digits: 2;
|
|
4516
|
+
--line-number-start: -1;
|
|
4517
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-plaintext" language="plaintext"><span class="t-code__line" data-line-number="0">Usage: scalar access-group delete [options] <slug></span>
|
|
4518
|
+
<span class="t-code__line" data-line-number="1"></span>
|
|
4519
|
+
<span class="t-code__line" data-line-number="2">Delete an access group and remove its project assignments</span>
|
|
4520
|
+
<span class="t-code__line" data-line-number="3"></span>
|
|
4521
|
+
<span class="t-code__line" data-line-number="4">Arguments:</span>
|
|
4522
|
+
<span class="t-code__line" data-line-number="5"> slug Access group slug</span>
|
|
4523
|
+
<span class="t-code__line" data-line-number="6"></span>
|
|
4524
|
+
<span class="t-code__line" data-line-number="7">Options:</span>
|
|
4525
|
+
<span class="t-code__line" data-line-number="8"> -y, --yes Confirm deletion without prompting</span>
|
|
4526
|
+
<span class="t-code__line" data-line-number="9"> --json Print the result as JSON (requires --yes)</span>
|
|
4527
|
+
<span class="t-code__line" data-line-number="10"> -h, --help display help for command</span>
|
|
4528
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4529
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4530
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
4531
|
+
</svg>
|
|
4532
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4533
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4534
|
+
</svg></button>
|
|
4535
|
+
</div>
|
|
4536
|
+
<h4 id="domain" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
4537
|
+
domain
|
|
4538
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
4539
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4540
|
+
</svg>
|
|
4541
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
4542
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4543
|
+
</svg></button>
|
|
4544
|
+
</h4>
|
|
4545
|
+
<div id="c6Ck4DrC5J8fVnDicEH0P" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4546
|
+
<pre style="
|
|
4547
|
+
--line-digits: 2;
|
|
4548
|
+
--line-number-start: -1;
|
|
4549
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-plaintext" language="plaintext"><span class="t-code__line" data-line-number="0">Usage: scalar access-group domain [options] [command]</span>
|
|
4550
|
+
<span class="t-code__line" data-line-number="1"></span>
|
|
4551
|
+
<span class="t-code__line" data-line-number="2">Manage allowed email domains</span>
|
|
4552
|
+
<span class="t-code__line" data-line-number="3"></span>
|
|
4553
|
+
<span class="t-code__line" data-line-number="4">Options:</span>
|
|
4554
|
+
<span class="t-code__line" data-line-number="5"> -h, --help display help for command</span>
|
|
4555
|
+
<span class="t-code__line" data-line-number="6"></span>
|
|
4556
|
+
<span class="t-code__line" data-line-number="7">Commands:</span>
|
|
4557
|
+
<span class="t-code__line" data-line-number="8"> add [options] <slug> <domain> Add an exact email domain to an access group</span>
|
|
4558
|
+
<span class="t-code__line" data-line-number="9"> remove [options] <slug> <domain> Remove an exact email domain from an access</span>
|
|
4559
|
+
<span class="t-code__line" data-line-number="10"> group</span>
|
|
4560
|
+
<span class="t-code__line" data-line-number="11"> help [command] display help for command</span>
|
|
4561
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4562
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4563
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
4564
|
+
</svg>
|
|
4565
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4566
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4567
|
+
</svg></button>
|
|
4568
|
+
</div>
|
|
4569
|
+
<h5 id="" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="5" data-scalar-type="heading">add</h5>
|
|
4570
|
+
<div id="Wxjr7PxooR12Cgbg3BQoM" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4571
|
+
<pre style="
|
|
4572
|
+
--line-digits: 2;
|
|
4573
|
+
--line-number-start: -1;
|
|
4574
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-plaintext" language="plaintext"><span class="t-code__line" data-line-number="0">Usage: scalar access-group domain add [options] <slug> <domain></span>
|
|
4575
|
+
<span class="t-code__line" data-line-number="1"></span>
|
|
4576
|
+
<span class="t-code__line" data-line-number="2">Add an exact email domain to an access group</span>
|
|
4577
|
+
<span class="t-code__line" data-line-number="3"></span>
|
|
4578
|
+
<span class="t-code__line" data-line-number="4">Arguments:</span>
|
|
4579
|
+
<span class="t-code__line" data-line-number="5"> slug Access group slug</span>
|
|
4580
|
+
<span class="t-code__line" data-line-number="6"> domain Email domain, such as example.com</span>
|
|
4581
|
+
<span class="t-code__line" data-line-number="7"></span>
|
|
4582
|
+
<span class="t-code__line" data-line-number="8">Options:</span>
|
|
4583
|
+
<span class="t-code__line" data-line-number="9"> --json Print the result as JSON</span>
|
|
4584
|
+
<span class="t-code__line" data-line-number="10"> -h, --help display help for command</span>
|
|
4585
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4586
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4587
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
4588
|
+
</svg>
|
|
4589
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4590
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4591
|
+
</svg></button>
|
|
4592
|
+
</div>
|
|
4593
|
+
<h5 id="" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="5" data-scalar-type="heading">remove</h5>
|
|
4594
|
+
<div id="FD69vTKSkuuql4zFbrs6n" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4595
|
+
<pre style="
|
|
4596
|
+
--line-digits: 2;
|
|
4597
|
+
--line-number-start: -1;
|
|
4598
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-plaintext" language="plaintext"><span class="t-code__line" data-line-number="0">Usage: scalar access-group domain remove [options] <slug> <domain></span>
|
|
4599
|
+
<span class="t-code__line" data-line-number="1"></span>
|
|
4600
|
+
<span class="t-code__line" data-line-number="2">Remove an exact email domain from an access group</span>
|
|
4601
|
+
<span class="t-code__line" data-line-number="3"></span>
|
|
4602
|
+
<span class="t-code__line" data-line-number="4">Arguments:</span>
|
|
4603
|
+
<span class="t-code__line" data-line-number="5"> slug Access group slug</span>
|
|
4604
|
+
<span class="t-code__line" data-line-number="6"> domain Email domain, such as example.com</span>
|
|
4605
|
+
<span class="t-code__line" data-line-number="7"></span>
|
|
4606
|
+
<span class="t-code__line" data-line-number="8">Options:</span>
|
|
4607
|
+
<span class="t-code__line" data-line-number="9"> --json Print the result as JSON</span>
|
|
4608
|
+
<span class="t-code__line" data-line-number="10"> -h, --help display help for command</span>
|
|
4609
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4610
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4611
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
4612
|
+
</svg>
|
|
4613
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4614
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4615
|
+
</svg></button>
|
|
4616
|
+
</div>
|
|
4194
4617
|
<h3 id="document" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="3" data-scalar-type="heading">
|
|
4195
4618
|
document
|
|
4196
4619
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
@@ -4200,7 +4623,7 @@ blockquote.t-editor__quote > * {
|
|
|
4200
4623
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4201
4624
|
</svg></button>
|
|
4202
4625
|
</h3>
|
|
4203
|
-
<div id="
|
|
4626
|
+
<div id="29YDrUTPHWIWJGgOH0H06" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4204
4627
|
<pre style="
|
|
4205
4628
|
--line-digits: 2;
|
|
4206
4629
|
--line-number-start: -1;
|
|
@@ -4212,20 +4635,28 @@ blockquote.t-editor__quote > * {
|
|
|
4212
4635
|
<span class="t-code__line" data-line-number="5"> -h, --help display help for command</span>
|
|
4213
4636
|
<span class="t-code__line" data-line-number="6"></span>
|
|
4214
4637
|
<span class="t-code__line" data-line-number="7">Commands:</span>
|
|
4215
|
-
<span class="t-code__line" data-line-number="8"> bundle [options] [file|url] Bundle an OpenAPI document by resolving all
|
|
4216
|
-
<span class="t-code__line" data-line-number="9">
|
|
4217
|
-
<span class="t-code__line" data-line-number="10">
|
|
4218
|
-
<span class="t-code__line" data-line-number="11">
|
|
4219
|
-
<span class="t-code__line" data-line-number="12">
|
|
4220
|
-
<span class="t-code__line" data-line-number="13">
|
|
4221
|
-
<span class="t-code__line" data-line-number="14">
|
|
4222
|
-
<span class="t-code__line" data-line-number="15">
|
|
4223
|
-
<span class="t-code__line" data-line-number="16">
|
|
4224
|
-
<span class="t-code__line" data-line-number="17">
|
|
4225
|
-
<span class="t-code__line" data-line-number="18">
|
|
4226
|
-
<span class="t-code__line" data-line-number="19">
|
|
4227
|
-
<span class="t-code__line" data-line-number="20">
|
|
4228
|
-
<span class="t-code__line" data-line-number="21">
|
|
4638
|
+
<span class="t-code__line" data-line-number="8"> bundle [options] [file|url] Bundle an OpenAPI document by resolving all</span>
|
|
4639
|
+
<span class="t-code__line" data-line-number="9"> references and external dependencies</span>
|
|
4640
|
+
<span class="t-code__line" data-line-number="10"> split [options] [file|url] Split OpenAPI or AsyncAPI documents into small</span>
|
|
4641
|
+
<span class="t-code__line" data-line-number="11"> chunks</span>
|
|
4642
|
+
<span class="t-code__line" data-line-number="12"> join [options] <files...> Merge multiple OpenAPI or AsyncAPI documents</span>
|
|
4643
|
+
<span class="t-code__line" data-line-number="13"> into a single unified document</span>
|
|
4644
|
+
<span class="t-code__line" data-line-number="14"> format [options] [file|url] Format an OpenAPI or AsyncAPI file</span>
|
|
4645
|
+
<span class="t-code__line" data-line-number="15"> convert [options] [file|url] Convert a Postman collection to an OpenAPI</span>
|
|
4646
|
+
<span class="t-code__line" data-line-number="16"> document</span>
|
|
4647
|
+
<span class="t-code__line" data-line-number="17"> markdown [options] [file|url] Generate Markdown from an OpenAPI file</span>
|
|
4648
|
+
<span class="t-code__line" data-line-number="18"> mock [options] [file|url] Mock an OpenAPI API or AsyncAPI WebSocket and</span>
|
|
4649
|
+
<span class="t-code__line" data-line-number="19"> SSE channels</span>
|
|
4650
|
+
<span class="t-code__line" data-line-number="20"> serve [options] [file|url] Serve an API Reference from an OpenAPI or</span>
|
|
4651
|
+
<span class="t-code__line" data-line-number="21"> AsyncAPI file</span>
|
|
4652
|
+
<span class="t-code__line" data-line-number="22"> share [options] [file] Share an OpenAPI or AsyncAPI file</span>
|
|
4653
|
+
<span class="t-code__line" data-line-number="23"> validate [file|url] Validate an OpenAPI or AsyncAPI file</span>
|
|
4654
|
+
<span class="t-code__line" data-line-number="24"> void [options] Boot a server to mirror HTTP requests</span>
|
|
4655
|
+
<span class="t-code__line" data-line-number="25"> lint [options] [file|url] Lint your OpenAPI or AsyncAPI file using</span>
|
|
4656
|
+
<span class="t-code__line" data-line-number="26"> spectral rules</span>
|
|
4657
|
+
<span class="t-code__line" data-line-number="27"> upgrade [options] [file|url] Upgrade an OpenAPI or AsyncAPI document to</span>
|
|
4658
|
+
<span class="t-code__line" data-line-number="28"> version 3.1</span>
|
|
4659
|
+
<span class="t-code__line" data-line-number="29"> help [command] display help for command</span>
|
|
4229
4660
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4230
4661
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4231
4662
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -4243,7 +4674,7 @@ blockquote.t-editor__quote > * {
|
|
|
4243
4674
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4244
4675
|
</svg></button>
|
|
4245
4676
|
</h4>
|
|
4246
|
-
<div id="
|
|
4677
|
+
<div id="I2V9NHdWQ8AqH77fNR8hb" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4247
4678
|
<pre style="
|
|
4248
4679
|
--line-digits: 2;
|
|
4249
4680
|
--line-number-start: -1;
|
|
@@ -4258,8 +4689,9 @@ blockquote.t-editor__quote > * {
|
|
|
4258
4689
|
<span class="t-code__line" data-line-number="8"> -o, --output <file> Path to save the bundled output file</span>
|
|
4259
4690
|
<span class="t-code__line" data-line-number="9"> --treeShake Remove unused components from the bundled output</span>
|
|
4260
4691
|
<span class="t-code__line" data-line-number="10"> --urlMap Generate a map of resolved URLs in the bundled output</span>
|
|
4261
|
-
<span class="t-code__line" data-line-number="11"> --fetchLimit <limit> Maximum number of URLs to fetch during bundling at the
|
|
4262
|
-
<span class="t-code__line" data-line-number="12">
|
|
4692
|
+
<span class="t-code__line" data-line-number="11"> --fetchLimit <limit> Maximum number of URLs to fetch during bundling at the</span>
|
|
4693
|
+
<span class="t-code__line" data-line-number="12"> same time</span>
|
|
4694
|
+
<span class="t-code__line" data-line-number="13"> -h, --help display help for command</span>
|
|
4263
4695
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4264
4696
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4265
4697
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -4277,8 +4709,7 @@ blockquote.t-editor__quote > * {
|
|
|
4277
4709
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4278
4710
|
</svg></button>
|
|
4279
4711
|
</h4>
|
|
4280
|
-
<
|
|
4281
|
-
<div id="anw21bK1VFFKkCyxthdn0" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4712
|
+
<div id="YMUVuFnxLhpr9w4Qa8E6h" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4282
4713
|
<pre style="
|
|
4283
4714
|
--line-digits: 2;
|
|
4284
4715
|
--line-number-start: -1;
|
|
@@ -4309,7 +4740,7 @@ blockquote.t-editor__quote > * {
|
|
|
4309
4740
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4310
4741
|
</svg></button>
|
|
4311
4742
|
</h4>
|
|
4312
|
-
<div id="
|
|
4743
|
+
<div id="SkgkHSJE0XFUusSBAUUd2" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4313
4744
|
<pre style="
|
|
4314
4745
|
--line-digits: 2;
|
|
4315
4746
|
--line-number-start: -1;
|
|
@@ -4341,7 +4772,7 @@ blockquote.t-editor__quote > * {
|
|
|
4341
4772
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4342
4773
|
</svg></button>
|
|
4343
4774
|
</h4>
|
|
4344
|
-
<div id="
|
|
4775
|
+
<div id="OrKt4rU7T2Ig3qU2OQL8Z" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4345
4776
|
<pre style="
|
|
4346
4777
|
--line-digits: 2;
|
|
4347
4778
|
--line-number-start: -1;
|
|
@@ -4372,7 +4803,7 @@ blockquote.t-editor__quote > * {
|
|
|
4372
4803
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4373
4804
|
</svg></button>
|
|
4374
4805
|
</h4>
|
|
4375
|
-
<div id="
|
|
4806
|
+
<div id="xiN4i8LVPp2HPZ2ptUQCP" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4376
4807
|
<pre style="
|
|
4377
4808
|
--line-digits: 2;
|
|
4378
4809
|
--line-number-start: -1;
|
|
@@ -4404,7 +4835,7 @@ blockquote.t-editor__quote > * {
|
|
|
4404
4835
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4405
4836
|
</svg></button>
|
|
4406
4837
|
</h4>
|
|
4407
|
-
<div id="
|
|
4838
|
+
<div id="8SFX3bmuN0kq8wdnIjpSX" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4408
4839
|
<pre style="
|
|
4409
4840
|
--line-digits: 2;
|
|
4410
4841
|
--line-number-start: -1;
|
|
@@ -4435,7 +4866,7 @@ blockquote.t-editor__quote > * {
|
|
|
4435
4866
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4436
4867
|
</svg></button>
|
|
4437
4868
|
</h4>
|
|
4438
|
-
<div id="
|
|
4869
|
+
<div id="ibbs84GXiybP4AULpcjYr" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4439
4870
|
<pre style="
|
|
4440
4871
|
--line-digits: 2;
|
|
4441
4872
|
--line-number-start: -1;
|
|
@@ -4468,7 +4899,7 @@ blockquote.t-editor__quote > * {
|
|
|
4468
4899
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4469
4900
|
</svg></button>
|
|
4470
4901
|
</h4>
|
|
4471
|
-
<div id="
|
|
4902
|
+
<div id="T37WJVHSWIfi3pm3RnbF3" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4472
4903
|
<pre style="
|
|
4473
4904
|
--line-digits: 2;
|
|
4474
4905
|
--line-number-start: -1;
|
|
@@ -4477,13 +4908,14 @@ blockquote.t-editor__quote > * {
|
|
|
4477
4908
|
<span class="t-code__line" data-line-number="2">Serve an API Reference from an OpenAPI or AsyncAPI file</span>
|
|
4478
4909
|
<span class="t-code__line" data-line-number="3"></span>
|
|
4479
4910
|
<span class="t-code__line" data-line-number="4">Arguments:</span>
|
|
4480
|
-
<span class="t-code__line" data-line-number="5"> file|url
|
|
4911
|
+
<span class="t-code__line" data-line-number="5"> file|url OpenAPI or AsyncAPI file or URL to show the reference for</span>
|
|
4481
4912
|
<span class="t-code__line" data-line-number="6"></span>
|
|
4482
4913
|
<span class="t-code__line" data-line-number="7">Options:</span>
|
|
4483
|
-
<span class="t-code__line" data-line-number="8"> -
|
|
4484
|
-
<span class="t-code__line" data-line-number="9"> -
|
|
4485
|
-
<span class="t-code__line" data-line-number="10"> -
|
|
4486
|
-
<span class="t-code__line" data-line-number="11"> -
|
|
4914
|
+
<span class="t-code__line" data-line-number="8"> -c, --config <file> JSON file with API Reference configuration</span>
|
|
4915
|
+
<span class="t-code__line" data-line-number="9"> -w, --watch watch the file for changes</span>
|
|
4916
|
+
<span class="t-code__line" data-line-number="10"> -o, --once run the server only once and exit after that</span>
|
|
4917
|
+
<span class="t-code__line" data-line-number="11"> -p, --port <port> set the HTTP port for the API reference server</span>
|
|
4918
|
+
<span class="t-code__line" data-line-number="12"> -h, --help display help for command</span>
|
|
4487
4919
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4488
4920
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4489
4921
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -4501,7 +4933,7 @@ blockquote.t-editor__quote > * {
|
|
|
4501
4933
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4502
4934
|
</svg></button>
|
|
4503
4935
|
</h4>
|
|
4504
|
-
<div id="
|
|
4936
|
+
<div id="LQQ9VebqPLP5XdYYdWtrG" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4505
4937
|
<pre style="
|
|
4506
4938
|
--line-digits: 2;
|
|
4507
4939
|
--line-number-start: -1;
|
|
@@ -4532,7 +4964,7 @@ blockquote.t-editor__quote > * {
|
|
|
4532
4964
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4533
4965
|
</svg></button>
|
|
4534
4966
|
</h4>
|
|
4535
|
-
<div id="
|
|
4967
|
+
<div id="0C1BL3O3nwmN3Jf6cufZ4" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4536
4968
|
<pre style="
|
|
4537
4969
|
--line-digits: 2;
|
|
4538
4970
|
--line-number-start: -1;
|
|
@@ -4562,7 +4994,7 @@ blockquote.t-editor__quote > * {
|
|
|
4562
4994
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4563
4995
|
</svg></button>
|
|
4564
4996
|
</h4>
|
|
4565
|
-
<div id="
|
|
4997
|
+
<div id="zgukqGHlh9VkPkNo9sIjp" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4566
4998
|
<pre style="
|
|
4567
4999
|
--line-digits: 2;
|
|
4568
5000
|
--line-number-start: -1;
|
|
@@ -4591,7 +5023,7 @@ blockquote.t-editor__quote > * {
|
|
|
4591
5023
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4592
5024
|
</svg></button>
|
|
4593
5025
|
</h4>
|
|
4594
|
-
<div id="
|
|
5026
|
+
<div id="6gEZ6ohZqSiu9Fx3QS20K" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4595
5027
|
<pre style="
|
|
4596
5028
|
--line-digits: 2;
|
|
4597
5029
|
--line-number-start: -1;
|
|
@@ -4622,7 +5054,7 @@ blockquote.t-editor__quote > * {
|
|
|
4622
5054
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4623
5055
|
</svg></button>
|
|
4624
5056
|
</h4>
|
|
4625
|
-
<div id="
|
|
5057
|
+
<div id="tyTZGGrRQ2hu1v3Q7XjVL" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4626
5058
|
<pre style="
|
|
4627
5059
|
--line-digits: 2;
|
|
4628
5060
|
--line-number-start: -1;
|
|
@@ -4653,7 +5085,7 @@ blockquote.t-editor__quote > * {
|
|
|
4653
5085
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4654
5086
|
</svg></button>
|
|
4655
5087
|
</h3>
|
|
4656
|
-
<div id="
|
|
5088
|
+
<div id="JP27aeZenDMm8DAaansS1" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4657
5089
|
<pre style="
|
|
4658
5090
|
--line-digits: 2;
|
|
4659
5091
|
--line-number-start: -1;
|
|
@@ -4667,13 +5099,16 @@ blockquote.t-editor__quote > * {
|
|
|
4667
5099
|
<span class="t-code__line" data-line-number="7">Commands:</span>
|
|
4668
5100
|
<span class="t-code__line" data-line-number="8"> init [options] Create a new Scalar Docs project.</span>
|
|
4669
5101
|
<span class="t-code__line" data-line-number="9"> check-config [file] Check a Scalar Configuration file</span>
|
|
4670
|
-
<span class="t-code__line" data-line-number="10"> create [options] Create a new project that is not linked to a
|
|
4671
|
-
<span class="t-code__line" data-line-number="11">
|
|
4672
|
-
<span class="t-code__line" data-line-number="12">
|
|
4673
|
-
<span class="t-code__line" data-line-number="13">
|
|
4674
|
-
<span class="t-code__line" data-line-number="14">
|
|
4675
|
-
<span class="t-code__line" data-line-number="15">
|
|
4676
|
-
<span class="t-code__line" data-line-number="16">
|
|
5102
|
+
<span class="t-code__line" data-line-number="10"> create [options] Create a new project that is not linked to a</span>
|
|
5103
|
+
<span class="t-code__line" data-line-number="11"> github project.</span>
|
|
5104
|
+
<span class="t-code__line" data-line-number="12"> preview [options] [config] Preview scalar guides</span>
|
|
5105
|
+
<span class="t-code__line" data-line-number="13"> publish [options] Publish new build for a github sync project that</span>
|
|
5106
|
+
<span class="t-code__line" data-line-number="14"> is not linked.</span>
|
|
5107
|
+
<span class="t-code__line" data-line-number="15"> rollback [options] Roll the live deployment back to a previously</span>
|
|
5108
|
+
<span class="t-code__line" data-line-number="16"> deployed build.</span>
|
|
5109
|
+
<span class="t-code__line" data-line-number="17"> deployments Inspect a project deployment history.</span>
|
|
5110
|
+
<span class="t-code__line" data-line-number="18"> upgrade [config] Upgrade scalar project</span>
|
|
5111
|
+
<span class="t-code__line" data-line-number="19"> help [command] display help for command</span>
|
|
4677
5112
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4678
5113
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4679
5114
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -4691,7 +5126,7 @@ blockquote.t-editor__quote > * {
|
|
|
4691
5126
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4692
5127
|
</svg></button>
|
|
4693
5128
|
</h4>
|
|
4694
|
-
<div id="
|
|
5129
|
+
<div id="AUQmsPejSIiHrP0N81MHc" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4695
5130
|
<pre style="
|
|
4696
5131
|
--line-digits: 2;
|
|
4697
5132
|
--line-number-start: -1;
|
|
@@ -4720,7 +5155,7 @@ blockquote.t-editor__quote > * {
|
|
|
4720
5155
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4721
5156
|
</svg></button>
|
|
4722
5157
|
</h4>
|
|
4723
|
-
<div id="
|
|
5158
|
+
<div id="tXpNwCPCypH631ACfF7Eq" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4724
5159
|
<pre style="
|
|
4725
5160
|
--line-digits: 2;
|
|
4726
5161
|
--line-number-start: -1;
|
|
@@ -4741,7 +5176,7 @@ blockquote.t-editor__quote > * {
|
|
|
4741
5176
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
4742
5177
|
</svg></button>
|
|
4743
5178
|
</div>
|
|
4744
|
-
<h4 id="create" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5179
|
+
<h4 id="create-1" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
4745
5180
|
create
|
|
4746
5181
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
4747
5182
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
@@ -4750,7 +5185,7 @@ blockquote.t-editor__quote > * {
|
|
|
4750
5185
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4751
5186
|
</svg></button>
|
|
4752
5187
|
</h4>
|
|
4753
|
-
<div id="
|
|
5188
|
+
<div id="RMGmJfRiHfLjxaMb1mpxj" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4754
5189
|
<pre style="
|
|
4755
5190
|
--line-digits: 2;
|
|
4756
5191
|
--line-number-start: -1;
|
|
@@ -4759,8 +5194,8 @@ blockquote.t-editor__quote > * {
|
|
|
4759
5194
|
<span class="t-code__line" data-line-number="2">Create a new project that is not linked to a github project.</span>
|
|
4760
5195
|
<span class="t-code__line" data-line-number="3"></span>
|
|
4761
5196
|
<span class="t-code__line" data-line-number="4">Options:</span>
|
|
4762
|
-
<span class="t-code__line" data-line-number="5"> -n, --name
|
|
4763
|
-
<span class="t-code__line" data-line-number="6"> -s, --slug
|
|
5197
|
+
<span class="t-code__line" data-line-number="5"> -n, --name <name> name of your project</span>
|
|
5198
|
+
<span class="t-code__line" data-line-number="6"> -s, --slug <slug> project slug</span>
|
|
4764
5199
|
<span class="t-code__line" data-line-number="7"> -h, --help display help for command</span>
|
|
4765
5200
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4766
5201
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
@@ -4779,7 +5214,7 @@ blockquote.t-editor__quote > * {
|
|
|
4779
5214
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4780
5215
|
</svg></button>
|
|
4781
5216
|
</h4>
|
|
4782
|
-
<div id="
|
|
5217
|
+
<div id="GwzHe9Jura2BBMRxpiFUz" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4783
5218
|
<pre style="
|
|
4784
5219
|
--line-digits: 2;
|
|
4785
5220
|
--line-number-start: -1;
|
|
@@ -4788,15 +5223,14 @@ blockquote.t-editor__quote > * {
|
|
|
4788
5223
|
<span class="t-code__line" data-line-number="2">Preview scalar guides</span>
|
|
4789
5224
|
<span class="t-code__line" data-line-number="3"></span>
|
|
4790
5225
|
<span class="t-code__line" data-line-number="4">Arguments:</span>
|
|
4791
|
-
<span class="t-code__line" data-line-number="5"> config
|
|
5226
|
+
<span class="t-code__line" data-line-number="5"> config Path to the Scalar configuration file (usually `scalar.config.json5` or `scalar.config.json`)</span>
|
|
4792
5227
|
<span class="t-code__line" data-line-number="6"></span>
|
|
4793
5228
|
<span class="t-code__line" data-line-number="7">Options:</span>
|
|
4794
|
-
<span class="t-code__line" data-line-number="8"> -p, --port [port]
|
|
4795
|
-
<span class="t-code__line" data-line-number="9"> -
|
|
4796
|
-
<span class="t-code__line" data-line-number="10"> -L, --log-level <level>
|
|
4797
|
-
<span class="t-code__line" data-line-number="11"> -
|
|
4798
|
-
<span class="t-code__line" data-line-number="12"> -
|
|
4799
|
-
<span class="t-code__line" data-line-number="13"> --help display help for command</span>
|
|
5229
|
+
<span class="t-code__line" data-line-number="8"> -p, --port [port] port to run the server on. If the port is not available, it will select another one. (default: "7970")</span>
|
|
5230
|
+
<span class="t-code__line" data-line-number="9"> -H, --host [host] Specify which IP addresses the server should listen on.</span>
|
|
5231
|
+
<span class="t-code__line" data-line-number="10"> -L, --log-level <level> Set the log level (choices: "debug", "info", default: "info")</span>
|
|
5232
|
+
<span class="t-code__line" data-line-number="11"> -N, --no-open Do not open the browser automatically</span>
|
|
5233
|
+
<span class="t-code__line" data-line-number="12"> -h, --help display help for command</span>
|
|
4800
5234
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4801
5235
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4802
5236
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -4814,7 +5248,7 @@ blockquote.t-editor__quote > * {
|
|
|
4814
5248
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4815
5249
|
</svg></button>
|
|
4816
5250
|
</h4>
|
|
4817
|
-
<div id="
|
|
5251
|
+
<div id="jApslQgNOQyAJDdidHZ0u" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4818
5252
|
<pre style="
|
|
4819
5253
|
--line-digits: 2;
|
|
4820
5254
|
--line-number-start: -1;
|
|
@@ -4845,7 +5279,7 @@ blockquote.t-editor__quote > * {
|
|
|
4845
5279
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4846
5280
|
</svg></button>
|
|
4847
5281
|
</h4>
|
|
4848
|
-
<div id="
|
|
5282
|
+
<div id="aApG5LNdToLieZmWGrzQo" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4849
5283
|
<pre style="
|
|
4850
5284
|
--line-digits: 2;
|
|
4851
5285
|
--line-number-start: -1;
|
|
@@ -4855,9 +5289,10 @@ blockquote.t-editor__quote > * {
|
|
|
4855
5289
|
<span class="t-code__line" data-line-number="3"></span>
|
|
4856
5290
|
<span class="t-code__line" data-line-number="4">Options:</span>
|
|
4857
5291
|
<span class="t-code__line" data-line-number="5"> -s, --slug [slug] Project slug found in Scalar Dashboard</span>
|
|
4858
|
-
<span class="t-code__line" data-line-number="6"> -t, --to <publishUid> Roll back to a specific build id (defaults to the next
|
|
4859
|
-
<span class="t-code__line" data-line-number="7">
|
|
4860
|
-
<span class="t-code__line" data-line-number="8"> -
|
|
5292
|
+
<span class="t-code__line" data-line-number="6"> -t, --to <publishUid> Roll back to a specific build id (defaults to the next</span>
|
|
5293
|
+
<span class="t-code__line" data-line-number="7"> older deployed build)</span>
|
|
5294
|
+
<span class="t-code__line" data-line-number="8"> -y, --yes Skip the confirmation prompt</span>
|
|
5295
|
+
<span class="t-code__line" data-line-number="9"> -h, --help display help for command</span>
|
|
4861
5296
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4862
5297
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4863
5298
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -4875,7 +5310,7 @@ blockquote.t-editor__quote > * {
|
|
|
4875
5310
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4876
5311
|
</svg></button>
|
|
4877
5312
|
</h4>
|
|
4878
|
-
<div id="
|
|
5313
|
+
<div id="FUInG0sNm64BueCCnKSCr" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4879
5314
|
<pre style="
|
|
4880
5315
|
--line-digits: 2;
|
|
4881
5316
|
--line-number-start: -1;
|
|
@@ -4898,7 +5333,7 @@ blockquote.t-editor__quote > * {
|
|
|
4898
5333
|
</svg></button>
|
|
4899
5334
|
</div>
|
|
4900
5335
|
<h5 id="" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="5" data-scalar-type="heading">list</h5>
|
|
4901
|
-
<div id="
|
|
5336
|
+
<div id="diw1l2Xt4PZWIC4r9wBVI" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4902
5337
|
<pre style="
|
|
4903
5338
|
--line-digits: 2;
|
|
4904
5339
|
--line-number-start: -1;
|
|
@@ -4926,7 +5361,7 @@ blockquote.t-editor__quote > * {
|
|
|
4926
5361
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4927
5362
|
</svg></button>
|
|
4928
5363
|
</h4>
|
|
4929
|
-
<div id="
|
|
5364
|
+
<div id="D2ZBjd9PnpPe0QvODoKrz" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4930
5365
|
<pre style="
|
|
4931
5366
|
--line-digits: 2;
|
|
4932
5367
|
--line-number-start: -1;
|
|
@@ -4935,10 +5370,11 @@ blockquote.t-editor__quote > * {
|
|
|
4935
5370
|
<span class="t-code__line" data-line-number="2">Upgrade scalar project</span>
|
|
4936
5371
|
<span class="t-code__line" data-line-number="3"></span>
|
|
4937
5372
|
<span class="t-code__line" data-line-number="4">Arguments:</span>
|
|
4938
|
-
<span class="t-code__line" data-line-number="5"> config Path to the Scalar configuration file (usually
|
|
4939
|
-
<span class="t-code__line" data-line-number="6"
|
|
4940
|
-
<span class="t-code__line" data-line-number="7"
|
|
4941
|
-
<span class="t-code__line" data-line-number="8">
|
|
5373
|
+
<span class="t-code__line" data-line-number="5"> config Path to the Scalar configuration file (usually</span>
|
|
5374
|
+
<span class="t-code__line" data-line-number="6"> `scalar.config.json5` or `scalar.config.json`)</span>
|
|
5375
|
+
<span class="t-code__line" data-line-number="7"></span>
|
|
5376
|
+
<span class="t-code__line" data-line-number="8">Options:</span>
|
|
5377
|
+
<span class="t-code__line" data-line-number="9"> -h, --help display help for command</span>
|
|
4942
5378
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4943
5379
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4944
5380
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -4956,7 +5392,7 @@ blockquote.t-editor__quote > * {
|
|
|
4956
5392
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4957
5393
|
</svg></button>
|
|
4958
5394
|
</h3>
|
|
4959
|
-
<div id="
|
|
5395
|
+
<div id="MBETshQ9wtDQazuE9b1Jf" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4960
5396
|
<pre style="
|
|
4961
5397
|
--line-digits: 2;
|
|
4962
5398
|
--line-number-start: -1;
|
|
@@ -4968,12 +5404,16 @@ blockquote.t-editor__quote > * {
|
|
|
4968
5404
|
<span class="t-code__line" data-line-number="5"> -h, --help display help for command</span>
|
|
4969
5405
|
<span class="t-code__line" data-line-number="6"></span>
|
|
4970
5406
|
<span class="t-code__line" data-line-number="7">Commands:</span>
|
|
4971
|
-
<span class="t-code__line" data-line-number="8"> publish [options] [file] Publish an OpenAPI document to the Scalar
|
|
4972
|
-
<span class="t-code__line" data-line-number="9">
|
|
4973
|
-
<span class="t-code__line" data-line-number="10">
|
|
4974
|
-
<span class="t-code__line" data-line-number="11">
|
|
4975
|
-
<span class="t-code__line" data-line-number="12">
|
|
4976
|
-
<span class="t-code__line" data-line-number="13">
|
|
5407
|
+
<span class="t-code__line" data-line-number="8"> publish [options] [file] Publish an OpenAPI document to the Scalar</span>
|
|
5408
|
+
<span class="t-code__line" data-line-number="9"> registry</span>
|
|
5409
|
+
<span class="t-code__line" data-line-number="10"> update [options] [namespace] [slug] Update document metadata on scalar</span>
|
|
5410
|
+
<span class="t-code__line" data-line-number="11"> registry</span>
|
|
5411
|
+
<span class="t-code__line" data-line-number="12"> delete [namespace] [slug] Delete a document from scalar registry</span>
|
|
5412
|
+
<span class="t-code__line" data-line-number="13"> list [options] List all registry APIs for a team</span>
|
|
5413
|
+
<span class="t-code__line" data-line-number="14"> namespace</span>
|
|
5414
|
+
<span class="t-code__line" data-line-number="15"> get [options] [namespace] [slug] Get a document version from scalar</span>
|
|
5415
|
+
<span class="t-code__line" data-line-number="16"> registry</span>
|
|
5416
|
+
<span class="t-code__line" data-line-number="17"> help [command] display help for command</span>
|
|
4977
5417
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4978
5418
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4979
5419
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -4991,7 +5431,7 @@ blockquote.t-editor__quote > * {
|
|
|
4991
5431
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
4992
5432
|
</svg></button>
|
|
4993
5433
|
</h4>
|
|
4994
|
-
<div id="
|
|
5434
|
+
<div id="Aelq8Ih1iJbZSgUqqMTWu" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4995
5435
|
<pre style="
|
|
4996
5436
|
--line-digits: 2;
|
|
4997
5437
|
--line-number-start: -1;
|
|
@@ -5003,17 +5443,20 @@ blockquote.t-editor__quote > * {
|
|
|
5003
5443
|
<span class="t-code__line" data-line-number="5"> file OpenAPI file to upload</span>
|
|
5004
5444
|
<span class="t-code__line" data-line-number="6"></span>
|
|
5005
5445
|
<span class="t-code__line" data-line-number="7">Options:</span>
|
|
5006
|
-
<span class="t-code__line" data-line-number="8"> --slug <slug> Slug identifier for the registry entry. Defaults to
|
|
5007
|
-
<span class="t-code__line" data-line-number="9">
|
|
5008
|
-
<span class="t-code__line" data-line-number="10"> --
|
|
5009
|
-
<span class="t-code__line" data-line-number="11"> --
|
|
5010
|
-
<span class="t-code__line" data-line-number="12"> --
|
|
5011
|
-
<span class="t-code__line" data-line-number="13"> --
|
|
5012
|
-
<span class="t-code__line" data-line-number="14"> --
|
|
5013
|
-
<span class="t-code__line" data-line-number="15"> --
|
|
5014
|
-
<span class="t-code__line" data-line-number="16"> --
|
|
5015
|
-
<span class="t-code__line" data-line-number="17"> --
|
|
5016
|
-
<span class="t-code__line" data-line-number="18">
|
|
5446
|
+
<span class="t-code__line" data-line-number="8"> --slug <slug> Slug identifier for the registry entry. Defaults to</span>
|
|
5447
|
+
<span class="t-code__line" data-line-number="9"> title.</span>
|
|
5448
|
+
<span class="t-code__line" data-line-number="10"> --namespace <namespace> Scalar team namespace</span>
|
|
5449
|
+
<span class="t-code__line" data-line-number="11"> --version <version> API version (e.g. 0.1.0)</span>
|
|
5450
|
+
<span class="t-code__line" data-line-number="12"> --private Make API private (default: false)</span>
|
|
5451
|
+
<span class="t-code__line" data-line-number="13"> --no-current Do not set as the current version</span>
|
|
5452
|
+
<span class="t-code__line" data-line-number="14"> --force Force override an existing version (default: false)</span>
|
|
5453
|
+
<span class="t-code__line" data-line-number="15"> --bundle Bundle all external references before uploading</span>
|
|
5454
|
+
<span class="t-code__line" data-line-number="16"> --treeShake Remove unused components from the bundled document</span>
|
|
5455
|
+
<span class="t-code__line" data-line-number="17"> --urlMap Generate a map of resolved URLs when bundling the</span>
|
|
5456
|
+
<span class="t-code__line" data-line-number="18"> document</span>
|
|
5457
|
+
<span class="t-code__line" data-line-number="19"> --fetchLimit <limit> Maximum number of concurrent URLs to fetch when</span>
|
|
5458
|
+
<span class="t-code__line" data-line-number="20"> bundling the document</span>
|
|
5459
|
+
<span class="t-code__line" data-line-number="21"> -h, --help display help for command</span>
|
|
5017
5460
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
5018
5461
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5019
5462
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -5022,7 +5465,7 @@ blockquote.t-editor__quote > * {
|
|
|
5022
5465
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
5023
5466
|
</svg></button>
|
|
5024
5467
|
</div>
|
|
5025
|
-
<h4 id="update" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5468
|
+
<h4 id="update-1" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5026
5469
|
update
|
|
5027
5470
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
5028
5471
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
@@ -5031,7 +5474,7 @@ blockquote.t-editor__quote > * {
|
|
|
5031
5474
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5032
5475
|
</svg></button>
|
|
5033
5476
|
</h4>
|
|
5034
|
-
<div id="
|
|
5477
|
+
<div id="ssonVlkMjDCIpiR13ga3C" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5035
5478
|
<pre style="
|
|
5036
5479
|
--line-digits: 2;
|
|
5037
5480
|
--line-number-start: -1;
|
|
@@ -5055,7 +5498,7 @@ blockquote.t-editor__quote > * {
|
|
|
5055
5498
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
5056
5499
|
</svg></button>
|
|
5057
5500
|
</div>
|
|
5058
|
-
<h4 id="delete" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5501
|
+
<h4 id="delete-1" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5059
5502
|
delete
|
|
5060
5503
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
5061
5504
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
@@ -5064,7 +5507,7 @@ blockquote.t-editor__quote > * {
|
|
|
5064
5507
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5065
5508
|
</svg></button>
|
|
5066
5509
|
</h4>
|
|
5067
|
-
<div id="
|
|
5510
|
+
<div id="JSv048XI4lGTqMskTR8g6" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5068
5511
|
<pre style="
|
|
5069
5512
|
--line-digits: 2;
|
|
5070
5513
|
--line-number-start: -1;
|
|
@@ -5095,7 +5538,7 @@ blockquote.t-editor__quote > * {
|
|
|
5095
5538
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5096
5539
|
</svg></button>
|
|
5097
5540
|
</h4>
|
|
5098
|
-
<div id="
|
|
5541
|
+
<div id="tacd01Adg6V3t5wVCTEpb" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5099
5542
|
<pre style="
|
|
5100
5543
|
--line-digits: 2;
|
|
5101
5544
|
--line-number-start: -1;
|
|
@@ -5114,7 +5557,7 @@ blockquote.t-editor__quote > * {
|
|
|
5114
5557
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
5115
5558
|
</svg></button>
|
|
5116
5559
|
</div>
|
|
5117
|
-
<h4 id="get" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5560
|
+
<h4 id="get-1" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5118
5561
|
get
|
|
5119
5562
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
5120
5563
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
@@ -5123,7 +5566,7 @@ blockquote.t-editor__quote > * {
|
|
|
5123
5566
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5124
5567
|
</svg></button>
|
|
5125
5568
|
</h4>
|
|
5126
|
-
<div id="
|
|
5569
|
+
<div id="PbyvstZJ5nCbLRHgGuLdL" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5127
5570
|
<pre style="
|
|
5128
5571
|
--line-digits: 2;
|
|
5129
5572
|
--line-number-start: -1;
|
|
@@ -5157,7 +5600,7 @@ blockquote.t-editor__quote > * {
|
|
|
5157
5600
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5158
5601
|
</svg></button>
|
|
5159
5602
|
</h3>
|
|
5160
|
-
<div id="
|
|
5603
|
+
<div id="0VS2NtmTIhxExfNyhKPB5" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5161
5604
|
<pre style="
|
|
5162
5605
|
--line-digits: 2;
|
|
5163
5606
|
--line-number-start: -1;
|
|
@@ -5189,7 +5632,7 @@ blockquote.t-editor__quote > * {
|
|
|
5189
5632
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5190
5633
|
</svg></button>
|
|
5191
5634
|
</h4>
|
|
5192
|
-
<div id="
|
|
5635
|
+
<div id="vMuxVJHmQeuKuMbFHjOl7" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5193
5636
|
<pre style="
|
|
5194
5637
|
--line-digits: 2;
|
|
5195
5638
|
--line-number-start: -1;
|
|
@@ -5216,7 +5659,7 @@ blockquote.t-editor__quote > * {
|
|
|
5216
5659
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5217
5660
|
</svg></button>
|
|
5218
5661
|
</h4>
|
|
5219
|
-
<div id="
|
|
5662
|
+
<div id="UsoSn2tz3PNfa1Og7wUDx" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5220
5663
|
<pre style="
|
|
5221
5664
|
--line-digits: 2;
|
|
5222
5665
|
--line-number-start: -1;
|
|
@@ -5244,7 +5687,7 @@ blockquote.t-editor__quote > * {
|
|
|
5244
5687
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5245
5688
|
</svg></button>
|
|
5246
5689
|
</h3>
|
|
5247
|
-
<div id="
|
|
5690
|
+
<div id="XQTKBZOSYqO0QqMd8E7ls" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5248
5691
|
<pre style="
|
|
5249
5692
|
--line-digits: 2;
|
|
5250
5693
|
--line-number-start: -1;
|
|
@@ -5257,11 +5700,12 @@ blockquote.t-editor__quote > * {
|
|
|
5257
5700
|
<span class="t-code__line" data-line-number="6"></span>
|
|
5258
5701
|
<span class="t-code__line" data-line-number="7">Commands:</span>
|
|
5259
5702
|
<span class="t-code__line" data-line-number="8"> list [options] List all SDKs for a team namespace</span>
|
|
5260
|
-
<span class="t-code__line" data-line-number="9"> create [options] Create a new SDK
|
|
5261
|
-
<span class="t-code__line" data-line-number="10">
|
|
5262
|
-
<span class="t-code__line" data-line-number="11">
|
|
5263
|
-
<span class="t-code__line" data-line-number="12">
|
|
5264
|
-
<span class="t-code__line" data-line-number="13">
|
|
5703
|
+
<span class="t-code__line" data-line-number="9"> create [options] Create a new SDK. The SDK is created in the namespace of the</span>
|
|
5704
|
+
<span class="t-code__line" data-line-number="10"> API it is built from.</span>
|
|
5705
|
+
<span class="t-code__line" data-line-number="11"> update [options] Update SDK metadata.</span>
|
|
5706
|
+
<span class="t-code__line" data-line-number="12"> delete [options] Delete an SDK.</span>
|
|
5707
|
+
<span class="t-code__line" data-line-number="13"> build [options] Build an SDK.</span>
|
|
5708
|
+
<span class="t-code__line" data-line-number="14"> help [command] display help for command</span>
|
|
5265
5709
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
5266
5710
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5267
5711
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -5279,7 +5723,7 @@ blockquote.t-editor__quote > * {
|
|
|
5279
5723
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5280
5724
|
</svg></button>
|
|
5281
5725
|
</h4>
|
|
5282
|
-
<div id="
|
|
5726
|
+
<div id="7SsryxllbiDrzCjuFmKxV" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5283
5727
|
<pre style="
|
|
5284
5728
|
--line-digits: 2;
|
|
5285
5729
|
--line-number-start: -1;
|
|
@@ -5298,7 +5742,7 @@ blockquote.t-editor__quote > * {
|
|
|
5298
5742
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
5299
5743
|
</svg></button>
|
|
5300
5744
|
</div>
|
|
5301
|
-
<h4 id="create-
|
|
5745
|
+
<h4 id="create-2" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5302
5746
|
create
|
|
5303
5747
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
5304
5748
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
@@ -5307,19 +5751,22 @@ blockquote.t-editor__quote > * {
|
|
|
5307
5751
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5308
5752
|
</svg></button>
|
|
5309
5753
|
</h4>
|
|
5310
|
-
<div id="
|
|
5754
|
+
<div id="CUNKBkbtMZVRox1GuiZK2" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5311
5755
|
<pre style="
|
|
5312
5756
|
--line-digits: 2;
|
|
5313
5757
|
--line-number-start: -1;
|
|
5314
5758
|
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-plaintext" language="plaintext"><span class="t-code__line" data-line-number="0">Usage: scalar sdk create [options]</span>
|
|
5315
5759
|
<span class="t-code__line" data-line-number="1"></span>
|
|
5316
|
-
<span class="t-code__line" data-line-number="2">Create a new SDK
|
|
5317
|
-
<span class="t-code__line" data-line-number="3"
|
|
5318
|
-
<span class="t-code__line" data-line-number="4"
|
|
5319
|
-
<span class="t-code__line" data-line-number="5">
|
|
5320
|
-
<span class="t-code__line" data-line-number="6"> -
|
|
5321
|
-
<span class="t-code__line" data-line-number="7"> -
|
|
5322
|
-
<span class="t-code__line" data-line-number="8"> -
|
|
5760
|
+
<span class="t-code__line" data-line-number="2">Create a new SDK. The SDK is created in the namespace of the API it is built</span>
|
|
5761
|
+
<span class="t-code__line" data-line-number="3">from.</span>
|
|
5762
|
+
<span class="t-code__line" data-line-number="4"></span>
|
|
5763
|
+
<span class="t-code__line" data-line-number="5">Options:</span>
|
|
5764
|
+
<span class="t-code__line" data-line-number="6"> -a, --api <api> Registry API slug</span>
|
|
5765
|
+
<span class="t-code__line" data-line-number="7"> -n, --namespace <namespace> Team namespace to look the API up in</span>
|
|
5766
|
+
<span class="t-code__line" data-line-number="8"> -l, --language <language> Language of your SDK (choices: "typescript",</span>
|
|
5767
|
+
<span class="t-code__line" data-line-number="9"> "python", "cli", "csharp", "java", "ruby", "php",</span>
|
|
5768
|
+
<span class="t-code__line" data-line-number="10"> "go", "rust", "kotlin", "swift", "cpp", "dart")</span>
|
|
5769
|
+
<span class="t-code__line" data-line-number="11"> -h, --help display help for command</span>
|
|
5323
5770
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
5324
5771
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5325
5772
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -5328,7 +5775,7 @@ blockquote.t-editor__quote > * {
|
|
|
5328
5775
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
5329
5776
|
</svg></button>
|
|
5330
5777
|
</div>
|
|
5331
|
-
<h4 id="update-
|
|
5778
|
+
<h4 id="update-2" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5332
5779
|
update
|
|
5333
5780
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
5334
5781
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
@@ -5337,7 +5784,7 @@ blockquote.t-editor__quote > * {
|
|
|
5337
5784
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5338
5785
|
</svg></button>
|
|
5339
5786
|
</h4>
|
|
5340
|
-
<div id="
|
|
5787
|
+
<div id="nUIOp1IElApWY3yGhBfq7" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5341
5788
|
<pre style="
|
|
5342
5789
|
--line-digits: 2;
|
|
5343
5790
|
--line-number-start: -1;
|
|
@@ -5349,7 +5796,7 @@ blockquote.t-editor__quote > * {
|
|
|
5349
5796
|
<span class="t-code__line" data-line-number="5"> -s, --slug <slug> SDK slug</span>
|
|
5350
5797
|
<span class="t-code__line" data-line-number="6"> -n, --namespace <namespace> Team namespace</span>
|
|
5351
5798
|
<span class="t-code__line" data-line-number="7"> --title <title> Title</span>
|
|
5352
|
-
<span class="t-code__line" data-line-number="8"> --isPrivate <isPrivate> Privacy (public/private)</span>
|
|
5799
|
+
<span class="t-code__line" data-line-number="8"> --isPrivate <isPrivate> Privacy (true/false or public/private)</span>
|
|
5353
5800
|
<span class="t-code__line" data-line-number="9"> -h, --help display help for command</span>
|
|
5354
5801
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
5355
5802
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
@@ -5359,7 +5806,7 @@ blockquote.t-editor__quote > * {
|
|
|
5359
5806
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
5360
5807
|
</svg></button>
|
|
5361
5808
|
</div>
|
|
5362
|
-
<h4 id="delete-
|
|
5809
|
+
<h4 id="delete-2" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5363
5810
|
delete
|
|
5364
5811
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
5365
5812
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
@@ -5368,7 +5815,7 @@ blockquote.t-editor__quote > * {
|
|
|
5368
5815
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5369
5816
|
</svg></button>
|
|
5370
5817
|
</h4>
|
|
5371
|
-
<div id="
|
|
5818
|
+
<div id="mJiy3SN8ZqWKx7iHiAF4g" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5372
5819
|
<pre style="
|
|
5373
5820
|
--line-digits: 2;
|
|
5374
5821
|
--line-number-start: -1;
|
|
@@ -5397,19 +5844,18 @@ blockquote.t-editor__quote > * {
|
|
|
5397
5844
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5398
5845
|
</svg></button>
|
|
5399
5846
|
</h4>
|
|
5400
|
-
<div id="
|
|
5847
|
+
<div id="m99HZOKn3soeJ7NSGRhVW" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5401
5848
|
<pre style="
|
|
5402
5849
|
--line-digits: 2;
|
|
5403
5850
|
--line-number-start: -1;
|
|
5404
5851
|
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-plaintext" language="plaintext"><span class="t-code__line" data-line-number="0">Usage: scalar sdk build [options]</span>
|
|
5405
5852
|
<span class="t-code__line" data-line-number="1"></span>
|
|
5406
|
-
<span class="t-code__line" data-line-number="2">
|
|
5853
|
+
<span class="t-code__line" data-line-number="2">Build an SDK.</span>
|
|
5407
5854
|
<span class="t-code__line" data-line-number="3"></span>
|
|
5408
5855
|
<span class="t-code__line" data-line-number="4">Options:</span>
|
|
5409
5856
|
<span class="t-code__line" data-line-number="5"> -s, --slug <slug> SDK slug</span>
|
|
5410
5857
|
<span class="t-code__line" data-line-number="6"> -n, --namespace <namespace> Team namespace</span>
|
|
5411
|
-
<span class="t-code__line" data-line-number="7"> -
|
|
5412
|
-
<span class="t-code__line" data-line-number="8"> -h, --help display help for command</span>
|
|
5858
|
+
<span class="t-code__line" data-line-number="7"> -h, --help display help for command</span>
|
|
5413
5859
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
5414
5860
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5415
5861
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -5427,7 +5873,7 @@ blockquote.t-editor__quote > * {
|
|
|
5427
5873
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5428
5874
|
</svg></button>
|
|
5429
5875
|
</h3>
|
|
5430
|
-
<div id="
|
|
5876
|
+
<div id="J3EPD4hDibJbhAOp5HG6w" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5431
5877
|
<pre style="
|
|
5432
5878
|
--line-digits: 2;
|
|
5433
5879
|
--line-number-start: -1;
|
|
@@ -5442,9 +5888,11 @@ blockquote.t-editor__quote > * {
|
|
|
5442
5888
|
<span class="t-code__line" data-line-number="8"> delete [options] Delete a schema.</span>
|
|
5443
5889
|
<span class="t-code__line" data-line-number="9"> update [options] Update schema metadata.</span>
|
|
5444
5890
|
<span class="t-code__line" data-line-number="10"> list [options] List all schemas for a team namespace</span>
|
|
5445
|
-
<span class="t-code__line" data-line-number="11"> get [options] [namespace] [slug] Get a schema document version from the
|
|
5446
|
-
<span class="t-code__line" data-line-number="12">
|
|
5447
|
-
<span class="t-code__line" data-line-number="13">
|
|
5891
|
+
<span class="t-code__line" data-line-number="11"> get [options] [namespace] [slug] Get a schema document version from the</span>
|
|
5892
|
+
<span class="t-code__line" data-line-number="12"> Scalar registry</span>
|
|
5893
|
+
<span class="t-code__line" data-line-number="13"> publish [options] [file] Publish a shared schema to the Scalar</span>
|
|
5894
|
+
<span class="t-code__line" data-line-number="14"> registry</span>
|
|
5895
|
+
<span class="t-code__line" data-line-number="15"> help [command] display help for command</span>
|
|
5448
5896
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
5449
5897
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5450
5898
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -5453,7 +5901,7 @@ blockquote.t-editor__quote > * {
|
|
|
5453
5901
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
5454
5902
|
</svg></button>
|
|
5455
5903
|
</div>
|
|
5456
|
-
<h4 id="delete-
|
|
5904
|
+
<h4 id="delete-3" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5457
5905
|
delete
|
|
5458
5906
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
5459
5907
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
@@ -5462,7 +5910,7 @@ blockquote.t-editor__quote > * {
|
|
|
5462
5910
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5463
5911
|
</svg></button>
|
|
5464
5912
|
</h4>
|
|
5465
|
-
<div id="
|
|
5913
|
+
<div id="g7NhawNn4Vw16XhaINthC" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5466
5914
|
<pre style="
|
|
5467
5915
|
--line-digits: 2;
|
|
5468
5916
|
--line-number-start: -1;
|
|
@@ -5482,7 +5930,7 @@ blockquote.t-editor__quote > * {
|
|
|
5482
5930
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
5483
5931
|
</svg></button>
|
|
5484
5932
|
</div>
|
|
5485
|
-
<h4 id="update-
|
|
5933
|
+
<h4 id="update-3" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5486
5934
|
update
|
|
5487
5935
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
5488
5936
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
@@ -5491,7 +5939,7 @@ blockquote.t-editor__quote > * {
|
|
|
5491
5939
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5492
5940
|
</svg></button>
|
|
5493
5941
|
</h4>
|
|
5494
|
-
<div id="
|
|
5942
|
+
<div id="p9fkwnVF7xttfTJUEFb4f" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5495
5943
|
<pre style="
|
|
5496
5944
|
--line-digits: 2;
|
|
5497
5945
|
--line-number-start: -1;
|
|
@@ -5504,7 +5952,7 @@ blockquote.t-editor__quote > * {
|
|
|
5504
5952
|
<span class="t-code__line" data-line-number="6"> -n, --namespace <namespace> Team namespace</span>
|
|
5505
5953
|
<span class="t-code__line" data-line-number="7"> --title <title> Title</span>
|
|
5506
5954
|
<span class="t-code__line" data-line-number="8"> --description <description> Description</span>
|
|
5507
|
-
<span class="t-code__line" data-line-number="9"> --isPrivate <isPrivate> Privacy (public/private)</span>
|
|
5955
|
+
<span class="t-code__line" data-line-number="9"> --isPrivate <isPrivate> Privacy (true/false or public/private)</span>
|
|
5508
5956
|
<span class="t-code__line" data-line-number="10"> -h, --help display help for command</span>
|
|
5509
5957
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
5510
5958
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
@@ -5523,7 +5971,7 @@ blockquote.t-editor__quote > * {
|
|
|
5523
5971
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5524
5972
|
</svg></button>
|
|
5525
5973
|
</h4>
|
|
5526
|
-
<div id="
|
|
5974
|
+
<div id="Vk6iPguMUfO9jlYGESPbd" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5527
5975
|
<pre style="
|
|
5528
5976
|
--line-digits: 2;
|
|
5529
5977
|
--line-number-start: -1;
|
|
@@ -5542,7 +5990,7 @@ blockquote.t-editor__quote > * {
|
|
|
5542
5990
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
5543
5991
|
</svg></button>
|
|
5544
5992
|
</div>
|
|
5545
|
-
<h4 id="get-
|
|
5993
|
+
<h4 id="get-2" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="4" data-scalar-type="heading">
|
|
5546
5994
|
get
|
|
5547
5995
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
5548
5996
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
@@ -5551,7 +5999,7 @@ blockquote.t-editor__quote > * {
|
|
|
5551
5999
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5552
6000
|
</svg></button>
|
|
5553
6001
|
</h4>
|
|
5554
|
-
<div id="
|
|
6002
|
+
<div id="Ate55CuO0c7IuFxgT5WXN" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5555
6003
|
<pre style="
|
|
5556
6004
|
--line-digits: 2;
|
|
5557
6005
|
--line-number-start: -1;
|
|
@@ -5585,7 +6033,7 @@ blockquote.t-editor__quote > * {
|
|
|
5585
6033
|
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
5586
6034
|
</svg></button>
|
|
5587
6035
|
</h4>
|
|
5588
|
-
<div id="
|
|
6036
|
+
<div id="u5rtY8SQk8DQkkFGrSAKG" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5589
6037
|
<pre style="
|
|
5590
6038
|
--line-digits: 2;
|
|
5591
6039
|
--line-number-start: -1;
|
|
@@ -5597,17 +6045,20 @@ blockquote.t-editor__quote > * {
|
|
|
5597
6045
|
<span class="t-code__line" data-line-number="5"> file OpenAPI file to upload</span>
|
|
5598
6046
|
<span class="t-code__line" data-line-number="6"></span>
|
|
5599
6047
|
<span class="t-code__line" data-line-number="7">Options:</span>
|
|
5600
|
-
<span class="t-code__line" data-line-number="8"> --slug <slug> Slug identifier for the registry entry. Defaults to
|
|
5601
|
-
<span class="t-code__line" data-line-number="9">
|
|
5602
|
-
<span class="t-code__line" data-line-number="10"> --
|
|
5603
|
-
<span class="t-code__line" data-line-number="11"> --
|
|
5604
|
-
<span class="t-code__line" data-line-number="12"> --
|
|
5605
|
-
<span class="t-code__line" data-line-number="13"> --
|
|
5606
|
-
<span class="t-code__line" data-line-number="14"> --
|
|
5607
|
-
<span class="t-code__line" data-line-number="15"> --
|
|
5608
|
-
<span class="t-code__line" data-line-number="16"> --
|
|
5609
|
-
<span class="t-code__line" data-line-number="17"> --
|
|
5610
|
-
<span class="t-code__line" data-line-number="18">
|
|
6048
|
+
<span class="t-code__line" data-line-number="8"> --slug <slug> Slug identifier for the registry entry. Defaults to</span>
|
|
6049
|
+
<span class="t-code__line" data-line-number="9"> title.</span>
|
|
6050
|
+
<span class="t-code__line" data-line-number="10"> --title <title> Schema title</span>
|
|
6051
|
+
<span class="t-code__line" data-line-number="11"> --namespace <namespace> Scalar team namespace</span>
|
|
6052
|
+
<span class="t-code__line" data-line-number="12"> --version <version> API version (e.g. 0.1.0)</span>
|
|
6053
|
+
<span class="t-code__line" data-line-number="13"> --private Make API private (default: false)</span>
|
|
6054
|
+
<span class="t-code__line" data-line-number="14"> --force Force override an existing version (default: false)</span>
|
|
6055
|
+
<span class="t-code__line" data-line-number="15"> --bundle Bundle all external references before uploading</span>
|
|
6056
|
+
<span class="t-code__line" data-line-number="16"> --treeShake Remove unused components from the bundled document</span>
|
|
6057
|
+
<span class="t-code__line" data-line-number="17"> --urlMap Generate a map of resolved URLs when bundling the</span>
|
|
6058
|
+
<span class="t-code__line" data-line-number="18"> document</span>
|
|
6059
|
+
<span class="t-code__line" data-line-number="19"> --fetchLimit <limit> Maximum number of concurrent URLs to fetch when</span>
|
|
6060
|
+
<span class="t-code__line" data-line-number="20"> bundling the document</span>
|
|
6061
|
+
<span class="t-code__line" data-line-number="21"> -h, --help display help for command</span>
|
|
5611
6062
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
5612
6063
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5613
6064
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -5616,6 +6067,50 @@ blockquote.t-editor__quote > * {
|
|
|
5616
6067
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
5617
6068
|
</svg></button>
|
|
5618
6069
|
</div>
|
|
6070
|
+
<h2 id="ai-agents" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
6071
|
+
AI agents
|
|
6072
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
6073
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
6074
|
+
</svg>
|
|
6075
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
6076
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
6077
|
+
</svg></button>
|
|
6078
|
+
</h2>
|
|
6079
|
+
<p class="t-editor__paragraph"><code inline="true" class="t-editor__inline-code">scalar context</code> prints the whole command tree as JSON: every command with its arguments, options, defaults, and choices, plus notes on running the CLI without prompts and what each exit code means. Point an agent at it instead of having it scrape <code inline="true" class="t-editor__inline-code">--help</code>:</p>
|
|
6080
|
+
<div id="L2Mb4xIapK4RfO3XZSIa6" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
6081
|
+
<pre style="
|
|
6082
|
+
--line-digits: 2;
|
|
6083
|
+
--line-number-start: -1;
|
|
6084
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-bash" language="bash"><span class="t-code__line" data-line-number="0">scalar context</span>
|
|
6085
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">bash
|
|
6086
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
6087
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
6088
|
+
</svg>
|
|
6089
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
6090
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
6091
|
+
</svg></button>
|
|
6092
|
+
</div>
|
|
6093
|
+
<p class="t-editor__paragraph">The CLI also ships an <a href="https://agentskills.io" class="t-editor__anchor">Agent Skill</a> at <code inline="true" class="t-editor__inline-code">skills/scalar-cli/SKILL.md</code>, in the npm package and in the <code inline="true" class="t-editor__inline-code">app</code> directory of the standalone archives. Copy it into your agent's skills directory to teach the agent how to use the CLI:</p>
|
|
6094
|
+
<div id="T2yElpyfR5DWk515Ek10r" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
6095
|
+
<pre style="
|
|
6096
|
+
--line-digits: 2;
|
|
6097
|
+
--line-number-start: -1;
|
|
6098
|
+
" class="t-editor__code custom-code custom-scroll" data-focus="" data-highlight="" data-added="" data-removed="" data-line-number-start="0"><code class="hljs language-bash" language="bash"><span class="t-code__line" data-line-number="0"><span class="hljs-built_in">mkdir</span> -p .claude/skills</span>
|
|
6099
|
+
<span class="t-code__line" data-line-number="1"></span>
|
|
6100
|
+
<span class="t-code__line" data-line-number="2"><span class="hljs-comment"># npm (global install)</span></span>
|
|
6101
|
+
<span class="t-code__line" data-line-number="3"><span class="hljs-built_in">cp</span> -r "<span class="hljs-subst">$(npm root -g)</span>/@scalar/cli/skills/scalar-cli" .claude/skills/</span>
|
|
6102
|
+
<span class="t-code__line" data-line-number="4"></span>
|
|
6103
|
+
<span class="t-code__line" data-line-number="5"><span class="hljs-comment"># Standalone CLI on macOS or Linux (the installer links `scalar` into its release directory)</span></span>
|
|
6104
|
+
<span class="t-code__line" data-line-number="6"><span class="hljs-built_in">cp</span> -r "$(dirname "$(readlink "<span class="hljs-subst">$(command -v scalar)</span>")")/app/skills/scalar-cli" .claude/skills/</span>
|
|
6105
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">bash
|
|
6106
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
6107
|
+
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
6108
|
+
</svg>
|
|
6109
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
6110
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
6111
|
+
</svg></button>
|
|
6112
|
+
</div>
|
|
6113
|
+
<p class="t-editor__paragraph">With the standalone CLI on Windows, the skill is in <code inline="true" class="t-editor__inline-code">%LOCALAPPDATA%\Scalar\current\app\skills\scalar-cli</code>.</p>
|
|
5619
6114
|
<h2 id="github-actions" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
5620
6115
|
GitHub Actions
|
|
5621
6116
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
@@ -5626,7 +6121,7 @@ blockquote.t-editor__quote > * {
|
|
|
5626
6121
|
</svg></button>
|
|
5627
6122
|
</h2>
|
|
5628
6123
|
<p class="t-editor__paragraph">To validate your OpenAPI file in GitHub Actions, add this workflow:</p>
|
|
5629
|
-
<div id="
|
|
6124
|
+
<div id="jHqhZWNX8BLkg8IYshcM1" class="t-editor__code-container" data-lang="yml" style="position: relative;">
|
|
5630
6125
|
<pre style="
|
|
5631
6126
|
--line-digits: 2;
|
|
5632
6127
|
--line-number-start: -1;
|
|
@@ -5653,8 +6148,7 @@ blockquote.t-editor__quote > * {
|
|
|
5653
6148
|
<span class="t-code__line" data-line-number="20"> <span class="hljs-attr">node-version:</span> <span class="hljs-number">24</span></span>
|
|
5654
6149
|
<span class="t-code__line" data-line-number="21"> <span class="hljs-bullet">-</span> <span class="hljs-attr">name:</span> <span class="hljs-string">Validate</span> <span class="hljs-string">OpenAPI</span> <span class="hljs-string">File</span></span>
|
|
5655
6150
|
<span class="t-code__line" data-line-number="22"> <span class="hljs-comment"># Replace `./my-openapi-file.yaml` with the correct path and filename for your project.</span></span>
|
|
5656
|
-
<span class="t-code__line" data-line-number="23"> <span class="hljs-
|
|
5657
|
-
<span class="t-code__line" data-line-number="24"> <span class="hljs-attr">run:</span> <span class="hljs-string">npx</span> <span class="hljs-string">@scalar/cli</span> <span class="hljs-string">validate</span> <span class="hljs-string">./my-openapi-file.yaml</span></span>
|
|
6151
|
+
<span class="t-code__line" data-line-number="23"> <span class="hljs-attr">run:</span> <span class="hljs-string">npx</span> <span class="hljs-string">@scalar/cli</span> <span class="hljs-string">document</span> <span class="hljs-string">validate</span> <span class="hljs-string">./my-openapi-file.yaml</span></span>
|
|
5658
6152
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">yml
|
|
5659
6153
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5660
6154
|
<path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path>
|
|
@@ -5673,7 +6167,7 @@ blockquote.t-editor__quote > * {
|
|
|
5673
6167
|
</svg></button>
|
|
5674
6168
|
</h2>
|
|
5675
6169
|
<p class="t-editor__paragraph">Set up the development environment:</p>
|
|
5676
|
-
<div id="
|
|
6170
|
+
<div id="47s1yp6tiLMTPZgvVObnU" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
5677
6171
|
<pre style="
|
|
5678
6172
|
--line-digits: 2;
|
|
5679
6173
|
--line-number-start: -1;
|
|
@@ -5688,7 +6182,7 @@ blockquote.t-editor__quote > * {
|
|
|
5688
6182
|
</svg></button>
|
|
5689
6183
|
</div>
|
|
5690
6184
|
<p class="t-editor__paragraph">To symlink the package and use it globally on your machine:</p>
|
|
5691
|
-
<div id="
|
|
6185
|
+
<div id="2RCuZh9ivctTk7j4lHyib" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
5692
6186
|
<pre style="
|
|
5693
6187
|
--line-digits: 2;
|
|
5694
6188
|
--line-number-start: -1;
|
|
@@ -5702,6 +6196,16 @@ blockquote.t-editor__quote > * {
|
|
|
5702
6196
|
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
5703
6197
|
</svg></button>
|
|
5704
6198
|
</div>
|
|
6199
|
+
<h3 id="docs-preview-from-a-local-build" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="3" data-scalar-type="heading">
|
|
6200
|
+
Docs preview from a local build
|
|
6201
|
+
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|
|
6202
|
+
<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path>
|
|
6203
|
+
</svg>
|
|
6204
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
6205
|
+
<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"></path>
|
|
6206
|
+
</svg></button>
|
|
6207
|
+
</h3>
|
|
6208
|
+
<p class="t-editor__paragraph"><code inline="true" class="t-editor__inline-code">scalar project preview</code> runs the docs in a preview server that the CLI downloads to <code inline="true" class="t-editor__inline-code">~/.scalar/isolate</code> on first use. Every CLI release publishes a matching archive to the CDN, so a released CLI always finds its own. A build from source has no archive until its version ships: the CLI then falls back to the newest published release with the same major version and says which one it used, and otherwise reports that the version is missing. To pin a specific published version instead, set <code inline="true" class="t-editor__inline-code">SSG_DOCS_ISOLATE_VERSION</code> to the version of a released CLI (<code inline="true" class="t-editor__inline-code">https://cdn.scalar.com/isolates/latest.json</code> names the newest one).</p>
|
|
5705
6209
|
<h2 id="community" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
5706
6210
|
Community
|
|
5707
6211
|
<button class="notify-container" aria-label="Copy link to heading"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon notify">
|