@scalar/cli 2.5.2 → 2.7.1
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 +113 -28
- package/chunks/{action-Y6CEKYEK.js → action-4NGK5XMD.js} +38 -21
- package/chunks/{action-DGD6Q6Y5.js → action-5SK5NE7E.js} +10 -4
- package/chunks/{action-LUVBQEIQ.js → action-7PEQXDWT.js} +4 -4
- package/chunks/action-AQRPFQKI.js +231 -0
- package/chunks/{action-TWHLZW4V.js → action-ATGZOWSH.js} +49 -26
- package/chunks/{action-ZLTUMRO2.js → action-BAQYJ6UE.js} +25 -21
- package/chunks/{action-X7TZA3RE.js → action-BOZNBCNZ.js} +89 -14
- package/chunks/{action-OK55BFGM.js → action-BRSSC2SR.js} +7 -7
- package/chunks/{action-RBVPKCRI.js → action-CA4QYPI6.js} +6 -6
- package/chunks/{action-EPNE5XCM.js → action-CPLH2CQ5.js} +17 -17
- package/chunks/{action-FF2OMGAS.js → action-E4YSRFGT.js} +34 -20
- 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-ZWQLQENM.js → action-H6OUJWWM.js} +4 -4
- package/chunks/{action-HIL5ZFNB.js → action-HJYZCPUN.js} +5 -5
- package/chunks/{action-PAA4NWUJ.js → action-JAHFRYWZ.js} +58 -9
- package/chunks/{action-42D2C47G.js → action-LPVITMWA.js} +3 -3
- package/chunks/{action-P7RFXIC7.js → action-LVDU6YOI.js} +32 -23
- package/chunks/{action-HXHBU7XC.js → action-N7BA5I3E.js} +37 -12
- package/chunks/{action-W62AIEBN.js → action-NVI5DWFP.js} +6 -6
- package/chunks/{action-PHLOE27S.js → action-OX2566BE.js} +32 -25
- package/chunks/{action-DCINFQ57.js → action-QYGOPSTY.js} +13 -13
- package/chunks/{action-6MZZHPVQ.js → action-RBOLLIGX.js} +27 -14
- package/chunks/{action-LFL3ZZKN.js → action-SCOXTCPR.js} +15 -15
- package/chunks/{action-OILGZAMK.js → action-SNPOOW6S.js} +20 -15
- package/chunks/{action-V5KYG7XD.js → action-SRBN7N3R.js} +10 -10
- package/chunks/{action-XUQ7TKKJ.js → action-T5XMJXPO.js} +11 -7
- package/chunks/{action-6FAJNP6C.js → action-VOFDW3U2.js} +4 -4
- package/chunks/{action-SJYAMXYI.js → action-YRX6SN5F.js} +10 -4
- package/chunks/{agent-JAXLLDPE.js → agent-ASPV3R5U.js} +4 -4
- package/chunks/{asyncapi-P6Y3L7RG.js → asyncapi-H4FU6GPC.js} +10 -11
- package/chunks/{build.action-AZ5ECU4B.js → build.action-6V6GXI3X.js} +35 -31
- package/chunks/{chunk-FOKFF4EP.js → chunk-2DSVF5AD.js} +3 -3
- package/chunks/{chunk-HXIDUCSZ.js → chunk-2PPRO2QB.js} +1 -1
- package/chunks/{chunk-RPVHJMQT.js → chunk-4X47MN6Q.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-RAO7VUGM.js → chunk-BDEPNGTO.js} +1 -1
- package/chunks/{chunk-FQVVKQPU.js → chunk-BIKOD3SG.js} +134 -1
- package/chunks/{chunk-M622VXRQ.js → chunk-C2KAWRIX.js} +1 -1
- package/chunks/{chunk-NIXG4KDE.js → chunk-CWCETP6H.js} +170 -5
- package/chunks/chunk-EGOXR5FB.js +15 -0
- package/chunks/{chunk-3BWGTPPT.js → chunk-FDC2IESH.js} +1776 -1113
- package/chunks/{chunk-JV7TUEXQ.js → chunk-GPNB7ISG.js} +14 -1
- package/chunks/{chunk-SWWWYWHC.js → chunk-HGOD6THU.js} +27 -18
- package/chunks/{chunk-3DJ2GKEG.js → chunk-IMG35UXX.js} +1 -1
- package/chunks/{chunk-UB3XGOUW.js → chunk-ISXH6Q7I.js} +253 -9
- package/chunks/{chunk-MNLXYOVF.js → chunk-KCCFN4F7.js} +2 -2
- package/chunks/{chunk-KEOCJ3NJ.js → chunk-LG7IFACX.js} +38 -87
- package/chunks/{chunk-B2MHTD3R.js → chunk-MLSZVVTT.js} +1 -1
- package/chunks/{chunk-LCPFHE4Z.js → chunk-OJ2EWIJH.js} +21 -2
- package/chunks/{chunk-UMPODUJO.js → chunk-QXQZVEDC.js} +105 -15
- package/chunks/{chunk-CIFOFSZ3.js → chunk-R5LK6VPY.js} +72 -7
- package/chunks/{chunk-T7B6WNZC.js → chunk-TSURUX4A.js} +12 -3
- 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/{chunk-TYLWJ2UL.js → chunk-ZJVYOZFB.js} +2 -2
- package/chunks/{create.action-34OTO2SB.js → create.action-P6DLCK4W.js} +27 -15
- package/chunks/{delete.action-6LRT4M3S.js → delete.action-HJKRRHE2.js} +24 -15
- package/chunks/{delete.action-ZYXFMIOW.js → delete.action-Z3GAA4ZN.js} +24 -15
- package/chunks/{get.action-XP36SA2J.js → get.action-IT4EHAV4.js} +10 -10
- package/chunks/{list.action-WVRVLX5E.js → list.action-2FU5UZNH.js} +15 -15
- package/chunks/{list.action-6LF6KSD5.js → list.action-WLIAO5UW.js} +13 -13
- package/chunks/{publish.action-AHFUBT5C.js → publish.action-T4J4DRXR.js} +48 -22
- package/chunks/{update.action-ZREAFJVG.js → update.action-3OVS3HWC.js} +25 -16
- package/chunks/{update.action-YQTVUDYE.js → update.action-MY7QPSSU.js} +25 -16
- package/docs.html +289 -96
- package/index.js +436 -401
- package/package.json +14 -22
- package/skills/scalar-cli/SKILL.md +71 -0
- package/template.md +81 -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);
|
|
@@ -3871,7 +3872,7 @@ blockquote.t-editor__quote > * {
|
|
|
3871
3872
|
<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
3873
|
</svg></button>
|
|
3873
3874
|
</h2>
|
|
3874
|
-
<div id="
|
|
3875
|
+
<div id="y2ilmi4MJvU24OUetoMyS" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
3875
3876
|
<pre style="
|
|
3876
3877
|
--line-digits: 2;
|
|
3877
3878
|
--line-number-start: -1;
|
|
@@ -3893,8 +3894,58 @@ blockquote.t-editor__quote > * {
|
|
|
3893
3894
|
<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
3895
|
</svg></button>
|
|
3895
3896
|
</h2>
|
|
3896
|
-
<
|
|
3897
|
-
|
|
3897
|
+
<h3 id="standalone-cli-no-node.js-required" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="3" data-scalar-type="heading">
|
|
3898
|
+
Standalone CLI (no Node.js required)
|
|
3899
|
+
<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">
|
|
3900
|
+
<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>
|
|
3901
|
+
</svg>
|
|
3902
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
3903
|
+
<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>
|
|
3904
|
+
</svg></button>
|
|
3905
|
+
</h3>
|
|
3906
|
+
<p class="t-editor__paragraph">Install the latest stable release without Node.js, npm, or administrator access.</p>
|
|
3907
|
+
<p class="t-editor__paragraph">macOS and Linux (Bash):</p>
|
|
3908
|
+
<div id="AdnBfQhSyUZnNjXTMpevl" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
3909
|
+
<pre style="
|
|
3910
|
+
--line-digits: 2;
|
|
3911
|
+
--line-number-start: -1;
|
|
3912
|
+
" 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>
|
|
3913
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">bash
|
|
3914
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
3915
|
+
<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>
|
|
3916
|
+
</svg>
|
|
3917
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
3918
|
+
<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>
|
|
3919
|
+
</svg></button>
|
|
3920
|
+
</div>
|
|
3921
|
+
<p class="t-editor__paragraph">Windows (PowerShell):</p>
|
|
3922
|
+
<div id="a2xdNNRRs6Sr9sdxb276e" class="t-editor__code-container" data-lang="powershell" style="position: relative;">
|
|
3923
|
+
<pre style="
|
|
3924
|
+
--line-digits: 2;
|
|
3925
|
+
--line-number-start: -1;
|
|
3926
|
+
" 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>
|
|
3927
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">powershell
|
|
3928
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
3929
|
+
<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>
|
|
3930
|
+
</svg>
|
|
3931
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
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></button>
|
|
3934
|
+
</div>
|
|
3935
|
+
<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>
|
|
3936
|
+
<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>
|
|
3937
|
+
<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>
|
|
3938
|
+
<h3 id="npm" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="3" data-scalar-type="heading">
|
|
3939
|
+
npm
|
|
3940
|
+
<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">
|
|
3941
|
+
<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>
|
|
3942
|
+
</svg>
|
|
3943
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
3944
|
+
<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>
|
|
3945
|
+
</svg></button>
|
|
3946
|
+
</h3>
|
|
3947
|
+
<p class="t-editor__paragraph">If you already use Node.js, install the CLI with npm:</p>
|
|
3948
|
+
<div id="XkSrpPgKosJruSv6IpmGH" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
3898
3949
|
<pre style="
|
|
3899
3950
|
--line-digits: 2;
|
|
3900
3951
|
--line-number-start: -1;
|
|
@@ -3918,7 +3969,7 @@ blockquote.t-editor__quote > * {
|
|
|
3918
3969
|
</svg></button>
|
|
3919
3970
|
</h3>
|
|
3920
3971
|
<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="
|
|
3972
|
+
<div id="4uQMbvOwMDQfDGqkJnlIr" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
3922
3973
|
<pre style="
|
|
3923
3974
|
--line-digits: 2;
|
|
3924
3975
|
--line-number-start: -1;
|
|
@@ -3932,7 +3983,7 @@ blockquote.t-editor__quote > * {
|
|
|
3932
3983
|
</svg></button>
|
|
3933
3984
|
</div>
|
|
3934
3985
|
<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="
|
|
3986
|
+
<div id="nToRX5MfzHv2USpf9Cm54" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
3936
3987
|
<pre style="
|
|
3937
3988
|
--line-digits: 2;
|
|
3938
3989
|
--line-number-start: -1;
|
|
@@ -3949,6 +4000,69 @@ blockquote.t-editor__quote > * {
|
|
|
3949
4000
|
<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
4001
|
</svg></button>
|
|
3951
4002
|
</div>
|
|
4003
|
+
<h2 id="api-reference-configuration" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
4004
|
+
API Reference configuration
|
|
4005
|
+
<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">
|
|
4006
|
+
<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>
|
|
4007
|
+
</svg>
|
|
4008
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
4009
|
+
<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>
|
|
4010
|
+
</svg></button>
|
|
4011
|
+
</h2>
|
|
4012
|
+
<p class="t-editor__paragraph">Pass API Reference options as a JSON object:</p>
|
|
4013
|
+
<div id="Xbmh1raS3EWqHeAUXC2tU" class="t-editor__code-container" data-lang="sh" style="position: relative;">
|
|
4014
|
+
<pre style="
|
|
4015
|
+
--line-digits: 2;
|
|
4016
|
+
--line-number-start: -1;
|
|
4017
|
+
" 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>
|
|
4018
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">sh
|
|
4019
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4020
|
+
<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>
|
|
4021
|
+
</svg>
|
|
4022
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4023
|
+
<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>
|
|
4024
|
+
</svg></button>
|
|
4025
|
+
</div>
|
|
4026
|
+
<div id="0XcxGFZQI0c8g5aZLVYVx" class="t-editor__code-container" data-lang="json" style="position: relative;">
|
|
4027
|
+
<pre style="
|
|
4028
|
+
--line-digits: 2;
|
|
4029
|
+
--line-number-start: -1;
|
|
4030
|
+
" 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>
|
|
4031
|
+
<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>
|
|
4032
|
+
<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>
|
|
4033
|
+
<span class="t-code__line" data-line-number="3"><span class="hljs-punctuation">}</span></span>
|
|
4034
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">json
|
|
4035
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4036
|
+
<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>
|
|
4037
|
+
</svg>
|
|
4038
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4039
|
+
<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>
|
|
4040
|
+
</svg></button>
|
|
4041
|
+
</div>
|
|
4042
|
+
<p class="t-editor__paragraph">
|
|
4043
|
+
The configuration path is relative to the current working directory. Configuration
|
|
4044
|
+
is loaded at startup; restart the command after changing it. <code inline="true" class="t-editor__inline-code">--watch</code> continues
|
|
4045
|
+
to watch the API document. Options requiring JavaScript functions are not supported
|
|
4046
|
+
in a JSON file.
|
|
4047
|
+
</p>
|
|
4048
|
+
<h2 id="authentication-in-automation" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
4049
|
+
Authentication in automation
|
|
4050
|
+
<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">
|
|
4051
|
+
<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>
|
|
4052
|
+
</svg>
|
|
4053
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
4054
|
+
<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>
|
|
4055
|
+
</svg></button>
|
|
4056
|
+
</h2>
|
|
4057
|
+
<p class="t-editor__paragraph">
|
|
4058
|
+
Use <code inline="true" class="t-editor__inline-code">scalar auth login --token <personal-token></code> to authenticate without a browser.
|
|
4059
|
+
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
|
|
4060
|
+
precedence over <code inline="true" class="t-editor__inline-code">--token</code>. Unset it to use a different explicit token.
|
|
4061
|
+
</p>
|
|
4062
|
+
<p class="t-editor__paragraph">
|
|
4063
|
+
Supply required options in automation instead of relying on interactive prompts.
|
|
4064
|
+
For example, pass <code inline="true" class="t-editor__inline-code">--output</code> for document transformations.
|
|
4065
|
+
</p>
|
|
3952
4066
|
<h2 id="commands" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
3953
4067
|
Commands
|
|
3954
4068
|
<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 +4072,7 @@ blockquote.t-editor__quote > * {
|
|
|
3958
4072
|
<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
4073
|
</svg></button>
|
|
3960
4074
|
</h2>
|
|
3961
|
-
<div id="
|
|
4075
|
+
<div id="5HJO3B7IhNXUqyrI7eAp0" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
3962
4076
|
<pre style="
|
|
3963
4077
|
--line-digits: 2;
|
|
3964
4078
|
--line-number-start: -1;
|
|
@@ -3973,14 +4087,15 @@ blockquote.t-editor__quote > * {
|
|
|
3973
4087
|
<span class="t-code__line" data-line-number="8">Commands:</span>
|
|
3974
4088
|
<span class="t-code__line" data-line-number="9"> readme Open documentation for the CLI</span>
|
|
3975
4089
|
<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">
|
|
4090
|
+
<span class="t-code__line" data-line-number="11"> context Print every command, argument, and option as JSON for AI agents</span>
|
|
4091
|
+
<span class="t-code__line" data-line-number="12"> auth Manage authorization on scalar platform</span>
|
|
4092
|
+
<span class="t-code__line" data-line-number="13"> document Manage local openapi file</span>
|
|
4093
|
+
<span class="t-code__line" data-line-number="14"> project Manage scalar project</span>
|
|
4094
|
+
<span class="t-code__line" data-line-number="15"> registry Manage your scalar registry</span>
|
|
4095
|
+
<span class="t-code__line" data-line-number="16"> team Manage user teams</span>
|
|
4096
|
+
<span class="t-code__line" data-line-number="17"> sdk Manage your Scalar SDKs (Enterprise Only)</span>
|
|
4097
|
+
<span class="t-code__line" data-line-number="18"> schema Manage your Scalar schemas</span>
|
|
4098
|
+
<span class="t-code__line" data-line-number="19"> help [command] display help for command</span>
|
|
3984
4099
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
3985
4100
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
3986
4101
|
<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 +4113,7 @@ blockquote.t-editor__quote > * {
|
|
|
3998
4113
|
<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
4114
|
</svg></button>
|
|
4000
4115
|
</h3>
|
|
4001
|
-
<div id="
|
|
4116
|
+
<div id="Uzw5Pt35wfdfKKNXMUNcj" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4002
4117
|
<pre style="
|
|
4003
4118
|
--line-digits: 2;
|
|
4004
4119
|
--line-number-start: -1;
|
|
@@ -4028,7 +4143,7 @@ blockquote.t-editor__quote > * {
|
|
|
4028
4143
|
<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
4144
|
</svg></button>
|
|
4030
4145
|
</h4>
|
|
4031
|
-
<div id="
|
|
4146
|
+
<div id="4Q22oy5Z0vUSnfXTQWFxN" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4032
4147
|
<pre style="
|
|
4033
4148
|
--line-digits: 2;
|
|
4034
4149
|
--line-number-start: -1;
|
|
@@ -4056,7 +4171,7 @@ blockquote.t-editor__quote > * {
|
|
|
4056
4171
|
<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
4172
|
</svg></button>
|
|
4058
4173
|
</h3>
|
|
4059
|
-
<div id="
|
|
4174
|
+
<div id="gSaiwUf3VL4oYL3IJDmNe" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4060
4175
|
<pre style="
|
|
4061
4176
|
--line-digits: 2;
|
|
4062
4177
|
--line-number-start: -1;
|
|
@@ -4074,6 +4189,33 @@ blockquote.t-editor__quote > * {
|
|
|
4074
4189
|
<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
4190
|
</svg></button>
|
|
4076
4191
|
</div>
|
|
4192
|
+
<h3 id="context" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="3" data-scalar-type="heading">
|
|
4193
|
+
context
|
|
4194
|
+
<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">
|
|
4195
|
+
<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>
|
|
4196
|
+
</svg>
|
|
4197
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
4198
|
+
<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>
|
|
4199
|
+
</svg></button>
|
|
4200
|
+
</h3>
|
|
4201
|
+
<div id="XSo9ns8HnSiqOLlwXIrUq" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4202
|
+
<pre style="
|
|
4203
|
+
--line-digits: 2;
|
|
4204
|
+
--line-number-start: -1;
|
|
4205
|
+
" 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>
|
|
4206
|
+
<span class="t-code__line" data-line-number="1"></span>
|
|
4207
|
+
<span class="t-code__line" data-line-number="2">Print every command, argument, and option as JSON for AI agents</span>
|
|
4208
|
+
<span class="t-code__line" data-line-number="3"></span>
|
|
4209
|
+
<span class="t-code__line" data-line-number="4">Options:</span>
|
|
4210
|
+
<span class="t-code__line" data-line-number="5"> -h, --help display help for command</span>
|
|
4211
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4212
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4213
|
+
<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>
|
|
4214
|
+
</svg>
|
|
4215
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4216
|
+
<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>
|
|
4217
|
+
</svg></button>
|
|
4218
|
+
</div>
|
|
4077
4219
|
<h3 id="auth" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="3" data-scalar-type="heading">
|
|
4078
4220
|
auth
|
|
4079
4221
|
<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 +4225,7 @@ blockquote.t-editor__quote > * {
|
|
|
4083
4225
|
<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
4226
|
</svg></button>
|
|
4085
4227
|
</h3>
|
|
4086
|
-
<div id="
|
|
4228
|
+
<div id="YpXgHMVEURZNzlAc2DaxD" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4087
4229
|
<pre style="
|
|
4088
4230
|
--line-digits: 2;
|
|
4089
4231
|
--line-number-start: -1;
|
|
@@ -4116,7 +4258,7 @@ blockquote.t-editor__quote > * {
|
|
|
4116
4258
|
<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
4259
|
</svg></button>
|
|
4118
4260
|
</h4>
|
|
4119
|
-
<div id="
|
|
4261
|
+
<div id="KaSMsne1qBY4m7KKpFyNg" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4120
4262
|
<pre style="
|
|
4121
4263
|
--line-digits: 2;
|
|
4122
4264
|
--line-number-start: -1;
|
|
@@ -4146,7 +4288,7 @@ blockquote.t-editor__quote > * {
|
|
|
4146
4288
|
<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
4289
|
</svg></button>
|
|
4148
4290
|
</h4>
|
|
4149
|
-
<div id="
|
|
4291
|
+
<div id="aPhCXlkhttujepxM4SS9X" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4150
4292
|
<pre style="
|
|
4151
4293
|
--line-digits: 2;
|
|
4152
4294
|
--line-number-start: -1;
|
|
@@ -4173,7 +4315,7 @@ blockquote.t-editor__quote > * {
|
|
|
4173
4315
|
<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
4316
|
</svg></button>
|
|
4175
4317
|
</h4>
|
|
4176
|
-
<div id="
|
|
4318
|
+
<div id="WpnKGEPYOtAj4XvwLZKNp" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4177
4319
|
<pre style="
|
|
4178
4320
|
--line-digits: 2;
|
|
4179
4321
|
--line-number-start: -1;
|
|
@@ -4200,7 +4342,7 @@ blockquote.t-editor__quote > * {
|
|
|
4200
4342
|
<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
4343
|
</svg></button>
|
|
4202
4344
|
</h3>
|
|
4203
|
-
<div id="
|
|
4345
|
+
<div id="ByKeCGWBL4NMQknloxyC9" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4204
4346
|
<pre style="
|
|
4205
4347
|
--line-digits: 2;
|
|
4206
4348
|
--line-number-start: -1;
|
|
@@ -4243,7 +4385,7 @@ blockquote.t-editor__quote > * {
|
|
|
4243
4385
|
<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
4386
|
</svg></button>
|
|
4245
4387
|
</h4>
|
|
4246
|
-
<div id="
|
|
4388
|
+
<div id="hy2TKc6kChPCiQ5ZA3c6T" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4247
4389
|
<pre style="
|
|
4248
4390
|
--line-digits: 2;
|
|
4249
4391
|
--line-number-start: -1;
|
|
@@ -4277,8 +4419,7 @@ blockquote.t-editor__quote > * {
|
|
|
4277
4419
|
<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
4420
|
</svg></button>
|
|
4279
4421
|
</h4>
|
|
4280
|
-
<
|
|
4281
|
-
<div id="anw21bK1VFFKkCyxthdn0" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4422
|
+
<div id="Tuno0AYiwZiiB4IMprYMV" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4282
4423
|
<pre style="
|
|
4283
4424
|
--line-digits: 2;
|
|
4284
4425
|
--line-number-start: -1;
|
|
@@ -4309,7 +4450,7 @@ blockquote.t-editor__quote > * {
|
|
|
4309
4450
|
<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
4451
|
</svg></button>
|
|
4311
4452
|
</h4>
|
|
4312
|
-
<div id="
|
|
4453
|
+
<div id="0eCJmKuLR1KdASvN2msyM" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4313
4454
|
<pre style="
|
|
4314
4455
|
--line-digits: 2;
|
|
4315
4456
|
--line-number-start: -1;
|
|
@@ -4341,7 +4482,7 @@ blockquote.t-editor__quote > * {
|
|
|
4341
4482
|
<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
4483
|
</svg></button>
|
|
4343
4484
|
</h4>
|
|
4344
|
-
<div id="
|
|
4485
|
+
<div id="9M6vCYtr8Rc3r8FPHy4As" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4345
4486
|
<pre style="
|
|
4346
4487
|
--line-digits: 2;
|
|
4347
4488
|
--line-number-start: -1;
|
|
@@ -4372,7 +4513,7 @@ blockquote.t-editor__quote > * {
|
|
|
4372
4513
|
<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
4514
|
</svg></button>
|
|
4374
4515
|
</h4>
|
|
4375
|
-
<div id="
|
|
4516
|
+
<div id="L8rybzC0BF80VJA165yC7" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4376
4517
|
<pre style="
|
|
4377
4518
|
--line-digits: 2;
|
|
4378
4519
|
--line-number-start: -1;
|
|
@@ -4404,7 +4545,7 @@ blockquote.t-editor__quote > * {
|
|
|
4404
4545
|
<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
4546
|
</svg></button>
|
|
4406
4547
|
</h4>
|
|
4407
|
-
<div id="
|
|
4548
|
+
<div id="UffY8ZarbMeXO06jUaUd7" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4408
4549
|
<pre style="
|
|
4409
4550
|
--line-digits: 2;
|
|
4410
4551
|
--line-number-start: -1;
|
|
@@ -4435,7 +4576,7 @@ blockquote.t-editor__quote > * {
|
|
|
4435
4576
|
<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
4577
|
</svg></button>
|
|
4437
4578
|
</h4>
|
|
4438
|
-
<div id="
|
|
4579
|
+
<div id="pQu3U4c8nX5XppyZAKOBH" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4439
4580
|
<pre style="
|
|
4440
4581
|
--line-digits: 2;
|
|
4441
4582
|
--line-number-start: -1;
|
|
@@ -4468,7 +4609,7 @@ blockquote.t-editor__quote > * {
|
|
|
4468
4609
|
<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
4610
|
</svg></button>
|
|
4470
4611
|
</h4>
|
|
4471
|
-
<div id="
|
|
4612
|
+
<div id="ehCu6VtRLnGZCzu0SvwlU" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4472
4613
|
<pre style="
|
|
4473
4614
|
--line-digits: 2;
|
|
4474
4615
|
--line-number-start: -1;
|
|
@@ -4477,13 +4618,14 @@ blockquote.t-editor__quote > * {
|
|
|
4477
4618
|
<span class="t-code__line" data-line-number="2">Serve an API Reference from an OpenAPI or AsyncAPI file</span>
|
|
4478
4619
|
<span class="t-code__line" data-line-number="3"></span>
|
|
4479
4620
|
<span class="t-code__line" data-line-number="4">Arguments:</span>
|
|
4480
|
-
<span class="t-code__line" data-line-number="5"> file|url
|
|
4621
|
+
<span class="t-code__line" data-line-number="5"> file|url OpenAPI or AsyncAPI file or URL to show the reference for</span>
|
|
4481
4622
|
<span class="t-code__line" data-line-number="6"></span>
|
|
4482
4623
|
<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"> -
|
|
4624
|
+
<span class="t-code__line" data-line-number="8"> -c, --config <file> JSON file with API Reference configuration</span>
|
|
4625
|
+
<span class="t-code__line" data-line-number="9"> -w, --watch watch the file for changes</span>
|
|
4626
|
+
<span class="t-code__line" data-line-number="10"> -o, --once run the server only once and exit after that</span>
|
|
4627
|
+
<span class="t-code__line" data-line-number="11"> -p, --port <port> set the HTTP port for the API reference server</span>
|
|
4628
|
+
<span class="t-code__line" data-line-number="12"> -h, --help display help for command</span>
|
|
4487
4629
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4488
4630
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4489
4631
|
<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 +4643,7 @@ blockquote.t-editor__quote > * {
|
|
|
4501
4643
|
<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
4644
|
</svg></button>
|
|
4503
4645
|
</h4>
|
|
4504
|
-
<div id="
|
|
4646
|
+
<div id="FCRBtrNokh9ZONEd7hykT" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4505
4647
|
<pre style="
|
|
4506
4648
|
--line-digits: 2;
|
|
4507
4649
|
--line-number-start: -1;
|
|
@@ -4532,7 +4674,7 @@ blockquote.t-editor__quote > * {
|
|
|
4532
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>
|
|
4533
4675
|
</svg></button>
|
|
4534
4676
|
</h4>
|
|
4535
|
-
<div id="
|
|
4677
|
+
<div id="dkwBWGfkBIN6y9udyRAPS" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4536
4678
|
<pre style="
|
|
4537
4679
|
--line-digits: 2;
|
|
4538
4680
|
--line-number-start: -1;
|
|
@@ -4562,7 +4704,7 @@ blockquote.t-editor__quote > * {
|
|
|
4562
4704
|
<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
4705
|
</svg></button>
|
|
4564
4706
|
</h4>
|
|
4565
|
-
<div id="
|
|
4707
|
+
<div id="GOEuZzJUjF1uary0kPeeo" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4566
4708
|
<pre style="
|
|
4567
4709
|
--line-digits: 2;
|
|
4568
4710
|
--line-number-start: -1;
|
|
@@ -4591,7 +4733,7 @@ blockquote.t-editor__quote > * {
|
|
|
4591
4733
|
<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
4734
|
</svg></button>
|
|
4593
4735
|
</h4>
|
|
4594
|
-
<div id="
|
|
4736
|
+
<div id="83lQLOqBCKmiyueJNQaP3" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4595
4737
|
<pre style="
|
|
4596
4738
|
--line-digits: 2;
|
|
4597
4739
|
--line-number-start: -1;
|
|
@@ -4622,7 +4764,7 @@ blockquote.t-editor__quote > * {
|
|
|
4622
4764
|
<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
4765
|
</svg></button>
|
|
4624
4766
|
</h4>
|
|
4625
|
-
<div id="
|
|
4767
|
+
<div id="k837RDpZPeM2sbaBB7zPQ" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4626
4768
|
<pre style="
|
|
4627
4769
|
--line-digits: 2;
|
|
4628
4770
|
--line-number-start: -1;
|
|
@@ -4653,7 +4795,7 @@ blockquote.t-editor__quote > * {
|
|
|
4653
4795
|
<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
4796
|
</svg></button>
|
|
4655
4797
|
</h3>
|
|
4656
|
-
<div id="
|
|
4798
|
+
<div id="ECKUp2yVWnl05JEr7ohso" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4657
4799
|
<pre style="
|
|
4658
4800
|
--line-digits: 2;
|
|
4659
4801
|
--line-number-start: -1;
|
|
@@ -4691,7 +4833,7 @@ blockquote.t-editor__quote > * {
|
|
|
4691
4833
|
<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
4834
|
</svg></button>
|
|
4693
4835
|
</h4>
|
|
4694
|
-
<div id="
|
|
4836
|
+
<div id="eQlbkTWprlTblDiU0WSzI" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4695
4837
|
<pre style="
|
|
4696
4838
|
--line-digits: 2;
|
|
4697
4839
|
--line-number-start: -1;
|
|
@@ -4720,7 +4862,7 @@ blockquote.t-editor__quote > * {
|
|
|
4720
4862
|
<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
4863
|
</svg></button>
|
|
4722
4864
|
</h4>
|
|
4723
|
-
<div id="
|
|
4865
|
+
<div id="3rxkB3p2DBPt3Mzre7ArU" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4724
4866
|
<pre style="
|
|
4725
4867
|
--line-digits: 2;
|
|
4726
4868
|
--line-number-start: -1;
|
|
@@ -4750,7 +4892,7 @@ blockquote.t-editor__quote > * {
|
|
|
4750
4892
|
<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
4893
|
</svg></button>
|
|
4752
4894
|
</h4>
|
|
4753
|
-
<div id="
|
|
4895
|
+
<div id="R57v87HworNHju0YqVwFG" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4754
4896
|
<pre style="
|
|
4755
4897
|
--line-digits: 2;
|
|
4756
4898
|
--line-number-start: -1;
|
|
@@ -4759,8 +4901,8 @@ blockquote.t-editor__quote > * {
|
|
|
4759
4901
|
<span class="t-code__line" data-line-number="2">Create a new project that is not linked to a github project.</span>
|
|
4760
4902
|
<span class="t-code__line" data-line-number="3"></span>
|
|
4761
4903
|
<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
|
|
4904
|
+
<span class="t-code__line" data-line-number="5"> -n, --name <name> name of your project</span>
|
|
4905
|
+
<span class="t-code__line" data-line-number="6"> -s, --slug <slug> project slug</span>
|
|
4764
4906
|
<span class="t-code__line" data-line-number="7"> -h, --help display help for command</span>
|
|
4765
4907
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4766
4908
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
@@ -4779,7 +4921,7 @@ blockquote.t-editor__quote > * {
|
|
|
4779
4921
|
<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
4922
|
</svg></button>
|
|
4781
4923
|
</h4>
|
|
4782
|
-
<div id="
|
|
4924
|
+
<div id="jSoCKIjORjb7fJ47b8kLC" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4783
4925
|
<pre style="
|
|
4784
4926
|
--line-digits: 2;
|
|
4785
4927
|
--line-number-start: -1;
|
|
@@ -4788,15 +4930,14 @@ blockquote.t-editor__quote > * {
|
|
|
4788
4930
|
<span class="t-code__line" data-line-number="2">Preview scalar guides</span>
|
|
4789
4931
|
<span class="t-code__line" data-line-number="3"></span>
|
|
4790
4932
|
<span class="t-code__line" data-line-number="4">Arguments:</span>
|
|
4791
|
-
<span class="t-code__line" data-line-number="5"> config
|
|
4933
|
+
<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
4934
|
<span class="t-code__line" data-line-number="6"></span>
|
|
4793
4935
|
<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>
|
|
4936
|
+
<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>
|
|
4937
|
+
<span class="t-code__line" data-line-number="9"> -H, --host [host] Specify which IP addresses the server should listen on.</span>
|
|
4938
|
+
<span class="t-code__line" data-line-number="10"> -L, --log-level <level> Set the log level (choices: "debug", "info", default: "info")</span>
|
|
4939
|
+
<span class="t-code__line" data-line-number="11"> -N, --no-open Do not open the browser automatically</span>
|
|
4940
|
+
<span class="t-code__line" data-line-number="12"> -h, --help display help for command</span>
|
|
4800
4941
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
4801
4942
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
4802
4943
|
<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 +4955,7 @@ blockquote.t-editor__quote > * {
|
|
|
4814
4955
|
<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
4956
|
</svg></button>
|
|
4816
4957
|
</h4>
|
|
4817
|
-
<div id="
|
|
4958
|
+
<div id="WTB1mzWhNT4Z9dYQQzApm" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4818
4959
|
<pre style="
|
|
4819
4960
|
--line-digits: 2;
|
|
4820
4961
|
--line-number-start: -1;
|
|
@@ -4845,7 +4986,7 @@ blockquote.t-editor__quote > * {
|
|
|
4845
4986
|
<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
4987
|
</svg></button>
|
|
4847
4988
|
</h4>
|
|
4848
|
-
<div id="
|
|
4989
|
+
<div id="hdygQ4qNar4N745gtgtfn" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4849
4990
|
<pre style="
|
|
4850
4991
|
--line-digits: 2;
|
|
4851
4992
|
--line-number-start: -1;
|
|
@@ -4875,7 +5016,7 @@ blockquote.t-editor__quote > * {
|
|
|
4875
5016
|
<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
5017
|
</svg></button>
|
|
4877
5018
|
</h4>
|
|
4878
|
-
<div id="
|
|
5019
|
+
<div id="oFAUtIHvvQapgHVJHptHF" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4879
5020
|
<pre style="
|
|
4880
5021
|
--line-digits: 2;
|
|
4881
5022
|
--line-number-start: -1;
|
|
@@ -4898,7 +5039,7 @@ blockquote.t-editor__quote > * {
|
|
|
4898
5039
|
</svg></button>
|
|
4899
5040
|
</div>
|
|
4900
5041
|
<h5 id="" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="5" data-scalar-type="heading">list</h5>
|
|
4901
|
-
<div id="
|
|
5042
|
+
<div id="s9YYVcgDY22p3s7vnrBjm" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4902
5043
|
<pre style="
|
|
4903
5044
|
--line-digits: 2;
|
|
4904
5045
|
--line-number-start: -1;
|
|
@@ -4926,7 +5067,7 @@ blockquote.t-editor__quote > * {
|
|
|
4926
5067
|
<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
5068
|
</svg></button>
|
|
4928
5069
|
</h4>
|
|
4929
|
-
<div id="
|
|
5070
|
+
<div id="AOUni8T5TdFxfVG8QkdUZ" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4930
5071
|
<pre style="
|
|
4931
5072
|
--line-digits: 2;
|
|
4932
5073
|
--line-number-start: -1;
|
|
@@ -4956,7 +5097,7 @@ blockquote.t-editor__quote > * {
|
|
|
4956
5097
|
<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
5098
|
</svg></button>
|
|
4958
5099
|
</h3>
|
|
4959
|
-
<div id="
|
|
5100
|
+
<div id="fDK2foEZvJTY8g9BWXr11" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4960
5101
|
<pre style="
|
|
4961
5102
|
--line-digits: 2;
|
|
4962
5103
|
--line-number-start: -1;
|
|
@@ -4991,7 +5132,7 @@ blockquote.t-editor__quote > * {
|
|
|
4991
5132
|
<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
5133
|
</svg></button>
|
|
4993
5134
|
</h4>
|
|
4994
|
-
<div id="
|
|
5135
|
+
<div id="K1IfxbXjZhhZOQrH1g9Lm" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
4995
5136
|
<pre style="
|
|
4996
5137
|
--line-digits: 2;
|
|
4997
5138
|
--line-number-start: -1;
|
|
@@ -5031,7 +5172,7 @@ blockquote.t-editor__quote > * {
|
|
|
5031
5172
|
<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
5173
|
</svg></button>
|
|
5033
5174
|
</h4>
|
|
5034
|
-
<div id="
|
|
5175
|
+
<div id="raUGAjRKFvcTngjkqaLwV" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5035
5176
|
<pre style="
|
|
5036
5177
|
--line-digits: 2;
|
|
5037
5178
|
--line-number-start: -1;
|
|
@@ -5064,7 +5205,7 @@ blockquote.t-editor__quote > * {
|
|
|
5064
5205
|
<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
5206
|
</svg></button>
|
|
5066
5207
|
</h4>
|
|
5067
|
-
<div id="
|
|
5208
|
+
<div id="mahqYwlxKDxSIsiKeZhXm" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5068
5209
|
<pre style="
|
|
5069
5210
|
--line-digits: 2;
|
|
5070
5211
|
--line-number-start: -1;
|
|
@@ -5095,7 +5236,7 @@ blockquote.t-editor__quote > * {
|
|
|
5095
5236
|
<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
5237
|
</svg></button>
|
|
5097
5238
|
</h4>
|
|
5098
|
-
<div id="
|
|
5239
|
+
<div id="72IlwnnNjtk6SFOHeqAep" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5099
5240
|
<pre style="
|
|
5100
5241
|
--line-digits: 2;
|
|
5101
5242
|
--line-number-start: -1;
|
|
@@ -5123,7 +5264,7 @@ blockquote.t-editor__quote > * {
|
|
|
5123
5264
|
<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
5265
|
</svg></button>
|
|
5125
5266
|
</h4>
|
|
5126
|
-
<div id="
|
|
5267
|
+
<div id="zXQJDk24DGHYXWlt4kNs9" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5127
5268
|
<pre style="
|
|
5128
5269
|
--line-digits: 2;
|
|
5129
5270
|
--line-number-start: -1;
|
|
@@ -5157,7 +5298,7 @@ blockquote.t-editor__quote > * {
|
|
|
5157
5298
|
<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
5299
|
</svg></button>
|
|
5159
5300
|
</h3>
|
|
5160
|
-
<div id="
|
|
5301
|
+
<div id="6Z6rVCBU4RwcaCn82jJY5" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5161
5302
|
<pre style="
|
|
5162
5303
|
--line-digits: 2;
|
|
5163
5304
|
--line-number-start: -1;
|
|
@@ -5189,7 +5330,7 @@ blockquote.t-editor__quote > * {
|
|
|
5189
5330
|
<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
5331
|
</svg></button>
|
|
5191
5332
|
</h4>
|
|
5192
|
-
<div id="
|
|
5333
|
+
<div id="CvljSRtG9AwTE89AL6Yxk" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5193
5334
|
<pre style="
|
|
5194
5335
|
--line-digits: 2;
|
|
5195
5336
|
--line-number-start: -1;
|
|
@@ -5216,7 +5357,7 @@ blockquote.t-editor__quote > * {
|
|
|
5216
5357
|
<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
5358
|
</svg></button>
|
|
5218
5359
|
</h4>
|
|
5219
|
-
<div id="
|
|
5360
|
+
<div id="A0m2mcZABOKY4QwUSYxPC" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5220
5361
|
<pre style="
|
|
5221
5362
|
--line-digits: 2;
|
|
5222
5363
|
--line-number-start: -1;
|
|
@@ -5244,7 +5385,7 @@ blockquote.t-editor__quote > * {
|
|
|
5244
5385
|
<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
5386
|
</svg></button>
|
|
5246
5387
|
</h3>
|
|
5247
|
-
<div id="
|
|
5388
|
+
<div id="nlPANnim7YgqkmVntZbWm" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5248
5389
|
<pre style="
|
|
5249
5390
|
--line-digits: 2;
|
|
5250
5391
|
--line-number-start: -1;
|
|
@@ -5257,10 +5398,10 @@ blockquote.t-editor__quote > * {
|
|
|
5257
5398
|
<span class="t-code__line" data-line-number="6"></span>
|
|
5258
5399
|
<span class="t-code__line" data-line-number="7">Commands:</span>
|
|
5259
5400
|
<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.</span>
|
|
5401
|
+
<span class="t-code__line" data-line-number="9"> create [options] Create a new SDK. The SDK is created in the namespace of the API it is built from.</span>
|
|
5261
5402
|
<span class="t-code__line" data-line-number="10"> update [options] Update SDK metadata.</span>
|
|
5262
5403
|
<span class="t-code__line" data-line-number="11"> delete [options] Delete an SDK.</span>
|
|
5263
|
-
<span class="t-code__line" data-line-number="12"> build [options]
|
|
5404
|
+
<span class="t-code__line" data-line-number="12"> build [options] Build an SDK.</span>
|
|
5264
5405
|
<span class="t-code__line" data-line-number="13"> help [command] display help for command</span>
|
|
5265
5406
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
5266
5407
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
@@ -5279,7 +5420,7 @@ blockquote.t-editor__quote > * {
|
|
|
5279
5420
|
<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
5421
|
</svg></button>
|
|
5281
5422
|
</h4>
|
|
5282
|
-
<div id="
|
|
5423
|
+
<div id="qlVR7Fnevli8TiQYPdAZf" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5283
5424
|
<pre style="
|
|
5284
5425
|
--line-digits: 2;
|
|
5285
5426
|
--line-number-start: -1;
|
|
@@ -5307,17 +5448,17 @@ blockquote.t-editor__quote > * {
|
|
|
5307
5448
|
<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
5449
|
</svg></button>
|
|
5309
5450
|
</h4>
|
|
5310
|
-
<div id="
|
|
5451
|
+
<div id="7hXLEa7Uw1PPAKHAWtpQy" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5311
5452
|
<pre style="
|
|
5312
5453
|
--line-digits: 2;
|
|
5313
5454
|
--line-number-start: -1;
|
|
5314
5455
|
" 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
5456
|
<span class="t-code__line" data-line-number="1"></span>
|
|
5316
|
-
<span class="t-code__line" data-line-number="2">Create a new SDK.</span>
|
|
5457
|
+
<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 from.</span>
|
|
5317
5458
|
<span class="t-code__line" data-line-number="3"></span>
|
|
5318
5459
|
<span class="t-code__line" data-line-number="4">Options:</span>
|
|
5319
5460
|
<span class="t-code__line" data-line-number="5"> -a, --api <api> Registry API slug</span>
|
|
5320
|
-
<span class="t-code__line" data-line-number="6"> -n, --namespace <namespace> Team namespace</span>
|
|
5461
|
+
<span class="t-code__line" data-line-number="6"> -n, --namespace <namespace> Team namespace to look the API up in</span>
|
|
5321
5462
|
<span class="t-code__line" data-line-number="7"> -l, --language <language> Language of your SDK (choices: "typescript", "python", "cli", "csharp", "java", "ruby", "php", "go", "rust", "kotlin", "swift", "cpp", "dart")</span>
|
|
5322
5463
|
<span class="t-code__line" data-line-number="8"> -h, --help display help for command</span>
|
|
5323
5464
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
@@ -5337,7 +5478,7 @@ blockquote.t-editor__quote > * {
|
|
|
5337
5478
|
<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
5479
|
</svg></button>
|
|
5339
5480
|
</h4>
|
|
5340
|
-
<div id="
|
|
5481
|
+
<div id="emxvAiXLmOAIWuDf4AOgg" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5341
5482
|
<pre style="
|
|
5342
5483
|
--line-digits: 2;
|
|
5343
5484
|
--line-number-start: -1;
|
|
@@ -5349,7 +5490,7 @@ blockquote.t-editor__quote > * {
|
|
|
5349
5490
|
<span class="t-code__line" data-line-number="5"> -s, --slug <slug> SDK slug</span>
|
|
5350
5491
|
<span class="t-code__line" data-line-number="6"> -n, --namespace <namespace> Team namespace</span>
|
|
5351
5492
|
<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>
|
|
5493
|
+
<span class="t-code__line" data-line-number="8"> --isPrivate <isPrivate> Privacy (true/false or public/private)</span>
|
|
5353
5494
|
<span class="t-code__line" data-line-number="9"> -h, --help display help for command</span>
|
|
5354
5495
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
5355
5496
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
@@ -5368,7 +5509,7 @@ blockquote.t-editor__quote > * {
|
|
|
5368
5509
|
<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
5510
|
</svg></button>
|
|
5370
5511
|
</h4>
|
|
5371
|
-
<div id="
|
|
5512
|
+
<div id="NSavGZg5iAwczjppBkJia" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5372
5513
|
<pre style="
|
|
5373
5514
|
--line-digits: 2;
|
|
5374
5515
|
--line-number-start: -1;
|
|
@@ -5397,19 +5538,18 @@ blockquote.t-editor__quote > * {
|
|
|
5397
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>
|
|
5398
5539
|
</svg></button>
|
|
5399
5540
|
</h4>
|
|
5400
|
-
<div id="
|
|
5541
|
+
<div id="WBM8sTmgsqRuZijmdA4S1" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5401
5542
|
<pre style="
|
|
5402
5543
|
--line-digits: 2;
|
|
5403
5544
|
--line-number-start: -1;
|
|
5404
5545
|
" 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
5546
|
<span class="t-code__line" data-line-number="1"></span>
|
|
5406
|
-
<span class="t-code__line" data-line-number="2">
|
|
5547
|
+
<span class="t-code__line" data-line-number="2">Build an SDK.</span>
|
|
5407
5548
|
<span class="t-code__line" data-line-number="3"></span>
|
|
5408
5549
|
<span class="t-code__line" data-line-number="4">Options:</span>
|
|
5409
5550
|
<span class="t-code__line" data-line-number="5"> -s, --slug <slug> SDK slug</span>
|
|
5410
5551
|
<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>
|
|
5552
|
+
<span class="t-code__line" data-line-number="7"> -h, --help display help for command</span>
|
|
5413
5553
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
5414
5554
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5415
5555
|
<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 +5567,7 @@ blockquote.t-editor__quote > * {
|
|
|
5427
5567
|
<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
5568
|
</svg></button>
|
|
5429
5569
|
</h3>
|
|
5430
|
-
<div id="
|
|
5570
|
+
<div id="xMBg155CBVVY8QlqZF8dm" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5431
5571
|
<pre style="
|
|
5432
5572
|
--line-digits: 2;
|
|
5433
5573
|
--line-number-start: -1;
|
|
@@ -5462,7 +5602,7 @@ blockquote.t-editor__quote > * {
|
|
|
5462
5602
|
<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
5603
|
</svg></button>
|
|
5464
5604
|
</h4>
|
|
5465
|
-
<div id="
|
|
5605
|
+
<div id="Z8puLUMg6YBNGgTlqrTIo" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5466
5606
|
<pre style="
|
|
5467
5607
|
--line-digits: 2;
|
|
5468
5608
|
--line-number-start: -1;
|
|
@@ -5491,7 +5631,7 @@ blockquote.t-editor__quote > * {
|
|
|
5491
5631
|
<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
5632
|
</svg></button>
|
|
5493
5633
|
</h4>
|
|
5494
|
-
<div id="
|
|
5634
|
+
<div id="5VAIS35VjauaG9zBTVdYG" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5495
5635
|
<pre style="
|
|
5496
5636
|
--line-digits: 2;
|
|
5497
5637
|
--line-number-start: -1;
|
|
@@ -5504,7 +5644,7 @@ blockquote.t-editor__quote > * {
|
|
|
5504
5644
|
<span class="t-code__line" data-line-number="6"> -n, --namespace <namespace> Team namespace</span>
|
|
5505
5645
|
<span class="t-code__line" data-line-number="7"> --title <title> Title</span>
|
|
5506
5646
|
<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>
|
|
5647
|
+
<span class="t-code__line" data-line-number="9"> --isPrivate <isPrivate> Privacy (true/false or public/private)</span>
|
|
5508
5648
|
<span class="t-code__line" data-line-number="10"> -h, --help display help for command</span>
|
|
5509
5649
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">plaintext
|
|
5510
5650
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
@@ -5523,7 +5663,7 @@ blockquote.t-editor__quote > * {
|
|
|
5523
5663
|
<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
5664
|
</svg></button>
|
|
5525
5665
|
</h4>
|
|
5526
|
-
<div id="
|
|
5666
|
+
<div id="fp67o8Umn6NCk2m2G4bdf" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5527
5667
|
<pre style="
|
|
5528
5668
|
--line-digits: 2;
|
|
5529
5669
|
--line-number-start: -1;
|
|
@@ -5551,7 +5691,7 @@ blockquote.t-editor__quote > * {
|
|
|
5551
5691
|
<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
5692
|
</svg></button>
|
|
5553
5693
|
</h4>
|
|
5554
|
-
<div id="
|
|
5694
|
+
<div id="TELDWqxIbpRziUZTT5z8T" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5555
5695
|
<pre style="
|
|
5556
5696
|
--line-digits: 2;
|
|
5557
5697
|
--line-number-start: -1;
|
|
@@ -5585,7 +5725,7 @@ blockquote.t-editor__quote > * {
|
|
|
5585
5725
|
<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
5726
|
</svg></button>
|
|
5587
5727
|
</h4>
|
|
5588
|
-
<div id="
|
|
5728
|
+
<div id="sAujy7ayKTSuf6F2PJxHA" class="t-editor__code-container" data-lang="plaintext" style="position: relative;">
|
|
5589
5729
|
<pre style="
|
|
5590
5730
|
--line-digits: 2;
|
|
5591
5731
|
--line-number-start: -1;
|
|
@@ -5616,6 +5756,50 @@ blockquote.t-editor__quote > * {
|
|
|
5616
5756
|
<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
5757
|
</svg></button>
|
|
5618
5758
|
</div>
|
|
5759
|
+
<h2 id="ai-agents" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
5760
|
+
AI agents
|
|
5761
|
+
<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">
|
|
5762
|
+
<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>
|
|
5763
|
+
</svg>
|
|
5764
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
5765
|
+
<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>
|
|
5766
|
+
</svg></button>
|
|
5767
|
+
</h2>
|
|
5768
|
+
<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>
|
|
5769
|
+
<div id="eWIco8AH5taIX2gH0XZAB" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
5770
|
+
<pre style="
|
|
5771
|
+
--line-digits: 2;
|
|
5772
|
+
--line-number-start: -1;
|
|
5773
|
+
" 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>
|
|
5774
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">bash
|
|
5775
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5776
|
+
<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>
|
|
5777
|
+
</svg>
|
|
5778
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5779
|
+
<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>
|
|
5780
|
+
</svg></button>
|
|
5781
|
+
</div>
|
|
5782
|
+
<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>
|
|
5783
|
+
<div id="MC2LJh41t5pJMaRuMOqNy" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
5784
|
+
<pre style="
|
|
5785
|
+
--line-digits: 2;
|
|
5786
|
+
--line-number-start: -1;
|
|
5787
|
+
" 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>
|
|
5788
|
+
<span class="t-code__line" data-line-number="1"></span>
|
|
5789
|
+
<span class="t-code__line" data-line-number="2"><span class="hljs-comment"># npm (global install)</span></span>
|
|
5790
|
+
<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>
|
|
5791
|
+
<span class="t-code__line" data-line-number="4"></span>
|
|
5792
|
+
<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>
|
|
5793
|
+
<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>
|
|
5794
|
+
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">bash
|
|
5795
|
+
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5796
|
+
<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>
|
|
5797
|
+
</svg>
|
|
5798
|
+
<svg class="lang-success" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5799
|
+
<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>
|
|
5800
|
+
</svg></button>
|
|
5801
|
+
</div>
|
|
5802
|
+
<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
5803
|
<h2 id="github-actions" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
5620
5804
|
GitHub Actions
|
|
5621
5805
|
<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 +5810,7 @@ blockquote.t-editor__quote > * {
|
|
|
5626
5810
|
</svg></button>
|
|
5627
5811
|
</h2>
|
|
5628
5812
|
<p class="t-editor__paragraph">To validate your OpenAPI file in GitHub Actions, add this workflow:</p>
|
|
5629
|
-
<div id="
|
|
5813
|
+
<div id="UAJqJCf4Mxv0mWCmaRRyy" class="t-editor__code-container" data-lang="yml" style="position: relative;">
|
|
5630
5814
|
<pre style="
|
|
5631
5815
|
--line-digits: 2;
|
|
5632
5816
|
--line-number-start: -1;
|
|
@@ -5653,8 +5837,7 @@ blockquote.t-editor__quote > * {
|
|
|
5653
5837
|
<span class="t-code__line" data-line-number="20"> <span class="hljs-attr">node-version:</span> <span class="hljs-number">24</span></span>
|
|
5654
5838
|
<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
5839
|
<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>
|
|
5840
|
+
<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
5841
|
</code></pre><button class="language-button t-editor__language-picker" data-scalar-type="code-block-copy" type="button">yml
|
|
5659
5842
|
<svg class="lang-copy" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256">
|
|
5660
5843
|
<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 +5856,7 @@ blockquote.t-editor__quote > * {
|
|
|
5673
5856
|
</svg></button>
|
|
5674
5857
|
</h2>
|
|
5675
5858
|
<p class="t-editor__paragraph">Set up the development environment:</p>
|
|
5676
|
-
<div id="
|
|
5859
|
+
<div id="ub1QKJDWpQqErOXZ8uliM" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
5677
5860
|
<pre style="
|
|
5678
5861
|
--line-digits: 2;
|
|
5679
5862
|
--line-number-start: -1;
|
|
@@ -5688,7 +5871,7 @@ blockquote.t-editor__quote > * {
|
|
|
5688
5871
|
</svg></button>
|
|
5689
5872
|
</div>
|
|
5690
5873
|
<p class="t-editor__paragraph">To symlink the package and use it globally on your machine:</p>
|
|
5691
|
-
<div id="
|
|
5874
|
+
<div id="3GBbO1P6pxtmUodKCbGSQ" class="t-editor__code-container" data-lang="bash" style="position: relative;">
|
|
5692
5875
|
<pre style="
|
|
5693
5876
|
--line-digits: 2;
|
|
5694
5877
|
--line-number-start: -1;
|
|
@@ -5702,6 +5885,16 @@ blockquote.t-editor__quote > * {
|
|
|
5702
5885
|
<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
5886
|
</svg></button>
|
|
5704
5887
|
</div>
|
|
5888
|
+
<h3 id="docs-preview-from-a-local-build" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="3" data-scalar-type="heading">
|
|
5889
|
+
Docs preview from a local build
|
|
5890
|
+
<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">
|
|
5891
|
+
<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>
|
|
5892
|
+
</svg>
|
|
5893
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 256 256" aria-hidden="true" class="icon">
|
|
5894
|
+
<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>
|
|
5895
|
+
</svg></button>
|
|
5896
|
+
</h3>
|
|
5897
|
+
<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
5898
|
<h2 id="community" class="scroll-pad interaction-observer-heading t-editor__heading" data-level="2" data-scalar-type="heading">
|
|
5706
5899
|
Community
|
|
5707
5900
|
<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">
|