deploy: 5695578e4a58003533d43f5ff1012cd716b6053c
|
@ -2,12 +2,12 @@
|
|||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://viv.dayl.in/</loc>
|
||||
<lastmod>2023-06-01</lastmod>
|
||||
<lastmod>2023-06-02</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://viv.dayl.in/cli/</loc>
|
||||
<lastmod>2023-06-01</lastmod>
|
||||
<lastmod>2023-06-02</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
</urlset>
|
BIN
sitemap.xml.gz
|
@ -1,4 +1,4 @@
|
|||
<svg class="rich-terminal shadow" viewBox="0 0 890.3333333333334 350.7333333333333" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg class="rich-terminal shadow" viewBox="0 0 890.3333333333334 423.9333333333333" xmlns="http://www.w3.org/2000/svg">
|
||||
<!-- Generated with Rich https://www.textualize.io & yartsu https://github.com/daylinmorgan/yartsu -->
|
||||
<style>
|
||||
|
||||
|
@ -19,14 +19,14 @@
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
.terminal-3871055805-matrix {
|
||||
.terminal-2174466350-matrix {
|
||||
font-family: Fira Code, monospace;
|
||||
font-size: 20px;
|
||||
line-height: 24.4px;
|
||||
font-variant-east-asian: full-width;
|
||||
}
|
||||
|
||||
.terminal-3871055805-title {
|
||||
.terminal-2174466350-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
font-family: arial;
|
||||
|
@ -36,68 +36,80 @@
|
|||
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
}
|
||||
.terminal-3871055805-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-3871055805-r2 { fill: #c6d0f5 }
|
||||
.terminal-3871055805-r3 { fill: #f9e2af;font-weight: bold }
|
||||
.terminal-2174466350-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-2174466350-r2 { fill: #c6d0f5 }
|
||||
.terminal-2174466350-r3 { fill: #f9e2af;font-weight: bold }
|
||||
</style>
|
||||
|
||||
<defs>
|
||||
<clipPath id="terminal-3871055805-clip-terminal">
|
||||
<rect x="0" y="0" width="853.0" height="267.4" />
|
||||
<clipPath id="terminal-2174466350-clip-terminal">
|
||||
<rect x="0" y="0" width="853.0" height="340.59999999999997" />
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-0">
|
||||
<clipPath id="terminal-2174466350-line-0">
|
||||
<rect x="0" y="1.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-1">
|
||||
<clipPath id="terminal-2174466350-line-1">
|
||||
<rect x="0" y="25.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-2">
|
||||
<clipPath id="terminal-2174466350-line-2">
|
||||
<rect x="0" y="50.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-3">
|
||||
<clipPath id="terminal-2174466350-line-3">
|
||||
<rect x="0" y="74.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-4">
|
||||
<clipPath id="terminal-2174466350-line-4">
|
||||
<rect x="0" y="99.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-5">
|
||||
<clipPath id="terminal-2174466350-line-5">
|
||||
<rect x="0" y="123.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-6">
|
||||
<clipPath id="terminal-2174466350-line-6">
|
||||
<rect x="0" y="147.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-7">
|
||||
<clipPath id="terminal-2174466350-line-7">
|
||||
<rect x="0" y="172.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-8">
|
||||
<clipPath id="terminal-2174466350-line-8">
|
||||
<rect x="0" y="196.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-9">
|
||||
<clipPath id="terminal-2174466350-line-9">
|
||||
<rect x="0" y="221.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2174466350-line-10">
|
||||
<rect x="0" y="245.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2174466350-line-11">
|
||||
<rect x="0" y="269.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2174466350-line-12">
|
||||
<rect x="0" y="294.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="316.4" rx="8"/><text class="terminal-3871055805-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv exe --help</text>
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="389.6" rx="8"/><text class="terminal-2174466350-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv exe --help</text>
|
||||
<g transform="translate(32,22)">
|
||||
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
||||
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
||||
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
||||
</g>
|
||||
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-3871055805-clip-terminal)">
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-2174466350-clip-terminal)">
|
||||
|
||||
<g class="terminal-3871055805-matrix">
|
||||
<text class="terminal-3871055805-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-3871055805-line-0)">usage</text><text class="terminal-3871055805-r2" x="61" y="20" textLength="341.6" clip-path="url(#terminal-3871055805-line-0)">: viv exe [-h] <sub-cmd> ...</text><text class="terminal-3871055805-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-3871055805-line-0)">
|
||||
</text><text class="terminal-3871055805-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-3871055805-line-1)">
|
||||
</text><text class="terminal-3871055805-r2" x="0" y="68.8" textLength="402.6" clip-path="url(#terminal-3871055805-line-2)">run python/pip in existing vivenv</text><text class="terminal-3871055805-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-3871055805-line-2)">
|
||||
</text><text class="terminal-3871055805-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-3871055805-line-3)">
|
||||
</text><text class="terminal-3871055805-r1" x="0" y="117.6" textLength="85.4" clip-path="url(#terminal-3871055805-line-4)">options</text><text class="terminal-3871055805-r2" x="85.4" y="117.6" textLength="12.2" clip-path="url(#terminal-3871055805-line-4)">:</text><text class="terminal-3871055805-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-3871055805-line-4)">
|
||||
</text><text class="terminal-3871055805-r3" x="24.4" y="142" textLength="24.4" clip-path="url(#terminal-3871055805-line-5)">-h</text><text class="terminal-3871055805-r2" x="48.8" y="142" textLength="24.4" clip-path="url(#terminal-3871055805-line-5)">, </text><text class="terminal-3871055805-r3" x="73.2" y="142" textLength="73.2" clip-path="url(#terminal-3871055805-line-5)">--help</text><text class="terminal-3871055805-r2" x="146.4" y="142" textLength="427" clip-path="url(#terminal-3871055805-line-5)">    show this help message and exit</text><text class="terminal-3871055805-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-3871055805-line-5)">
|
||||
</text><text class="terminal-3871055805-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-3871055805-line-6)">
|
||||
</text><text class="terminal-3871055805-r1" x="0" y="190.8" textLength="122" clip-path="url(#terminal-3871055805-line-7)">subcommand</text><text class="terminal-3871055805-r2" x="122" y="190.8" textLength="12.2" clip-path="url(#terminal-3871055805-line-7)">:</text><text class="terminal-3871055805-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-3871055805-line-7)">
|
||||
</text><text class="terminal-3871055805-r3" x="24.4" y="215.2" textLength="109.8" clip-path="url(#terminal-3871055805-line-8)"><sub-cmd></text><text class="terminal-3871055805-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-3871055805-line-8)">
|
||||
</text><text class="terminal-3871055805-r3" x="48.8" y="239.6" textLength="73.2" clip-path="url(#terminal-3871055805-line-9)">python</text><text class="terminal-3871055805-r2" x="122" y="239.6" textLength="353.8" clip-path="url(#terminal-3871055805-line-9)">      run command with python</text><text class="terminal-3871055805-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-3871055805-line-9)">
|
||||
</text><text class="terminal-3871055805-r3" x="48.8" y="264" textLength="36.6" clip-path="url(#terminal-3871055805-line-10)">pip</text><text class="terminal-3871055805-r2" x="85.4" y="264" textLength="353.8" clip-path="url(#terminal-3871055805-line-10)">         run command with pip</text><text class="terminal-3871055805-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-3871055805-line-10)">
|
||||
<g class="terminal-2174466350-matrix">
|
||||
<text class="terminal-2174466350-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-2174466350-line-0)">usage</text><text class="terminal-2174466350-r2" x="61" y="20" textLength="305" clip-path="url(#terminal-2174466350-line-0)">: viv exe [-h] vivenv cmd</text><text class="terminal-2174466350-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-2174466350-line-0)">
|
||||
</text><text class="terminal-2174466350-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-2174466350-line-1)">
|
||||
</text><text class="terminal-2174466350-r2" x="0" y="68.8" textLength="439.2" clip-path="url(#terminal-2174466350-line-2)">run binary/script in existing vivenv</text><text class="terminal-2174466350-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-2174466350-line-2)">
|
||||
</text><text class="terminal-2174466350-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-2174466350-line-3)">
|
||||
</text><text class="terminal-2174466350-r2" x="0" y="117.6" textLength="109.8" clip-path="url(#terminal-2174466350-line-4)">examples:</text><text class="terminal-2174466350-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-2174466350-line-4)">
|
||||
</text><text class="terminal-2174466350-r2" x="0" y="142" textLength="390.4" clip-path="url(#terminal-2174466350-line-5)">    viv exe <vivenv> pip -- list</text><text class="terminal-2174466350-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-2174466350-line-5)">
|
||||
</text><text class="terminal-2174466350-r2" x="0" y="166.4" textLength="488" clip-path="url(#terminal-2174466350-line-6)">    viv exe <vivenv> python -- script.py</text><text class="terminal-2174466350-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-2174466350-line-6)">
|
||||
</text><text class="terminal-2174466350-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-2174466350-line-7)">
|
||||
</text><text class="terminal-2174466350-r1" x="0" y="215.2" textLength="244" clip-path="url(#terminal-2174466350-line-8)">positional arguments</text><text class="terminal-2174466350-r2" x="244" y="215.2" textLength="12.2" clip-path="url(#terminal-2174466350-line-8)">:</text><text class="terminal-2174466350-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-2174466350-line-8)">
|
||||
</text><text class="terminal-2174466350-r3" x="24.4" y="239.6" textLength="73.2" clip-path="url(#terminal-2174466350-line-9)">vivenv</text><text class="terminal-2174466350-r2" x="97.6" y="239.6" textLength="329.4" clip-path="url(#terminal-2174466350-line-9)">        name/hash of vivenv</text><text class="terminal-2174466350-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-2174466350-line-9)">
|
||||
</text><text class="terminal-2174466350-r3" x="24.4" y="264" textLength="36.6" clip-path="url(#terminal-2174466350-line-10)">cmd</text><text class="terminal-2174466350-r2" x="61" y="264" textLength="390.4" clip-path="url(#terminal-2174466350-line-10)">           command to to execute</text><text class="terminal-2174466350-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-2174466350-line-10)">
|
||||
</text><text class="terminal-2174466350-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-2174466350-line-11)">
|
||||
</text><text class="terminal-2174466350-r1" x="0" y="312.8" textLength="85.4" clip-path="url(#terminal-2174466350-line-12)">options</text><text class="terminal-2174466350-r2" x="85.4" y="312.8" textLength="12.2" clip-path="url(#terminal-2174466350-line-12)">:</text><text class="terminal-2174466350-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-2174466350-line-12)">
|
||||
</text><text class="terminal-2174466350-r3" x="24.4" y="337.2" textLength="24.4" clip-path="url(#terminal-2174466350-line-13)">-h</text><text class="terminal-2174466350-r2" x="48.8" y="337.2" textLength="24.4" clip-path="url(#terminal-2174466350-line-13)">, </text><text class="terminal-2174466350-r3" x="73.2" y="337.2" textLength="73.2" clip-path="url(#terminal-2174466350-line-13)">--help</text><text class="terminal-2174466350-r2" x="146.4" y="337.2" textLength="427" clip-path="url(#terminal-2174466350-line-13)">    show this help message and exit</text><text class="terminal-2174466350-r2" x="854" y="337.2" textLength="12.2" clip-path="url(#terminal-2174466350-line-13)">
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 8.5 KiB |
|
@ -1,4 +1,4 @@
|
|||
<svg class="rich-terminal shadow" viewBox="0 0 890.3333333333334 277.5333333333333" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg class="rich-terminal shadow" viewBox="0 0 890.3333333333334 423.9333333333333" xmlns="http://www.w3.org/2000/svg">
|
||||
<!-- Generated with Rich https://www.textualize.io & yartsu https://github.com/daylinmorgan/yartsu -->
|
||||
<style>
|
||||
|
||||
|
@ -19,14 +19,14 @@
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
.terminal-2240111166-matrix {
|
||||
.terminal-1793440407-matrix {
|
||||
font-family: Fira Code, monospace;
|
||||
font-size: 20px;
|
||||
line-height: 24.4px;
|
||||
font-variant-east-asian: full-width;
|
||||
}
|
||||
|
||||
.terminal-2240111166-title {
|
||||
.terminal-1793440407-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
font-family: arial;
|
||||
|
@ -36,56 +36,80 @@
|
|||
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
}
|
||||
.terminal-2240111166-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-2240111166-r2 { fill: #c6d0f5 }
|
||||
.terminal-2240111166-r3 { fill: #f9e2af;font-weight: bold }
|
||||
.terminal-1793440407-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-1793440407-r2 { fill: #c6d0f5 }
|
||||
.terminal-1793440407-r3 { fill: #f9e2af;font-weight: bold }
|
||||
</style>
|
||||
|
||||
<defs>
|
||||
<clipPath id="terminal-2240111166-clip-terminal">
|
||||
<rect x="0" y="0" width="853.0" height="194.2" />
|
||||
<clipPath id="terminal-1793440407-clip-terminal">
|
||||
<rect x="0" y="0" width="853.0" height="340.59999999999997" />
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2240111166-line-0">
|
||||
<clipPath id="terminal-1793440407-line-0">
|
||||
<rect x="0" y="1.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2240111166-line-1">
|
||||
<clipPath id="terminal-1793440407-line-1">
|
||||
<rect x="0" y="25.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2240111166-line-2">
|
||||
<clipPath id="terminal-1793440407-line-2">
|
||||
<rect x="0" y="50.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2240111166-line-3">
|
||||
<clipPath id="terminal-1793440407-line-3">
|
||||
<rect x="0" y="74.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2240111166-line-4">
|
||||
<clipPath id="terminal-1793440407-line-4">
|
||||
<rect x="0" y="99.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2240111166-line-5">
|
||||
<clipPath id="terminal-1793440407-line-5">
|
||||
<rect x="0" y="123.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2240111166-line-6">
|
||||
<clipPath id="terminal-1793440407-line-6">
|
||||
<rect x="0" y="147.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1793440407-line-7">
|
||||
<rect x="0" y="172.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1793440407-line-8">
|
||||
<rect x="0" y="196.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1793440407-line-9">
|
||||
<rect x="0" y="221.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1793440407-line-10">
|
||||
<rect x="0" y="245.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1793440407-line-11">
|
||||
<rect x="0" y="269.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1793440407-line-12">
|
||||
<rect x="0" y="294.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="243.2" rx="8"/><text class="terminal-2240111166-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv exe pip --help</text>
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="389.6" rx="8"/><text class="terminal-1793440407-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv exe pip --help</text>
|
||||
<g transform="translate(32,22)">
|
||||
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
||||
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
||||
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
||||
</g>
|
||||
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-2240111166-clip-terminal)">
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-1793440407-clip-terminal)">
|
||||
|
||||
<g class="terminal-2240111166-matrix">
|
||||
<text class="terminal-2240111166-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-2240111166-line-0)">usage</text><text class="terminal-2240111166-r2" x="61" y="20" textLength="427" clip-path="url(#terminal-2240111166-line-0)">: viv exe pip [-h] vivenv [cmd ...]</text><text class="terminal-2240111166-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-2240111166-line-0)">
|
||||
</text><text class="terminal-2240111166-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-2240111166-line-1)">
|
||||
</text><text class="terminal-2240111166-r1" x="0" y="68.8" textLength="244" clip-path="url(#terminal-2240111166-line-2)">positional arguments</text><text class="terminal-2240111166-r2" x="244" y="68.8" textLength="12.2" clip-path="url(#terminal-2240111166-line-2)">:</text><text class="terminal-2240111166-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-2240111166-line-2)">
|
||||
</text><text class="terminal-2240111166-r3" x="24.4" y="93.2" textLength="73.2" clip-path="url(#terminal-2240111166-line-3)">vivenv</text><text class="terminal-2240111166-r2" x="97.6" y="93.2" textLength="329.4" clip-path="url(#terminal-2240111166-line-3)">        name/hash of vivenv</text><text class="terminal-2240111166-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-2240111166-line-3)">
|
||||
</text><text class="terminal-2240111166-r3" x="24.4" y="117.6" textLength="36.6" clip-path="url(#terminal-2240111166-line-4)">cmd</text><text class="terminal-2240111166-r2" x="61" y="117.6" textLength="390.4" clip-path="url(#terminal-2240111166-line-4)">           command to to execute</text><text class="terminal-2240111166-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-2240111166-line-4)">
|
||||
</text><text class="terminal-2240111166-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-2240111166-line-5)">
|
||||
</text><text class="terminal-2240111166-r1" x="0" y="166.4" textLength="85.4" clip-path="url(#terminal-2240111166-line-6)">options</text><text class="terminal-2240111166-r2" x="85.4" y="166.4" textLength="12.2" clip-path="url(#terminal-2240111166-line-6)">:</text><text class="terminal-2240111166-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-2240111166-line-6)">
|
||||
</text><text class="terminal-2240111166-r3" x="24.4" y="190.8" textLength="24.4" clip-path="url(#terminal-2240111166-line-7)">-h</text><text class="terminal-2240111166-r2" x="48.8" y="190.8" textLength="24.4" clip-path="url(#terminal-2240111166-line-7)">, </text><text class="terminal-2240111166-r3" x="73.2" y="190.8" textLength="73.2" clip-path="url(#terminal-2240111166-line-7)">--help</text><text class="terminal-2240111166-r2" x="146.4" y="190.8" textLength="427" clip-path="url(#terminal-2240111166-line-7)">    show this help message and exit</text><text class="terminal-2240111166-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-2240111166-line-7)">
|
||||
<g class="terminal-1793440407-matrix">
|
||||
<text class="terminal-1793440407-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-1793440407-line-0)">usage</text><text class="terminal-1793440407-r2" x="61" y="20" textLength="305" clip-path="url(#terminal-1793440407-line-0)">: viv exe [-h] vivenv cmd</text><text class="terminal-1793440407-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-1793440407-line-0)">
|
||||
</text><text class="terminal-1793440407-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-1793440407-line-1)">
|
||||
</text><text class="terminal-1793440407-r2" x="0" y="68.8" textLength="439.2" clip-path="url(#terminal-1793440407-line-2)">run binary/script in existing vivenv</text><text class="terminal-1793440407-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-1793440407-line-2)">
|
||||
</text><text class="terminal-1793440407-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-1793440407-line-3)">
|
||||
</text><text class="terminal-1793440407-r2" x="0" y="117.6" textLength="109.8" clip-path="url(#terminal-1793440407-line-4)">examples:</text><text class="terminal-1793440407-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-1793440407-line-4)">
|
||||
</text><text class="terminal-1793440407-r2" x="0" y="142" textLength="390.4" clip-path="url(#terminal-1793440407-line-5)">    viv exe <vivenv> pip -- list</text><text class="terminal-1793440407-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-1793440407-line-5)">
|
||||
</text><text class="terminal-1793440407-r2" x="0" y="166.4" textLength="488" clip-path="url(#terminal-1793440407-line-6)">    viv exe <vivenv> python -- script.py</text><text class="terminal-1793440407-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-1793440407-line-6)">
|
||||
</text><text class="terminal-1793440407-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-1793440407-line-7)">
|
||||
</text><text class="terminal-1793440407-r1" x="0" y="215.2" textLength="244" clip-path="url(#terminal-1793440407-line-8)">positional arguments</text><text class="terminal-1793440407-r2" x="244" y="215.2" textLength="12.2" clip-path="url(#terminal-1793440407-line-8)">:</text><text class="terminal-1793440407-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-1793440407-line-8)">
|
||||
</text><text class="terminal-1793440407-r3" x="24.4" y="239.6" textLength="73.2" clip-path="url(#terminal-1793440407-line-9)">vivenv</text><text class="terminal-1793440407-r2" x="97.6" y="239.6" textLength="329.4" clip-path="url(#terminal-1793440407-line-9)">        name/hash of vivenv</text><text class="terminal-1793440407-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-1793440407-line-9)">
|
||||
</text><text class="terminal-1793440407-r3" x="24.4" y="264" textLength="36.6" clip-path="url(#terminal-1793440407-line-10)">cmd</text><text class="terminal-1793440407-r2" x="61" y="264" textLength="390.4" clip-path="url(#terminal-1793440407-line-10)">           command to to execute</text><text class="terminal-1793440407-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-1793440407-line-10)">
|
||||
</text><text class="terminal-1793440407-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-1793440407-line-11)">
|
||||
</text><text class="terminal-1793440407-r1" x="0" y="312.8" textLength="85.4" clip-path="url(#terminal-1793440407-line-12)">options</text><text class="terminal-1793440407-r2" x="85.4" y="312.8" textLength="12.2" clip-path="url(#terminal-1793440407-line-12)">:</text><text class="terminal-1793440407-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-1793440407-line-12)">
|
||||
</text><text class="terminal-1793440407-r3" x="24.4" y="337.2" textLength="24.4" clip-path="url(#terminal-1793440407-line-13)">-h</text><text class="terminal-1793440407-r2" x="48.8" y="337.2" textLength="24.4" clip-path="url(#terminal-1793440407-line-13)">, </text><text class="terminal-1793440407-r3" x="73.2" y="337.2" textLength="73.2" clip-path="url(#terminal-1793440407-line-13)">--help</text><text class="terminal-1793440407-r2" x="146.4" y="337.2" textLength="427" clip-path="url(#terminal-1793440407-line-13)">    show this help message and exit</text><text class="terminal-1793440407-r2" x="854" y="337.2" textLength="12.2" clip-path="url(#terminal-1793440407-line-13)">
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 8.5 KiB |
|
@ -1,4 +1,4 @@
|
|||
<svg class="rich-terminal shadow" viewBox="0 0 890.3333333333334 277.5333333333333" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg class="rich-terminal shadow" viewBox="0 0 890.3333333333334 423.9333333333333" xmlns="http://www.w3.org/2000/svg">
|
||||
<!-- Generated with Rich https://www.textualize.io & yartsu https://github.com/daylinmorgan/yartsu -->
|
||||
<style>
|
||||
|
||||
|
@ -19,14 +19,14 @@
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
.terminal-1517577456-matrix {
|
||||
.terminal-2696068080-matrix {
|
||||
font-family: Fira Code, monospace;
|
||||
font-size: 20px;
|
||||
line-height: 24.4px;
|
||||
font-variant-east-asian: full-width;
|
||||
}
|
||||
|
||||
.terminal-1517577456-title {
|
||||
.terminal-2696068080-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
font-family: arial;
|
||||
|
@ -36,56 +36,80 @@
|
|||
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
}
|
||||
.terminal-1517577456-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-1517577456-r2 { fill: #c6d0f5 }
|
||||
.terminal-1517577456-r3 { fill: #f9e2af;font-weight: bold }
|
||||
.terminal-2696068080-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-2696068080-r2 { fill: #c6d0f5 }
|
||||
.terminal-2696068080-r3 { fill: #f9e2af;font-weight: bold }
|
||||
</style>
|
||||
|
||||
<defs>
|
||||
<clipPath id="terminal-1517577456-clip-terminal">
|
||||
<rect x="0" y="0" width="853.0" height="194.2" />
|
||||
<clipPath id="terminal-2696068080-clip-terminal">
|
||||
<rect x="0" y="0" width="853.0" height="340.59999999999997" />
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1517577456-line-0">
|
||||
<clipPath id="terminal-2696068080-line-0">
|
||||
<rect x="0" y="1.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1517577456-line-1">
|
||||
<clipPath id="terminal-2696068080-line-1">
|
||||
<rect x="0" y="25.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1517577456-line-2">
|
||||
<clipPath id="terminal-2696068080-line-2">
|
||||
<rect x="0" y="50.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1517577456-line-3">
|
||||
<clipPath id="terminal-2696068080-line-3">
|
||||
<rect x="0" y="74.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1517577456-line-4">
|
||||
<clipPath id="terminal-2696068080-line-4">
|
||||
<rect x="0" y="99.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1517577456-line-5">
|
||||
<clipPath id="terminal-2696068080-line-5">
|
||||
<rect x="0" y="123.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1517577456-line-6">
|
||||
<clipPath id="terminal-2696068080-line-6">
|
||||
<rect x="0" y="147.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2696068080-line-7">
|
||||
<rect x="0" y="172.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2696068080-line-8">
|
||||
<rect x="0" y="196.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2696068080-line-9">
|
||||
<rect x="0" y="221.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2696068080-line-10">
|
||||
<rect x="0" y="245.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2696068080-line-11">
|
||||
<rect x="0" y="269.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2696068080-line-12">
|
||||
<rect x="0" y="294.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="243.2" rx="8"/><text class="terminal-1517577456-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv exe python --help</text>
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="389.6" rx="8"/><text class="terminal-2696068080-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv exe python --help</text>
|
||||
<g transform="translate(32,22)">
|
||||
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
||||
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
||||
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
||||
</g>
|
||||
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-1517577456-clip-terminal)">
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-2696068080-clip-terminal)">
|
||||
|
||||
<g class="terminal-1517577456-matrix">
|
||||
<text class="terminal-1517577456-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-1517577456-line-0)">usage</text><text class="terminal-1517577456-r2" x="61" y="20" textLength="463.6" clip-path="url(#terminal-1517577456-line-0)">: viv exe python [-h] vivenv [cmd ...]</text><text class="terminal-1517577456-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-1517577456-line-0)">
|
||||
</text><text class="terminal-1517577456-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-1517577456-line-1)">
|
||||
</text><text class="terminal-1517577456-r1" x="0" y="68.8" textLength="244" clip-path="url(#terminal-1517577456-line-2)">positional arguments</text><text class="terminal-1517577456-r2" x="244" y="68.8" textLength="12.2" clip-path="url(#terminal-1517577456-line-2)">:</text><text class="terminal-1517577456-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-1517577456-line-2)">
|
||||
</text><text class="terminal-1517577456-r3" x="24.4" y="93.2" textLength="73.2" clip-path="url(#terminal-1517577456-line-3)">vivenv</text><text class="terminal-1517577456-r2" x="97.6" y="93.2" textLength="329.4" clip-path="url(#terminal-1517577456-line-3)">        name/hash of vivenv</text><text class="terminal-1517577456-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-1517577456-line-3)">
|
||||
</text><text class="terminal-1517577456-r3" x="24.4" y="117.6" textLength="36.6" clip-path="url(#terminal-1517577456-line-4)">cmd</text><text class="terminal-1517577456-r2" x="61" y="117.6" textLength="390.4" clip-path="url(#terminal-1517577456-line-4)">           command to to execute</text><text class="terminal-1517577456-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-1517577456-line-4)">
|
||||
</text><text class="terminal-1517577456-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-1517577456-line-5)">
|
||||
</text><text class="terminal-1517577456-r1" x="0" y="166.4" textLength="85.4" clip-path="url(#terminal-1517577456-line-6)">options</text><text class="terminal-1517577456-r2" x="85.4" y="166.4" textLength="12.2" clip-path="url(#terminal-1517577456-line-6)">:</text><text class="terminal-1517577456-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-1517577456-line-6)">
|
||||
</text><text class="terminal-1517577456-r3" x="24.4" y="190.8" textLength="24.4" clip-path="url(#terminal-1517577456-line-7)">-h</text><text class="terminal-1517577456-r2" x="48.8" y="190.8" textLength="24.4" clip-path="url(#terminal-1517577456-line-7)">, </text><text class="terminal-1517577456-r3" x="73.2" y="190.8" textLength="73.2" clip-path="url(#terminal-1517577456-line-7)">--help</text><text class="terminal-1517577456-r2" x="146.4" y="190.8" textLength="427" clip-path="url(#terminal-1517577456-line-7)">    show this help message and exit</text><text class="terminal-1517577456-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-1517577456-line-7)">
|
||||
<g class="terminal-2696068080-matrix">
|
||||
<text class="terminal-2696068080-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-2696068080-line-0)">usage</text><text class="terminal-2696068080-r2" x="61" y="20" textLength="305" clip-path="url(#terminal-2696068080-line-0)">: viv exe [-h] vivenv cmd</text><text class="terminal-2696068080-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-2696068080-line-0)">
|
||||
</text><text class="terminal-2696068080-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-2696068080-line-1)">
|
||||
</text><text class="terminal-2696068080-r2" x="0" y="68.8" textLength="439.2" clip-path="url(#terminal-2696068080-line-2)">run binary/script in existing vivenv</text><text class="terminal-2696068080-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-2696068080-line-2)">
|
||||
</text><text class="terminal-2696068080-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-2696068080-line-3)">
|
||||
</text><text class="terminal-2696068080-r2" x="0" y="117.6" textLength="109.8" clip-path="url(#terminal-2696068080-line-4)">examples:</text><text class="terminal-2696068080-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-2696068080-line-4)">
|
||||
</text><text class="terminal-2696068080-r2" x="0" y="142" textLength="390.4" clip-path="url(#terminal-2696068080-line-5)">    viv exe <vivenv> pip -- list</text><text class="terminal-2696068080-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-2696068080-line-5)">
|
||||
</text><text class="terminal-2696068080-r2" x="0" y="166.4" textLength="488" clip-path="url(#terminal-2696068080-line-6)">    viv exe <vivenv> python -- script.py</text><text class="terminal-2696068080-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-2696068080-line-6)">
|
||||
</text><text class="terminal-2696068080-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-2696068080-line-7)">
|
||||
</text><text class="terminal-2696068080-r1" x="0" y="215.2" textLength="244" clip-path="url(#terminal-2696068080-line-8)">positional arguments</text><text class="terminal-2696068080-r2" x="244" y="215.2" textLength="12.2" clip-path="url(#terminal-2696068080-line-8)">:</text><text class="terminal-2696068080-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-2696068080-line-8)">
|
||||
</text><text class="terminal-2696068080-r3" x="24.4" y="239.6" textLength="73.2" clip-path="url(#terminal-2696068080-line-9)">vivenv</text><text class="terminal-2696068080-r2" x="97.6" y="239.6" textLength="329.4" clip-path="url(#terminal-2696068080-line-9)">        name/hash of vivenv</text><text class="terminal-2696068080-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-2696068080-line-9)">
|
||||
</text><text class="terminal-2696068080-r3" x="24.4" y="264" textLength="36.6" clip-path="url(#terminal-2696068080-line-10)">cmd</text><text class="terminal-2696068080-r2" x="61" y="264" textLength="390.4" clip-path="url(#terminal-2696068080-line-10)">           command to to execute</text><text class="terminal-2696068080-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-2696068080-line-10)">
|
||||
</text><text class="terminal-2696068080-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-2696068080-line-11)">
|
||||
</text><text class="terminal-2696068080-r1" x="0" y="312.8" textLength="85.4" clip-path="url(#terminal-2696068080-line-12)">options</text><text class="terminal-2696068080-r2" x="85.4" y="312.8" textLength="12.2" clip-path="url(#terminal-2696068080-line-12)">:</text><text class="terminal-2696068080-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-2696068080-line-12)">
|
||||
</text><text class="terminal-2696068080-r3" x="24.4" y="337.2" textLength="24.4" clip-path="url(#terminal-2696068080-line-13)">-h</text><text class="terminal-2696068080-r2" x="48.8" y="337.2" textLength="24.4" clip-path="url(#terminal-2696068080-line-13)">, </text><text class="terminal-2696068080-r3" x="73.2" y="337.2" textLength="73.2" clip-path="url(#terminal-2696068080-line-13)">--help</text><text class="terminal-2696068080-r2" x="146.4" y="337.2" textLength="427" clip-path="url(#terminal-2696068080-line-13)">    show this help message and exit</text><text class="terminal-2696068080-r2" x="854" y="337.2" textLength="12.2" clip-path="url(#terminal-2696068080-line-13)">
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 8.5 KiB |
|
@ -19,14 +19,14 @@
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
.terminal-2232683120-matrix {
|
||||
.terminal-3188460144-matrix {
|
||||
font-family: Fira Code, monospace;
|
||||
font-size: 20px;
|
||||
line-height: 24.4px;
|
||||
font-variant-east-asian: full-width;
|
||||
}
|
||||
|
||||
.terminal-2232683120-title {
|
||||
.terminal-3188460144-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
font-family: arial;
|
||||
|
@ -36,77 +36,77 @@
|
|||
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
}
|
||||
.terminal-2232683120-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-2232683120-r2 { fill: #c6d0f5 }
|
||||
.terminal-2232683120-r3 { fill: #f9e2af;font-weight: bold }
|
||||
.terminal-2232683120-r4 { fill: #f9e2af }
|
||||
.terminal-3188460144-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-3188460144-r2 { fill: #c6d0f5 }
|
||||
.terminal-3188460144-r3 { fill: #f9e2af;font-weight: bold }
|
||||
.terminal-3188460144-r4 { fill: #f9e2af }
|
||||
</style>
|
||||
|
||||
<defs>
|
||||
<clipPath id="terminal-2232683120-clip-terminal">
|
||||
<clipPath id="terminal-3188460144-clip-terminal">
|
||||
<rect x="0" y="0" width="853.0" height="316.2" />
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2232683120-line-0">
|
||||
<clipPath id="terminal-3188460144-line-0">
|
||||
<rect x="0" y="1.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2232683120-line-1">
|
||||
<clipPath id="terminal-3188460144-line-1">
|
||||
<rect x="0" y="25.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2232683120-line-2">
|
||||
<clipPath id="terminal-3188460144-line-2">
|
||||
<rect x="0" y="50.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2232683120-line-3">
|
||||
<clipPath id="terminal-3188460144-line-3">
|
||||
<rect x="0" y="74.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2232683120-line-4">
|
||||
<clipPath id="terminal-3188460144-line-4">
|
||||
<rect x="0" y="99.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2232683120-line-5">
|
||||
<clipPath id="terminal-3188460144-line-5">
|
||||
<rect x="0" y="123.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2232683120-line-6">
|
||||
<clipPath id="terminal-3188460144-line-6">
|
||||
<rect x="0" y="147.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2232683120-line-7">
|
||||
<clipPath id="terminal-3188460144-line-7">
|
||||
<rect x="0" y="172.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2232683120-line-8">
|
||||
<clipPath id="terminal-3188460144-line-8">
|
||||
<rect x="0" y="196.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2232683120-line-9">
|
||||
<clipPath id="terminal-3188460144-line-9">
|
||||
<rect x="0" y="221.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2232683120-line-10">
|
||||
<clipPath id="terminal-3188460144-line-10">
|
||||
<rect x="0" y="245.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2232683120-line-11">
|
||||
<clipPath id="terminal-3188460144-line-11">
|
||||
<rect x="0" y="269.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="365.2" rx="8"/><text class="terminal-2232683120-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv freeze --help</text>
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="365.2" rx="8"/><text class="terminal-3188460144-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv freeze --help</text>
|
||||
<g transform="translate(32,22)">
|
||||
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
||||
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
||||
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
||||
</g>
|
||||
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-2232683120-clip-terminal)">
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-3188460144-clip-terminal)">
|
||||
|
||||
<g class="terminal-2232683120-matrix">
|
||||
<text class="terminal-2232683120-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-2232683120-line-0)">usage</text><text class="terminal-2232683120-r2" x="61" y="20" textLength="793" clip-path="url(#terminal-2232683120-line-0)">: viv freeze [-h] [-p {abs,rel}] [-r <path>] [-k] [-s] [reqs ...]</text><text class="terminal-2232683120-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-2232683120-line-0)">
|
||||
</text><text class="terminal-2232683120-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-2232683120-line-1)">
|
||||
</text><text class="terminal-2232683120-r2" x="0" y="68.8" textLength="500.2" clip-path="url(#terminal-2232683120-line-2)">create import statement from package spec</text><text class="terminal-2232683120-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-2232683120-line-2)">
|
||||
</text><text class="terminal-2232683120-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-2232683120-line-3)">
|
||||
</text><text class="terminal-2232683120-r1" x="0" y="117.6" textLength="244" clip-path="url(#terminal-2232683120-line-4)">positional arguments</text><text class="terminal-2232683120-r2" x="244" y="117.6" textLength="12.2" clip-path="url(#terminal-2232683120-line-4)">:</text><text class="terminal-2232683120-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-2232683120-line-4)">
|
||||
</text><text class="terminal-2232683120-r3" x="24.4" y="142" textLength="48.8" clip-path="url(#terminal-2232683120-line-5)">reqs</text><text class="terminal-2232683120-r2" x="73.2" y="142" textLength="585.6" clip-path="url(#terminal-2232683120-line-5)">                         requirements specifiers</text><text class="terminal-2232683120-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-2232683120-line-5)">
|
||||
</text><text class="terminal-2232683120-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-2232683120-line-6)">
|
||||
</text><text class="terminal-2232683120-r1" x="0" y="190.8" textLength="85.4" clip-path="url(#terminal-2232683120-line-7)">options</text><text class="terminal-2232683120-r2" x="85.4" y="190.8" textLength="12.2" clip-path="url(#terminal-2232683120-line-7)">:</text><text class="terminal-2232683120-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-2232683120-line-7)">
|
||||
</text><text class="terminal-2232683120-r3" x="24.4" y="215.2" textLength="24.4" clip-path="url(#terminal-2232683120-line-8)">-h</text><text class="terminal-2232683120-r2" x="48.8" y="215.2" textLength="24.4" clip-path="url(#terminal-2232683120-line-8)">, </text><text class="terminal-2232683120-r3" x="73.2" y="215.2" textLength="73.2" clip-path="url(#terminal-2232683120-line-8)">--help</text><text class="terminal-2232683120-r2" x="146.4" y="215.2" textLength="610" clip-path="url(#terminal-2232683120-line-8)">                   show this help message and exit</text><text class="terminal-2232683120-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-2232683120-line-8)">
|
||||
</text><text class="terminal-2232683120-r3" x="24.4" y="239.6" textLength="24.4" clip-path="url(#terminal-2232683120-line-9)">-p</text><text class="terminal-2232683120-r2" x="48.8" y="239.6" textLength="24.4" clip-path="url(#terminal-2232683120-line-9)">, </text><text class="terminal-2232683120-r3" x="73.2" y="239.6" textLength="73.2" clip-path="url(#terminal-2232683120-line-9)">--path</text><text class="terminal-2232683120-r4" x="146.4" y="239.6" textLength="122" clip-path="url(#terminal-2232683120-line-9)"> {abs,rel}</text><text class="terminal-2232683120-r2" x="268.4" y="239.6" textLength="549" clip-path="url(#terminal-2232683120-line-9)">         generate line to add viv to sys.path</text><text class="terminal-2232683120-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-2232683120-line-9)">
|
||||
</text><text class="terminal-2232683120-r3" x="24.4" y="264" textLength="24.4" clip-path="url(#terminal-2232683120-line-10)">-r</text><text class="terminal-2232683120-r2" x="48.8" y="264" textLength="24.4" clip-path="url(#terminal-2232683120-line-10)">, </text><text class="terminal-2232683120-r3" x="73.2" y="264" textLength="170.8" clip-path="url(#terminal-2232683120-line-10)">--requirements</text><text class="terminal-2232683120-r4" x="244" y="264" textLength="85.4" clip-path="url(#terminal-2232683120-line-10)"> <path></text><text class="terminal-2232683120-r2" x="329.4" y="264" textLength="402.6" clip-path="url(#terminal-2232683120-line-10)">    path/to/requirements.txt file</text><text class="terminal-2232683120-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-2232683120-line-10)">
|
||||
</text><text class="terminal-2232683120-r3" x="24.4" y="288.4" textLength="24.4" clip-path="url(#terminal-2232683120-line-11)">-k</text><text class="terminal-2232683120-r2" x="48.8" y="288.4" textLength="24.4" clip-path="url(#terminal-2232683120-line-11)">, </text><text class="terminal-2232683120-r3" x="73.2" y="288.4" textLength="73.2" clip-path="url(#terminal-2232683120-line-11)">--keep</text><text class="terminal-2232683120-r2" x="146.4" y="288.4" textLength="475.8" clip-path="url(#terminal-2232683120-line-11)">                   preserve environment</text><text class="terminal-2232683120-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-2232683120-line-11)">
|
||||
</text><text class="terminal-2232683120-r3" x="24.4" y="312.8" textLength="24.4" clip-path="url(#terminal-2232683120-line-12)">-s</text><text class="terminal-2232683120-r2" x="48.8" y="312.8" textLength="24.4" clip-path="url(#terminal-2232683120-line-12)">, </text><text class="terminal-2232683120-r3" x="73.2" y="312.8" textLength="146.4" clip-path="url(#terminal-2232683120-line-12)">--standalone</text><text class="terminal-2232683120-r2" x="219.6" y="312.8" textLength="634.4" clip-path="url(#terminal-2232683120-line-12)">             generate standalone activation function</text><text class="terminal-2232683120-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-2232683120-line-12)">
|
||||
<g class="terminal-3188460144-matrix">
|
||||
<text class="terminal-3188460144-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-3188460144-line-0)">usage</text><text class="terminal-3188460144-r2" x="61" y="20" textLength="793" clip-path="url(#terminal-3188460144-line-0)">: viv freeze [-h] [-p {abs,rel}] [-s] [-k] [-r <path>] [reqs ...]</text><text class="terminal-3188460144-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-3188460144-line-0)">
|
||||
</text><text class="terminal-3188460144-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-3188460144-line-1)">
|
||||
</text><text class="terminal-3188460144-r2" x="0" y="68.8" textLength="500.2" clip-path="url(#terminal-3188460144-line-2)">create import statement from package spec</text><text class="terminal-3188460144-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-3188460144-line-2)">
|
||||
</text><text class="terminal-3188460144-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-3188460144-line-3)">
|
||||
</text><text class="terminal-3188460144-r1" x="0" y="117.6" textLength="244" clip-path="url(#terminal-3188460144-line-4)">positional arguments</text><text class="terminal-3188460144-r2" x="244" y="117.6" textLength="12.2" clip-path="url(#terminal-3188460144-line-4)">:</text><text class="terminal-3188460144-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-3188460144-line-4)">
|
||||
</text><text class="terminal-3188460144-r3" x="24.4" y="142" textLength="48.8" clip-path="url(#terminal-3188460144-line-5)">reqs</text><text class="terminal-3188460144-r2" x="73.2" y="142" textLength="585.6" clip-path="url(#terminal-3188460144-line-5)">                         requirements specifiers</text><text class="terminal-3188460144-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-3188460144-line-5)">
|
||||
</text><text class="terminal-3188460144-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-3188460144-line-6)">
|
||||
</text><text class="terminal-3188460144-r1" x="0" y="190.8" textLength="85.4" clip-path="url(#terminal-3188460144-line-7)">options</text><text class="terminal-3188460144-r2" x="85.4" y="190.8" textLength="12.2" clip-path="url(#terminal-3188460144-line-7)">:</text><text class="terminal-3188460144-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-3188460144-line-7)">
|
||||
</text><text class="terminal-3188460144-r3" x="24.4" y="215.2" textLength="24.4" clip-path="url(#terminal-3188460144-line-8)">-h</text><text class="terminal-3188460144-r2" x="48.8" y="215.2" textLength="24.4" clip-path="url(#terminal-3188460144-line-8)">, </text><text class="terminal-3188460144-r3" x="73.2" y="215.2" textLength="73.2" clip-path="url(#terminal-3188460144-line-8)">--help</text><text class="terminal-3188460144-r2" x="146.4" y="215.2" textLength="610" clip-path="url(#terminal-3188460144-line-8)">                   show this help message and exit</text><text class="terminal-3188460144-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-3188460144-line-8)">
|
||||
</text><text class="terminal-3188460144-r3" x="24.4" y="239.6" textLength="24.4" clip-path="url(#terminal-3188460144-line-9)">-p</text><text class="terminal-3188460144-r2" x="48.8" y="239.6" textLength="24.4" clip-path="url(#terminal-3188460144-line-9)">, </text><text class="terminal-3188460144-r3" x="73.2" y="239.6" textLength="73.2" clip-path="url(#terminal-3188460144-line-9)">--path</text><text class="terminal-3188460144-r4" x="146.4" y="239.6" textLength="122" clip-path="url(#terminal-3188460144-line-9)"> {abs,rel}</text><text class="terminal-3188460144-r2" x="268.4" y="239.6" textLength="549" clip-path="url(#terminal-3188460144-line-9)">         generate line to add viv to sys.path</text><text class="terminal-3188460144-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-3188460144-line-9)">
|
||||
</text><text class="terminal-3188460144-r3" x="24.4" y="264" textLength="24.4" clip-path="url(#terminal-3188460144-line-10)">-s</text><text class="terminal-3188460144-r2" x="48.8" y="264" textLength="24.4" clip-path="url(#terminal-3188460144-line-10)">, </text><text class="terminal-3188460144-r3" x="73.2" y="264" textLength="146.4" clip-path="url(#terminal-3188460144-line-10)">--standalone</text><text class="terminal-3188460144-r2" x="219.6" y="264" textLength="634.4" clip-path="url(#terminal-3188460144-line-10)">             generate standalone activation function</text><text class="terminal-3188460144-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-3188460144-line-10)">
|
||||
</text><text class="terminal-3188460144-r3" x="24.4" y="288.4" textLength="24.4" clip-path="url(#terminal-3188460144-line-11)">-k</text><text class="terminal-3188460144-r2" x="48.8" y="288.4" textLength="24.4" clip-path="url(#terminal-3188460144-line-11)">, </text><text class="terminal-3188460144-r3" x="73.2" y="288.4" textLength="73.2" clip-path="url(#terminal-3188460144-line-11)">--keep</text><text class="terminal-3188460144-r2" x="146.4" y="288.4" textLength="475.8" clip-path="url(#terminal-3188460144-line-11)">                   preserve environment</text><text class="terminal-3188460144-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-3188460144-line-11)">
|
||||
</text><text class="terminal-3188460144-r3" x="24.4" y="312.8" textLength="24.4" clip-path="url(#terminal-3188460144-line-12)">-r</text><text class="terminal-3188460144-r2" x="48.8" y="312.8" textLength="24.4" clip-path="url(#terminal-3188460144-line-12)">, </text><text class="terminal-3188460144-r3" x="73.2" y="312.8" textLength="170.8" clip-path="url(#terminal-3188460144-line-12)">--requirements</text><text class="terminal-3188460144-r4" x="244" y="312.8" textLength="85.4" clip-path="url(#terminal-3188460144-line-12)"> <path></text><text class="terminal-3188460144-r2" x="329.4" y="312.8" textLength="402.6" clip-path="url(#terminal-3188460144-line-12)">    path/to/requirements.txt file</text><text class="terminal-3188460144-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-3188460144-line-12)">
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
@ -19,14 +19,14 @@
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
.terminal-1825138163-matrix {
|
||||
.terminal-2508285730-matrix {
|
||||
font-family: Fira Code, monospace;
|
||||
font-size: 20px;
|
||||
line-height: 24.4px;
|
||||
font-variant-east-asian: full-width;
|
||||
}
|
||||
|
||||
.terminal-1825138163-title {
|
||||
.terminal-2508285730-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
font-family: arial;
|
||||
|
@ -36,110 +36,110 @@
|
|||
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
}
|
||||
.terminal-1825138163-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-1825138163-r2 { fill: #c6d0f5 }
|
||||
.terminal-1825138163-r3 { fill: #f5c2e7;font-weight: bold }
|
||||
.terminal-1825138163-r4 { fill: #c6d0f5;font-weight: bold }
|
||||
.terminal-1825138163-r5 { fill: #f9e2af;font-weight: bold }
|
||||
.terminal-2508285730-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-2508285730-r2 { fill: #c6d0f5 }
|
||||
.terminal-2508285730-r3 { fill: #f5c2e7;font-weight: bold }
|
||||
.terminal-2508285730-r4 { fill: #c6d0f5;font-weight: bold }
|
||||
.terminal-2508285730-r5 { fill: #f9e2af;font-weight: bold }
|
||||
</style>
|
||||
|
||||
<defs>
|
||||
<clipPath id="terminal-1825138163-clip-terminal">
|
||||
<clipPath id="terminal-2508285730-clip-terminal">
|
||||
<rect x="0" y="0" width="853.0" height="511.4" />
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-0">
|
||||
<clipPath id="terminal-2508285730-line-0">
|
||||
<rect x="0" y="1.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-1">
|
||||
<clipPath id="terminal-2508285730-line-1">
|
||||
<rect x="0" y="25.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-2">
|
||||
<clipPath id="terminal-2508285730-line-2">
|
||||
<rect x="0" y="50.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-3">
|
||||
<clipPath id="terminal-2508285730-line-3">
|
||||
<rect x="0" y="74.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-4">
|
||||
<clipPath id="terminal-2508285730-line-4">
|
||||
<rect x="0" y="99.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-5">
|
||||
<clipPath id="terminal-2508285730-line-5">
|
||||
<rect x="0" y="123.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-6">
|
||||
<clipPath id="terminal-2508285730-line-6">
|
||||
<rect x="0" y="147.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-7">
|
||||
<clipPath id="terminal-2508285730-line-7">
|
||||
<rect x="0" y="172.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-8">
|
||||
<clipPath id="terminal-2508285730-line-8">
|
||||
<rect x="0" y="196.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-9">
|
||||
<clipPath id="terminal-2508285730-line-9">
|
||||
<rect x="0" y="221.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-10">
|
||||
<clipPath id="terminal-2508285730-line-10">
|
||||
<rect x="0" y="245.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-11">
|
||||
<clipPath id="terminal-2508285730-line-11">
|
||||
<rect x="0" y="269.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-12">
|
||||
<clipPath id="terminal-2508285730-line-12">
|
||||
<rect x="0" y="294.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-13">
|
||||
<clipPath id="terminal-2508285730-line-13">
|
||||
<rect x="0" y="318.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-14">
|
||||
<clipPath id="terminal-2508285730-line-14">
|
||||
<rect x="0" y="343.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-15">
|
||||
<clipPath id="terminal-2508285730-line-15">
|
||||
<rect x="0" y="367.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-16">
|
||||
<clipPath id="terminal-2508285730-line-16">
|
||||
<rect x="0" y="391.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-17">
|
||||
<clipPath id="terminal-2508285730-line-17">
|
||||
<rect x="0" y="416.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-18">
|
||||
<clipPath id="terminal-2508285730-line-18">
|
||||
<rect x="0" y="440.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-1825138163-line-19">
|
||||
<clipPath id="terminal-2508285730-line-19">
|
||||
<rect x="0" y="465.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="560.4" rx="8"/><text class="terminal-1825138163-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv  --help</text>
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="560.4" rx="8"/><text class="terminal-2508285730-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv  --help</text>
|
||||
<g transform="translate(32,22)">
|
||||
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
||||
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
||||
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
||||
</g>
|
||||
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-1825138163-clip-terminal)">
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-2508285730-clip-terminal)">
|
||||
|
||||
<g class="terminal-1825138163-matrix">
|
||||
<text class="terminal-1825138163-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-1825138163-line-0)">usage</text><text class="terminal-1825138163-r2" x="61" y="20" textLength="353.8" clip-path="url(#terminal-1825138163-line-0)">: viv [-h] [-V] <sub-cmd> ...</text><text class="terminal-1825138163-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-1825138163-line-0)">
|
||||
</text><text class="terminal-1825138163-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-1825138163-line-1)">
|
||||
</text><text class="terminal-1825138163-r3" x="0" y="68.8" textLength="12.2" clip-path="url(#terminal-1825138163-line-2)">v</text><text class="terminal-1825138163-r1" x="12.2" y="68.8" textLength="24.4" clip-path="url(#terminal-1825138163-line-2)">iv</text><text class="terminal-1825138163-r3" x="48.8" y="68.8" textLength="12.2" clip-path="url(#terminal-1825138163-line-2)">i</text><text class="terminal-1825138163-r1" x="61" y="68.8" textLength="48.8" clip-path="url(#terminal-1825138163-line-2)">sn't</text><text class="terminal-1825138163-r3" x="122" y="68.8" textLength="12.2" clip-path="url(#terminal-1825138163-line-2)">v</text><text class="terminal-1825138163-r1" x="134.2" y="68.8" textLength="48.8" clip-path="url(#terminal-1825138163-line-2)">env!</text><text class="terminal-1825138163-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-1825138163-line-2)">
|
||||
</text><text class="terminal-1825138163-r2" x="0" y="93.2" textLength="341.6" clip-path="url(#terminal-1825138163-line-3)">to create/activate a vivenv:</text><text class="terminal-1825138163-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-1825138163-line-3)">
|
||||
</text><text class="terminal-1825138163-r2" x="0" y="117.6" textLength="268.4" clip-path="url(#terminal-1825138163-line-4)">- from command line: `</text><text class="terminal-1825138163-r4" x="268.4" y="117.6" textLength="73.2" clip-path="url(#terminal-1825138163-line-4)">viv -h</text><text class="terminal-1825138163-r2" x="341.6" y="117.6" textLength="12.2" clip-path="url(#terminal-1825138163-line-4)">`</text><text class="terminal-1825138163-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-1825138163-line-4)">
|
||||
</text><text class="terminal-1825138163-r2" x="0" y="142" textLength="292.8" clip-path="url(#terminal-1825138163-line-5)">- within python script: </text><text class="terminal-1825138163-r4" x="292.8" y="142" textLength="536.8" clip-path="url(#terminal-1825138163-line-5)">__import__("viv").use("typer", "rich-click")</text><text class="terminal-1825138163-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-1825138163-line-5)">
|
||||
</text><text class="terminal-1825138163-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-1825138163-line-6)">
|
||||
</text><text class="terminal-1825138163-r1" x="0" y="190.8" textLength="85.4" clip-path="url(#terminal-1825138163-line-7)">options</text><text class="terminal-1825138163-r2" x="85.4" y="190.8" textLength="12.2" clip-path="url(#terminal-1825138163-line-7)">:</text><text class="terminal-1825138163-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-1825138163-line-7)">
|
||||
</text><text class="terminal-1825138163-r5" x="24.4" y="215.2" textLength="24.4" clip-path="url(#terminal-1825138163-line-8)">-h</text><text class="terminal-1825138163-r2" x="48.8" y="215.2" textLength="24.4" clip-path="url(#terminal-1825138163-line-8)">, </text><text class="terminal-1825138163-r5" x="73.2" y="215.2" textLength="73.2" clip-path="url(#terminal-1825138163-line-8)">--help</text><text class="terminal-1825138163-r2" x="146.4" y="215.2" textLength="463.6" clip-path="url(#terminal-1825138163-line-8)">       show this help message and exit</text><text class="terminal-1825138163-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-1825138163-line-8)">
|
||||
</text><text class="terminal-1825138163-r5" x="24.4" y="239.6" textLength="24.4" clip-path="url(#terminal-1825138163-line-9)">-V</text><text class="terminal-1825138163-r2" x="48.8" y="239.6" textLength="24.4" clip-path="url(#terminal-1825138163-line-9)">, </text><text class="terminal-1825138163-r5" x="73.2" y="239.6" textLength="109.8" clip-path="url(#terminal-1825138163-line-9)">--version</text><text class="terminal-1825138163-r2" x="183" y="239.6" textLength="512.4" clip-path="url(#terminal-1825138163-line-9)">    show program's version number and exit</text><text class="terminal-1825138163-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-1825138163-line-9)">
|
||||
</text><text class="terminal-1825138163-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-1825138163-line-10)">
|
||||
</text><text class="terminal-1825138163-r1" x="0" y="288.4" textLength="134.2" clip-path="url(#terminal-1825138163-line-11)">subcommands</text><text class="terminal-1825138163-r2" x="134.2" y="288.4" textLength="12.2" clip-path="url(#terminal-1825138163-line-11)">:</text><text class="terminal-1825138163-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-1825138163-line-11)">
|
||||
</text><text class="terminal-1825138163-r5" x="24.4" y="312.8" textLength="109.8" clip-path="url(#terminal-1825138163-line-12)"><sub-cmd></text><text class="terminal-1825138163-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-1825138163-line-12)">
|
||||
</text><text class="terminal-1825138163-r5" x="48.8" y="337.2" textLength="97.6" clip-path="url(#terminal-1825138163-line-13)">list (l)</text><text class="terminal-1825138163-r2" x="146.4" y="337.2" textLength="280.6" clip-path="url(#terminal-1825138163-line-13)">       list all vivenvs</text><text class="terminal-1825138163-r2" x="854" y="337.2" textLength="12.2" clip-path="url(#terminal-1825138163-line-13)">
|
||||
</text><text class="terminal-1825138163-r5" x="48.8" y="361.6" textLength="85.4" clip-path="url(#terminal-1825138163-line-14)">exe (e)</text><text class="terminal-1825138163-r2" x="134.2" y="361.6" textLength="500.2" clip-path="url(#terminal-1825138163-line-14)">        run python/pip in existing vivenv</text><text class="terminal-1825138163-r2" x="854" y="361.6" textLength="12.2" clip-path="url(#terminal-1825138163-line-14)">
|
||||
</text><text class="terminal-1825138163-r5" x="48.8" y="386" textLength="134.2" clip-path="url(#terminal-1825138163-line-15)">remove (rm)</text><text class="terminal-1825138163-r2" x="183" y="386" textLength="231.8" clip-path="url(#terminal-1825138163-line-15)">    remove a vivenv</text><text class="terminal-1825138163-r2" x="854" y="386" textLength="12.2" clip-path="url(#terminal-1825138163-line-15)">
|
||||
</text><text class="terminal-1825138163-r5" x="48.8" y="410.4" textLength="122" clip-path="url(#terminal-1825138163-line-16)">freeze (f)</text><text class="terminal-1825138163-r2" x="170.8" y="410.4" textLength="561.2" clip-path="url(#terminal-1825138163-line-16)">     create import statement from package spec</text><text class="terminal-1825138163-r2" x="854" y="410.4" textLength="12.2" clip-path="url(#terminal-1825138163-line-16)">
|
||||
</text><text class="terminal-1825138163-r5" x="48.8" y="434.8" textLength="97.6" clip-path="url(#terminal-1825138163-line-17)">info (i)</text><text class="terminal-1825138163-r2" x="146.4" y="434.8" textLength="414.8" clip-path="url(#terminal-1825138163-line-17)">       get metadata about a vivenv</text><text class="terminal-1825138163-r2" x="854" y="434.8" textLength="12.2" clip-path="url(#terminal-1825138163-line-17)">
|
||||
</text><text class="terminal-1825138163-r5" x="48.8" y="459.2" textLength="122" clip-path="url(#terminal-1825138163-line-18)">manage (m)</text><text class="terminal-1825138163-r2" x="170.8" y="459.2" textLength="268.4" clip-path="url(#terminal-1825138163-line-18)">     manage viv itself</text><text class="terminal-1825138163-r2" x="854" y="459.2" textLength="12.2" clip-path="url(#terminal-1825138163-line-18)">
|
||||
</text><text class="terminal-1825138163-r5" x="48.8" y="483.6" textLength="97.6" clip-path="url(#terminal-1825138163-line-19)">shim (s)</text><text class="terminal-1825138163-r2" x="146.4" y="483.6" textLength="439.2" clip-path="url(#terminal-1825138163-line-19)">       generate viv-powered cli apps</text><text class="terminal-1825138163-r2" x="854" y="483.6" textLength="12.2" clip-path="url(#terminal-1825138163-line-19)">
|
||||
</text><text class="terminal-1825138163-r5" x="48.8" y="508" textLength="85.4" clip-path="url(#terminal-1825138163-line-20)">run (r)</text><text class="terminal-1825138163-r2" x="134.2" y="508" textLength="500.2" clip-path="url(#terminal-1825138163-line-20)">        run an app with an on-demand venv</text><text class="terminal-1825138163-r2" x="854" y="508" textLength="12.2" clip-path="url(#terminal-1825138163-line-20)">
|
||||
<g class="terminal-2508285730-matrix">
|
||||
<text class="terminal-2508285730-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-2508285730-line-0)">usage</text><text class="terminal-2508285730-r2" x="61" y="20" textLength="353.8" clip-path="url(#terminal-2508285730-line-0)">: viv [-h] [-V] <sub-cmd> ...</text><text class="terminal-2508285730-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-2508285730-line-0)">
|
||||
</text><text class="terminal-2508285730-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-2508285730-line-1)">
|
||||
</text><text class="terminal-2508285730-r3" x="0" y="68.8" textLength="12.2" clip-path="url(#terminal-2508285730-line-2)">v</text><text class="terminal-2508285730-r1" x="12.2" y="68.8" textLength="24.4" clip-path="url(#terminal-2508285730-line-2)">iv</text><text class="terminal-2508285730-r3" x="48.8" y="68.8" textLength="12.2" clip-path="url(#terminal-2508285730-line-2)">i</text><text class="terminal-2508285730-r1" x="61" y="68.8" textLength="48.8" clip-path="url(#terminal-2508285730-line-2)">sn't</text><text class="terminal-2508285730-r3" x="122" y="68.8" textLength="12.2" clip-path="url(#terminal-2508285730-line-2)">v</text><text class="terminal-2508285730-r1" x="134.2" y="68.8" textLength="48.8" clip-path="url(#terminal-2508285730-line-2)">env!</text><text class="terminal-2508285730-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-2508285730-line-2)">
|
||||
</text><text class="terminal-2508285730-r2" x="0" y="93.2" textLength="341.6" clip-path="url(#terminal-2508285730-line-3)">to create/activate a vivenv:</text><text class="terminal-2508285730-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-2508285730-line-3)">
|
||||
</text><text class="terminal-2508285730-r2" x="0" y="117.6" textLength="268.4" clip-path="url(#terminal-2508285730-line-4)">- from command line: `</text><text class="terminal-2508285730-r4" x="268.4" y="117.6" textLength="73.2" clip-path="url(#terminal-2508285730-line-4)">viv -h</text><text class="terminal-2508285730-r2" x="341.6" y="117.6" textLength="12.2" clip-path="url(#terminal-2508285730-line-4)">`</text><text class="terminal-2508285730-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-2508285730-line-4)">
|
||||
</text><text class="terminal-2508285730-r2" x="0" y="142" textLength="292.8" clip-path="url(#terminal-2508285730-line-5)">- within python script: </text><text class="terminal-2508285730-r4" x="292.8" y="142" textLength="536.8" clip-path="url(#terminal-2508285730-line-5)">__import__("viv").use("typer", "rich-click")</text><text class="terminal-2508285730-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-2508285730-line-5)">
|
||||
</text><text class="terminal-2508285730-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-2508285730-line-6)">
|
||||
</text><text class="terminal-2508285730-r1" x="0" y="190.8" textLength="85.4" clip-path="url(#terminal-2508285730-line-7)">options</text><text class="terminal-2508285730-r2" x="85.4" y="190.8" textLength="12.2" clip-path="url(#terminal-2508285730-line-7)">:</text><text class="terminal-2508285730-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-2508285730-line-7)">
|
||||
</text><text class="terminal-2508285730-r5" x="24.4" y="215.2" textLength="24.4" clip-path="url(#terminal-2508285730-line-8)">-h</text><text class="terminal-2508285730-r2" x="48.8" y="215.2" textLength="24.4" clip-path="url(#terminal-2508285730-line-8)">, </text><text class="terminal-2508285730-r5" x="73.2" y="215.2" textLength="73.2" clip-path="url(#terminal-2508285730-line-8)">--help</text><text class="terminal-2508285730-r2" x="146.4" y="215.2" textLength="463.6" clip-path="url(#terminal-2508285730-line-8)">       show this help message and exit</text><text class="terminal-2508285730-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-2508285730-line-8)">
|
||||
</text><text class="terminal-2508285730-r5" x="24.4" y="239.6" textLength="24.4" clip-path="url(#terminal-2508285730-line-9)">-V</text><text class="terminal-2508285730-r2" x="48.8" y="239.6" textLength="24.4" clip-path="url(#terminal-2508285730-line-9)">, </text><text class="terminal-2508285730-r5" x="73.2" y="239.6" textLength="109.8" clip-path="url(#terminal-2508285730-line-9)">--version</text><text class="terminal-2508285730-r2" x="183" y="239.6" textLength="512.4" clip-path="url(#terminal-2508285730-line-9)">    show program's version number and exit</text><text class="terminal-2508285730-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-2508285730-line-9)">
|
||||
</text><text class="terminal-2508285730-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-2508285730-line-10)">
|
||||
</text><text class="terminal-2508285730-r1" x="0" y="288.4" textLength="134.2" clip-path="url(#terminal-2508285730-line-11)">subcommands</text><text class="terminal-2508285730-r2" x="134.2" y="288.4" textLength="12.2" clip-path="url(#terminal-2508285730-line-11)">:</text><text class="terminal-2508285730-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-2508285730-line-11)">
|
||||
</text><text class="terminal-2508285730-r5" x="24.4" y="312.8" textLength="109.8" clip-path="url(#terminal-2508285730-line-12)"><sub-cmd></text><text class="terminal-2508285730-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-2508285730-line-12)">
|
||||
</text><text class="terminal-2508285730-r5" x="48.8" y="337.2" textLength="97.6" clip-path="url(#terminal-2508285730-line-13)">list (l)</text><text class="terminal-2508285730-r2" x="146.4" y="337.2" textLength="280.6" clip-path="url(#terminal-2508285730-line-13)">       list all vivenvs</text><text class="terminal-2508285730-r2" x="854" y="337.2" textLength="12.2" clip-path="url(#terminal-2508285730-line-13)">
|
||||
</text><text class="terminal-2508285730-r5" x="48.8" y="361.6" textLength="97.6" clip-path="url(#terminal-2508285730-line-14)">shim (s)</text><text class="terminal-2508285730-r2" x="146.4" y="361.6" textLength="439.2" clip-path="url(#terminal-2508285730-line-14)">       generate viv-powered cli apps</text><text class="terminal-2508285730-r2" x="854" y="361.6" textLength="12.2" clip-path="url(#terminal-2508285730-line-14)">
|
||||
</text><text class="terminal-2508285730-r5" x="48.8" y="386" textLength="85.4" clip-path="url(#terminal-2508285730-line-15)">run (r)</text><text class="terminal-2508285730-r2" x="134.2" y="386" textLength="500.2" clip-path="url(#terminal-2508285730-line-15)">        run an app with an on-demand venv</text><text class="terminal-2508285730-r2" x="854" y="386" textLength="12.2" clip-path="url(#terminal-2508285730-line-15)">
|
||||
</text><text class="terminal-2508285730-r5" x="48.8" y="410.4" textLength="85.4" clip-path="url(#terminal-2508285730-line-16)">exe (e)</text><text class="terminal-2508285730-r2" x="134.2" y="410.4" textLength="536.8" clip-path="url(#terminal-2508285730-line-16)">        run binary/script in existing vivenv</text><text class="terminal-2508285730-r2" x="854" y="410.4" textLength="12.2" clip-path="url(#terminal-2508285730-line-16)">
|
||||
</text><text class="terminal-2508285730-r5" x="48.8" y="434.8" textLength="134.2" clip-path="url(#terminal-2508285730-line-17)">remove (rm)</text><text class="terminal-2508285730-r2" x="183" y="434.8" textLength="231.8" clip-path="url(#terminal-2508285730-line-17)">    remove a vivenv</text><text class="terminal-2508285730-r2" x="854" y="434.8" textLength="12.2" clip-path="url(#terminal-2508285730-line-17)">
|
||||
</text><text class="terminal-2508285730-r5" x="48.8" y="459.2" textLength="122" clip-path="url(#terminal-2508285730-line-18)">freeze (f)</text><text class="terminal-2508285730-r2" x="170.8" y="459.2" textLength="561.2" clip-path="url(#terminal-2508285730-line-18)">     create import statement from package spec</text><text class="terminal-2508285730-r2" x="854" y="459.2" textLength="12.2" clip-path="url(#terminal-2508285730-line-18)">
|
||||
</text><text class="terminal-2508285730-r5" x="48.8" y="483.6" textLength="97.6" clip-path="url(#terminal-2508285730-line-19)">info (i)</text><text class="terminal-2508285730-r2" x="146.4" y="483.6" textLength="414.8" clip-path="url(#terminal-2508285730-line-19)">       get metadata about a vivenv</text><text class="terminal-2508285730-r2" x="854" y="483.6" textLength="12.2" clip-path="url(#terminal-2508285730-line-19)">
|
||||
</text><text class="terminal-2508285730-r5" x="48.8" y="508" textLength="122" clip-path="url(#terminal-2508285730-line-20)">manage (m)</text><text class="terminal-2508285730-r2" x="170.8" y="508" textLength="268.4" clip-path="url(#terminal-2508285730-line-20)">     manage viv itself</text><text class="terminal-2508285730-r2" x="854" y="508" textLength="12.2" clip-path="url(#terminal-2508285730-line-20)">
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
@ -19,14 +19,14 @@
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
.terminal-3127839659-matrix {
|
||||
.terminal-1970867223-matrix {
|
||||
font-family: Fira Code, monospace;
|
||||
font-size: 20px;
|
||||
line-height: 24.4px;
|
||||
font-variant-east-asian: full-width;
|
||||
}
|
||||
|
||||
.terminal-3127839659-title {
|
||||
.terminal-1970867223-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
font-family: arial;
|
||||
|
@ -36,76 +36,76 @@
|
|||
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
}
|
||||
.terminal-3127839659-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-3127839659-r2 { fill: #c6d0f5 }
|
||||
.terminal-3127839659-r3 { fill: #f9e2af;font-weight: bold }
|
||||
.terminal-1970867223-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-1970867223-r2 { fill: #c6d0f5 }
|
||||
.terminal-1970867223-r3 { fill: #f9e2af;font-weight: bold }
|
||||
</style>
|
||||
|
||||
<defs>
|
||||
<clipPath id="terminal-3127839659-clip-terminal">
|
||||
<clipPath id="terminal-1970867223-clip-terminal">
|
||||
<rect x="0" y="0" width="853.0" height="316.2" />
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3127839659-line-0">
|
||||
<clipPath id="terminal-1970867223-line-0">
|
||||
<rect x="0" y="1.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3127839659-line-1">
|
||||
<clipPath id="terminal-1970867223-line-1">
|
||||
<rect x="0" y="25.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3127839659-line-2">
|
||||
<clipPath id="terminal-1970867223-line-2">
|
||||
<rect x="0" y="50.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3127839659-line-3">
|
||||
<clipPath id="terminal-1970867223-line-3">
|
||||
<rect x="0" y="74.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3127839659-line-4">
|
||||
<clipPath id="terminal-1970867223-line-4">
|
||||
<rect x="0" y="99.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3127839659-line-5">
|
||||
<clipPath id="terminal-1970867223-line-5">
|
||||
<rect x="0" y="123.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3127839659-line-6">
|
||||
<clipPath id="terminal-1970867223-line-6">
|
||||
<rect x="0" y="147.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3127839659-line-7">
|
||||
<clipPath id="terminal-1970867223-line-7">
|
||||
<rect x="0" y="172.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3127839659-line-8">
|
||||
<clipPath id="terminal-1970867223-line-8">
|
||||
<rect x="0" y="196.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3127839659-line-9">
|
||||
<clipPath id="terminal-1970867223-line-9">
|
||||
<rect x="0" y="221.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3127839659-line-10">
|
||||
<clipPath id="terminal-1970867223-line-10">
|
||||
<rect x="0" y="245.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3127839659-line-11">
|
||||
<clipPath id="terminal-1970867223-line-11">
|
||||
<rect x="0" y="269.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="365.2" rx="8"/><text class="terminal-3127839659-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv manage --help</text>
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="365.2" rx="8"/><text class="terminal-1970867223-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv manage --help</text>
|
||||
<g transform="translate(32,22)">
|
||||
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
||||
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
||||
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
||||
</g>
|
||||
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-3127839659-clip-terminal)">
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-1970867223-clip-terminal)">
|
||||
|
||||
<g class="terminal-3127839659-matrix">
|
||||
<text class="terminal-3127839659-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-3127839659-line-0)">usage</text><text class="terminal-3127839659-r2" x="61" y="20" textLength="378.2" clip-path="url(#terminal-3127839659-line-0)">: viv manage [-h] <sub-cmd> ...</text><text class="terminal-3127839659-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-3127839659-line-0)">
|
||||
</text><text class="terminal-3127839659-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-3127839659-line-1)">
|
||||
</text><text class="terminal-3127839659-r2" x="0" y="68.8" textLength="207.4" clip-path="url(#terminal-3127839659-line-2)">manage viv itself</text><text class="terminal-3127839659-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-3127839659-line-2)">
|
||||
</text><text class="terminal-3127839659-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-3127839659-line-3)">
|
||||
</text><text class="terminal-3127839659-r1" x="0" y="117.6" textLength="85.4" clip-path="url(#terminal-3127839659-line-4)">options</text><text class="terminal-3127839659-r2" x="85.4" y="117.6" textLength="12.2" clip-path="url(#terminal-3127839659-line-4)">:</text><text class="terminal-3127839659-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-3127839659-line-4)">
|
||||
</text><text class="terminal-3127839659-r3" x="24.4" y="142" textLength="24.4" clip-path="url(#terminal-3127839659-line-5)">-h</text><text class="terminal-3127839659-r2" x="48.8" y="142" textLength="24.4" clip-path="url(#terminal-3127839659-line-5)">, </text><text class="terminal-3127839659-r3" x="73.2" y="142" textLength="73.2" clip-path="url(#terminal-3127839659-line-5)">--help</text><text class="terminal-3127839659-r2" x="146.4" y="142" textLength="439.2" clip-path="url(#terminal-3127839659-line-5)">     show this help message and exit</text><text class="terminal-3127839659-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-3127839659-line-5)">
|
||||
</text><text class="terminal-3127839659-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-3127839659-line-6)">
|
||||
</text><text class="terminal-3127839659-r1" x="0" y="190.8" textLength="122" clip-path="url(#terminal-3127839659-line-7)">subcommand</text><text class="terminal-3127839659-r2" x="122" y="190.8" textLength="12.2" clip-path="url(#terminal-3127839659-line-7)">:</text><text class="terminal-3127839659-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-3127839659-line-7)">
|
||||
</text><text class="terminal-3127839659-r3" x="24.4" y="215.2" textLength="109.8" clip-path="url(#terminal-3127839659-line-8)"><sub-cmd></text><text class="terminal-3127839659-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-3127839659-line-8)">
|
||||
</text><text class="terminal-3127839659-r3" x="48.8" y="239.6" textLength="134.2" clip-path="url(#terminal-3127839659-line-9)">install (i)</text><text class="terminal-3127839659-r2" x="183" y="239.6" textLength="158.6" clip-path="url(#terminal-3127839659-line-9)">  install viv</text><text class="terminal-3127839659-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-3127839659-line-9)">
|
||||
</text><text class="terminal-3127839659-r3" x="48.8" y="264" textLength="122" clip-path="url(#terminal-3127839659-line-10)">update (u)</text><text class="terminal-3127839659-r2" x="170.8" y="264" textLength="256.2" clip-path="url(#terminal-3127839659-line-10)">   update viv version</text><text class="terminal-3127839659-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-3127839659-line-10)">
|
||||
</text><text class="terminal-3127839659-r3" x="48.8" y="288.4" textLength="97.6" clip-path="url(#terminal-3127839659-line-11)">show (s)</text><text class="terminal-3127839659-r2" x="146.4" y="288.4" textLength="427" clip-path="url(#terminal-3127839659-line-11)">     show current installation info</text><text class="terminal-3127839659-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-3127839659-line-11)">
|
||||
</text><text class="terminal-3127839659-r3" x="48.8" y="312.8" textLength="109.8" clip-path="url(#terminal-3127839659-line-12)">purge (p)</text><text class="terminal-3127839659-r2" x="158.6" y="312.8" textLength="292.8" clip-path="url(#terminal-3127839659-line-12)">    remove traces of viv</text><text class="terminal-3127839659-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-3127839659-line-12)">
|
||||
<g class="terminal-1970867223-matrix">
|
||||
<text class="terminal-1970867223-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-1970867223-line-0)">usage</text><text class="terminal-1970867223-r2" x="61" y="20" textLength="378.2" clip-path="url(#terminal-1970867223-line-0)">: viv manage [-h] <sub-cmd> ...</text><text class="terminal-1970867223-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-1970867223-line-0)">
|
||||
</text><text class="terminal-1970867223-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-1970867223-line-1)">
|
||||
</text><text class="terminal-1970867223-r2" x="0" y="68.8" textLength="207.4" clip-path="url(#terminal-1970867223-line-2)">manage viv itself</text><text class="terminal-1970867223-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-1970867223-line-2)">
|
||||
</text><text class="terminal-1970867223-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-1970867223-line-3)">
|
||||
</text><text class="terminal-1970867223-r1" x="0" y="117.6" textLength="85.4" clip-path="url(#terminal-1970867223-line-4)">options</text><text class="terminal-1970867223-r2" x="85.4" y="117.6" textLength="12.2" clip-path="url(#terminal-1970867223-line-4)">:</text><text class="terminal-1970867223-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-1970867223-line-4)">
|
||||
</text><text class="terminal-1970867223-r3" x="24.4" y="142" textLength="24.4" clip-path="url(#terminal-1970867223-line-5)">-h</text><text class="terminal-1970867223-r2" x="48.8" y="142" textLength="24.4" clip-path="url(#terminal-1970867223-line-5)">, </text><text class="terminal-1970867223-r3" x="73.2" y="142" textLength="73.2" clip-path="url(#terminal-1970867223-line-5)">--help</text><text class="terminal-1970867223-r2" x="146.4" y="142" textLength="439.2" clip-path="url(#terminal-1970867223-line-5)">     show this help message and exit</text><text class="terminal-1970867223-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-1970867223-line-5)">
|
||||
</text><text class="terminal-1970867223-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-1970867223-line-6)">
|
||||
</text><text class="terminal-1970867223-r1" x="0" y="190.8" textLength="122" clip-path="url(#terminal-1970867223-line-7)">subcommand</text><text class="terminal-1970867223-r2" x="122" y="190.8" textLength="12.2" clip-path="url(#terminal-1970867223-line-7)">:</text><text class="terminal-1970867223-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-1970867223-line-7)">
|
||||
</text><text class="terminal-1970867223-r3" x="24.4" y="215.2" textLength="109.8" clip-path="url(#terminal-1970867223-line-8)"><sub-cmd></text><text class="terminal-1970867223-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-1970867223-line-8)">
|
||||
</text><text class="terminal-1970867223-r3" x="48.8" y="239.6" textLength="97.6" clip-path="url(#terminal-1970867223-line-9)">show (s)</text><text class="terminal-1970867223-r2" x="146.4" y="239.6" textLength="366" clip-path="url(#terminal-1970867223-line-9)">     show current installation</text><text class="terminal-1970867223-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-1970867223-line-9)">
|
||||
</text><text class="terminal-1970867223-r3" x="48.8" y="264" textLength="134.2" clip-path="url(#terminal-1970867223-line-10)">install (i)</text><text class="terminal-1970867223-r2" x="183" y="264" textLength="231.8" clip-path="url(#terminal-1970867223-line-10)">  install fresh viv</text><text class="terminal-1970867223-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-1970867223-line-10)">
|
||||
</text><text class="terminal-1970867223-r3" x="48.8" y="288.4" textLength="122" clip-path="url(#terminal-1970867223-line-11)">update (u)</text><text class="terminal-1970867223-r2" x="170.8" y="288.4" textLength="256.2" clip-path="url(#terminal-1970867223-line-11)">   update viv version</text><text class="terminal-1970867223-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-1970867223-line-11)">
|
||||
</text><text class="terminal-1970867223-r3" x="48.8" y="312.8" textLength="109.8" clip-path="url(#terminal-1970867223-line-12)">purge (p)</text><text class="terminal-1970867223-r2" x="158.6" y="312.8" textLength="292.8" clip-path="url(#terminal-1970867223-line-12)">    remove traces of viv</text><text class="terminal-1970867223-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-1970867223-line-12)">
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
|
@ -19,14 +19,14 @@
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
.terminal-946329781-matrix {
|
||||
.terminal-2316294325-matrix {
|
||||
font-family: Fira Code, monospace;
|
||||
font-size: 20px;
|
||||
line-height: 24.4px;
|
||||
font-variant-east-asian: full-width;
|
||||
}
|
||||
|
||||
.terminal-946329781-title {
|
||||
.terminal-2316294325-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
font-family: arial;
|
||||
|
@ -36,89 +36,89 @@
|
|||
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
}
|
||||
.terminal-946329781-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-946329781-r2 { fill: #c6d0f5 }
|
||||
.terminal-946329781-r3 { fill: #f9e2af;font-weight: bold }
|
||||
.terminal-946329781-r4 { fill: #f9e2af }
|
||||
.terminal-2316294325-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-2316294325-r2 { fill: #c6d0f5 }
|
||||
.terminal-2316294325-r3 { fill: #f9e2af;font-weight: bold }
|
||||
.terminal-2316294325-r4 { fill: #f9e2af }
|
||||
</style>
|
||||
|
||||
<defs>
|
||||
<clipPath id="terminal-946329781-clip-terminal">
|
||||
<clipPath id="terminal-2316294325-clip-terminal">
|
||||
<rect x="0" y="0" width="853.0" height="389.4" />
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-0">
|
||||
<clipPath id="terminal-2316294325-line-0">
|
||||
<rect x="0" y="1.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-1">
|
||||
<clipPath id="terminal-2316294325-line-1">
|
||||
<rect x="0" y="25.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-2">
|
||||
<clipPath id="terminal-2316294325-line-2">
|
||||
<rect x="0" y="50.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-3">
|
||||
<clipPath id="terminal-2316294325-line-3">
|
||||
<rect x="0" y="74.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-4">
|
||||
<clipPath id="terminal-2316294325-line-4">
|
||||
<rect x="0" y="99.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-5">
|
||||
<clipPath id="terminal-2316294325-line-5">
|
||||
<rect x="0" y="123.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-6">
|
||||
<clipPath id="terminal-2316294325-line-6">
|
||||
<rect x="0" y="147.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-7">
|
||||
<clipPath id="terminal-2316294325-line-7">
|
||||
<rect x="0" y="172.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-8">
|
||||
<clipPath id="terminal-2316294325-line-8">
|
||||
<rect x="0" y="196.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-9">
|
||||
<clipPath id="terminal-2316294325-line-9">
|
||||
<rect x="0" y="221.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-10">
|
||||
<clipPath id="terminal-2316294325-line-10">
|
||||
<rect x="0" y="245.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-11">
|
||||
<clipPath id="terminal-2316294325-line-11">
|
||||
<rect x="0" y="269.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-12">
|
||||
<clipPath id="terminal-2316294325-line-12">
|
||||
<rect x="0" y="294.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-13">
|
||||
<clipPath id="terminal-2316294325-line-13">
|
||||
<rect x="0" y="318.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-946329781-line-14">
|
||||
<clipPath id="terminal-2316294325-line-14">
|
||||
<rect x="0" y="343.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="438.4" rx="8"/><text class="terminal-946329781-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv run --help</text>
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="438.4" rx="8"/><text class="terminal-2316294325-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv run --help</text>
|
||||
<g transform="translate(32,22)">
|
||||
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
||||
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
||||
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
||||
</g>
|
||||
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-946329781-clip-terminal)">
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-2316294325-clip-terminal)">
|
||||
|
||||
<g class="terminal-946329781-matrix">
|
||||
<text class="terminal-946329781-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-946329781-line-0)">usage</text><text class="terminal-946329781-r2" x="61" y="20" textLength="646.6" clip-path="url(#terminal-946329781-line-0)">: viv run [-h] [-r <path>] [-k] [-b <bin>] [reqs ...]</text><text class="terminal-946329781-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-946329781-line-0)">
|
||||
</text><text class="terminal-946329781-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-946329781-line-1)">
|
||||
</text><text class="terminal-946329781-r2" x="0" y="68.8" textLength="402.6" clip-path="url(#terminal-946329781-line-2)">run an app with an on-demand venv</text><text class="terminal-946329781-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-946329781-line-2)">
|
||||
</text><text class="terminal-946329781-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-946329781-line-3)">
|
||||
</text><text class="terminal-946329781-r2" x="0" y="117.6" textLength="109.8" clip-path="url(#terminal-946329781-line-4)">examples:</text><text class="terminal-946329781-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-946329781-line-4)">
|
||||
</text><text class="terminal-946329781-r2" x="0" y="142" textLength="463.6" clip-path="url(#terminal-946329781-line-5)">  viv r pycowsay -- "viv isn't venv\!"</text><text class="terminal-946329781-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-946329781-line-5)">
|
||||
</text><text class="terminal-946329781-r2" x="0" y="166.4" textLength="402.6" clip-path="url(#terminal-946329781-line-6)">  viv r rich -b python -- -m rich</text><text class="terminal-946329781-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-946329781-line-6)">
|
||||
</text><text class="terminal-946329781-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-946329781-line-7)">
|
||||
</text><text class="terminal-946329781-r1" x="0" y="215.2" textLength="244" clip-path="url(#terminal-946329781-line-8)">positional arguments</text><text class="terminal-946329781-r2" x="244" y="215.2" textLength="12.2" clip-path="url(#terminal-946329781-line-8)">:</text><text class="terminal-946329781-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-946329781-line-8)">
|
||||
</text><text class="terminal-946329781-r3" x="24.4" y="239.6" textLength="48.8" clip-path="url(#terminal-946329781-line-9)">reqs</text><text class="terminal-946329781-r2" x="73.2" y="239.6" textLength="585.6" clip-path="url(#terminal-946329781-line-9)">                         requirements specifiers</text><text class="terminal-946329781-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-946329781-line-9)">
|
||||
</text><text class="terminal-946329781-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-946329781-line-10)">
|
||||
</text><text class="terminal-946329781-r1" x="0" y="288.4" textLength="85.4" clip-path="url(#terminal-946329781-line-11)">options</text><text class="terminal-946329781-r2" x="85.4" y="288.4" textLength="12.2" clip-path="url(#terminal-946329781-line-11)">:</text><text class="terminal-946329781-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-946329781-line-11)">
|
||||
</text><text class="terminal-946329781-r3" x="24.4" y="312.8" textLength="24.4" clip-path="url(#terminal-946329781-line-12)">-h</text><text class="terminal-946329781-r2" x="48.8" y="312.8" textLength="24.4" clip-path="url(#terminal-946329781-line-12)">, </text><text class="terminal-946329781-r3" x="73.2" y="312.8" textLength="73.2" clip-path="url(#terminal-946329781-line-12)">--help</text><text class="terminal-946329781-r2" x="146.4" y="312.8" textLength="610" clip-path="url(#terminal-946329781-line-12)">                   show this help message and exit</text><text class="terminal-946329781-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-946329781-line-12)">
|
||||
</text><text class="terminal-946329781-r3" x="24.4" y="337.2" textLength="24.4" clip-path="url(#terminal-946329781-line-13)">-r</text><text class="terminal-946329781-r2" x="48.8" y="337.2" textLength="24.4" clip-path="url(#terminal-946329781-line-13)">, </text><text class="terminal-946329781-r3" x="73.2" y="337.2" textLength="170.8" clip-path="url(#terminal-946329781-line-13)">--requirements</text><text class="terminal-946329781-r4" x="244" y="337.2" textLength="85.4" clip-path="url(#terminal-946329781-line-13)"> <path></text><text class="terminal-946329781-r2" x="329.4" y="337.2" textLength="402.6" clip-path="url(#terminal-946329781-line-13)">    path/to/requirements.txt file</text><text class="terminal-946329781-r2" x="854" y="337.2" textLength="12.2" clip-path="url(#terminal-946329781-line-13)">
|
||||
</text><text class="terminal-946329781-r3" x="24.4" y="361.6" textLength="24.4" clip-path="url(#terminal-946329781-line-14)">-k</text><text class="terminal-946329781-r2" x="48.8" y="361.6" textLength="24.4" clip-path="url(#terminal-946329781-line-14)">, </text><text class="terminal-946329781-r3" x="73.2" y="361.6" textLength="73.2" clip-path="url(#terminal-946329781-line-14)">--keep</text><text class="terminal-946329781-r2" x="146.4" y="361.6" textLength="475.8" clip-path="url(#terminal-946329781-line-14)">                   preserve environment</text><text class="terminal-946329781-r2" x="854" y="361.6" textLength="12.2" clip-path="url(#terminal-946329781-line-14)">
|
||||
</text><text class="terminal-946329781-r3" x="24.4" y="386" textLength="24.4" clip-path="url(#terminal-946329781-line-15)">-b</text><text class="terminal-946329781-r2" x="48.8" y="386" textLength="24.4" clip-path="url(#terminal-946329781-line-15)">, </text><text class="terminal-946329781-r3" x="73.2" y="386" textLength="61" clip-path="url(#terminal-946329781-line-15)">--bin</text><text class="terminal-946329781-r4" x="134.2" y="386" textLength="73.2" clip-path="url(#terminal-946329781-line-15)"> <bin></text><text class="terminal-946329781-r2" x="207.4" y="386" textLength="549" clip-path="url(#terminal-946329781-line-15)">              console_script/script to invoke</text><text class="terminal-946329781-r2" x="854" y="386" textLength="12.2" clip-path="url(#terminal-946329781-line-15)">
|
||||
<g class="terminal-2316294325-matrix">
|
||||
<text class="terminal-2316294325-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-2316294325-line-0)">usage</text><text class="terminal-2316294325-r2" x="61" y="20" textLength="646.6" clip-path="url(#terminal-2316294325-line-0)">: viv run [-h] [-k] [-r <path>] [-b <bin>] [reqs ...]</text><text class="terminal-2316294325-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-2316294325-line-0)">
|
||||
</text><text class="terminal-2316294325-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-2316294325-line-1)">
|
||||
</text><text class="terminal-2316294325-r2" x="0" y="68.8" textLength="402.6" clip-path="url(#terminal-2316294325-line-2)">run an app with an on-demand venv</text><text class="terminal-2316294325-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-2316294325-line-2)">
|
||||
</text><text class="terminal-2316294325-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-2316294325-line-3)">
|
||||
</text><text class="terminal-2316294325-r2" x="0" y="117.6" textLength="109.8" clip-path="url(#terminal-2316294325-line-4)">examples:</text><text class="terminal-2316294325-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-2316294325-line-4)">
|
||||
</text><text class="terminal-2316294325-r2" x="0" y="142" textLength="463.6" clip-path="url(#terminal-2316294325-line-5)">  viv r pycowsay -- "viv isn't venv\!"</text><text class="terminal-2316294325-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-2316294325-line-5)">
|
||||
</text><text class="terminal-2316294325-r2" x="0" y="166.4" textLength="402.6" clip-path="url(#terminal-2316294325-line-6)">  viv r rich -b python -- -m rich</text><text class="terminal-2316294325-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-2316294325-line-6)">
|
||||
</text><text class="terminal-2316294325-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-2316294325-line-7)">
|
||||
</text><text class="terminal-2316294325-r1" x="0" y="215.2" textLength="244" clip-path="url(#terminal-2316294325-line-8)">positional arguments</text><text class="terminal-2316294325-r2" x="244" y="215.2" textLength="12.2" clip-path="url(#terminal-2316294325-line-8)">:</text><text class="terminal-2316294325-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-2316294325-line-8)">
|
||||
</text><text class="terminal-2316294325-r3" x="24.4" y="239.6" textLength="48.8" clip-path="url(#terminal-2316294325-line-9)">reqs</text><text class="terminal-2316294325-r2" x="73.2" y="239.6" textLength="585.6" clip-path="url(#terminal-2316294325-line-9)">                         requirements specifiers</text><text class="terminal-2316294325-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-2316294325-line-9)">
|
||||
</text><text class="terminal-2316294325-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-2316294325-line-10)">
|
||||
</text><text class="terminal-2316294325-r1" x="0" y="288.4" textLength="85.4" clip-path="url(#terminal-2316294325-line-11)">options</text><text class="terminal-2316294325-r2" x="85.4" y="288.4" textLength="12.2" clip-path="url(#terminal-2316294325-line-11)">:</text><text class="terminal-2316294325-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-2316294325-line-11)">
|
||||
</text><text class="terminal-2316294325-r3" x="24.4" y="312.8" textLength="24.4" clip-path="url(#terminal-2316294325-line-12)">-h</text><text class="terminal-2316294325-r2" x="48.8" y="312.8" textLength="24.4" clip-path="url(#terminal-2316294325-line-12)">, </text><text class="terminal-2316294325-r3" x="73.2" y="312.8" textLength="73.2" clip-path="url(#terminal-2316294325-line-12)">--help</text><text class="terminal-2316294325-r2" x="146.4" y="312.8" textLength="610" clip-path="url(#terminal-2316294325-line-12)">                   show this help message and exit</text><text class="terminal-2316294325-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-2316294325-line-12)">
|
||||
</text><text class="terminal-2316294325-r3" x="24.4" y="337.2" textLength="24.4" clip-path="url(#terminal-2316294325-line-13)">-k</text><text class="terminal-2316294325-r2" x="48.8" y="337.2" textLength="24.4" clip-path="url(#terminal-2316294325-line-13)">, </text><text class="terminal-2316294325-r3" x="73.2" y="337.2" textLength="73.2" clip-path="url(#terminal-2316294325-line-13)">--keep</text><text class="terminal-2316294325-r2" x="146.4" y="337.2" textLength="475.8" clip-path="url(#terminal-2316294325-line-13)">                   preserve environment</text><text class="terminal-2316294325-r2" x="854" y="337.2" textLength="12.2" clip-path="url(#terminal-2316294325-line-13)">
|
||||
</text><text class="terminal-2316294325-r3" x="24.4" y="361.6" textLength="24.4" clip-path="url(#terminal-2316294325-line-14)">-r</text><text class="terminal-2316294325-r2" x="48.8" y="361.6" textLength="24.4" clip-path="url(#terminal-2316294325-line-14)">, </text><text class="terminal-2316294325-r3" x="73.2" y="361.6" textLength="170.8" clip-path="url(#terminal-2316294325-line-14)">--requirements</text><text class="terminal-2316294325-r4" x="244" y="361.6" textLength="85.4" clip-path="url(#terminal-2316294325-line-14)"> <path></text><text class="terminal-2316294325-r2" x="329.4" y="361.6" textLength="402.6" clip-path="url(#terminal-2316294325-line-14)">    path/to/requirements.txt file</text><text class="terminal-2316294325-r2" x="854" y="361.6" textLength="12.2" clip-path="url(#terminal-2316294325-line-14)">
|
||||
</text><text class="terminal-2316294325-r3" x="24.4" y="386" textLength="24.4" clip-path="url(#terminal-2316294325-line-15)">-b</text><text class="terminal-2316294325-r2" x="48.8" y="386" textLength="24.4" clip-path="url(#terminal-2316294325-line-15)">, </text><text class="terminal-2316294325-r3" x="73.2" y="386" textLength="61" clip-path="url(#terminal-2316294325-line-15)">--bin</text><text class="terminal-2316294325-r4" x="134.2" y="386" textLength="73.2" clip-path="url(#terminal-2316294325-line-15)"> <bin></text><text class="terminal-2316294325-r2" x="207.4" y="386" textLength="549" clip-path="url(#terminal-2316294325-line-15)">              console_script/script to invoke</text><text class="terminal-2316294325-r2" x="854" y="386" textLength="12.2" clip-path="url(#terminal-2316294325-line-15)">
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
@ -19,14 +19,14 @@
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
.terminal-2493160879-matrix {
|
||||
.terminal-783195567-matrix {
|
||||
font-family: Fira Code, monospace;
|
||||
font-size: 20px;
|
||||
line-height: 24.4px;
|
||||
font-variant-east-asian: full-width;
|
||||
}
|
||||
|
||||
.terminal-2493160879-title {
|
||||
.terminal-783195567-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
font-family: arial;
|
||||
|
@ -36,109 +36,109 @@
|
|||
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||
}
|
||||
.terminal-2493160879-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-2493160879-r2 { fill: #c6d0f5 }
|
||||
.terminal-2493160879-r3 { fill: #f9e2af;font-weight: bold }
|
||||
.terminal-2493160879-r4 { fill: #f9e2af }
|
||||
.terminal-783195567-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-783195567-r2 { fill: #c6d0f5 }
|
||||
.terminal-783195567-r3 { fill: #f9e2af;font-weight: bold }
|
||||
.terminal-783195567-r4 { fill: #f9e2af }
|
||||
</style>
|
||||
|
||||
<defs>
|
||||
<clipPath id="terminal-2493160879-clip-terminal">
|
||||
<clipPath id="terminal-783195567-clip-terminal">
|
||||
<rect x="0" y="0" width="853.0" height="511.4" />
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-0">
|
||||
<clipPath id="terminal-783195567-line-0">
|
||||
<rect x="0" y="1.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-1">
|
||||
<clipPath id="terminal-783195567-line-1">
|
||||
<rect x="0" y="25.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-2">
|
||||
<clipPath id="terminal-783195567-line-2">
|
||||
<rect x="0" y="50.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-3">
|
||||
<clipPath id="terminal-783195567-line-3">
|
||||
<rect x="0" y="74.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-4">
|
||||
<clipPath id="terminal-783195567-line-4">
|
||||
<rect x="0" y="99.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-5">
|
||||
<clipPath id="terminal-783195567-line-5">
|
||||
<rect x="0" y="123.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-6">
|
||||
<clipPath id="terminal-783195567-line-6">
|
||||
<rect x="0" y="147.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-7">
|
||||
<clipPath id="terminal-783195567-line-7">
|
||||
<rect x="0" y="172.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-8">
|
||||
<clipPath id="terminal-783195567-line-8">
|
||||
<rect x="0" y="196.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-9">
|
||||
<clipPath id="terminal-783195567-line-9">
|
||||
<rect x="0" y="221.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-10">
|
||||
<clipPath id="terminal-783195567-line-10">
|
||||
<rect x="0" y="245.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-11">
|
||||
<clipPath id="terminal-783195567-line-11">
|
||||
<rect x="0" y="269.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-12">
|
||||
<clipPath id="terminal-783195567-line-12">
|
||||
<rect x="0" y="294.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-13">
|
||||
<clipPath id="terminal-783195567-line-13">
|
||||
<rect x="0" y="318.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-14">
|
||||
<clipPath id="terminal-783195567-line-14">
|
||||
<rect x="0" y="343.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-15">
|
||||
<clipPath id="terminal-783195567-line-15">
|
||||
<rect x="0" y="367.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-16">
|
||||
<clipPath id="terminal-783195567-line-16">
|
||||
<rect x="0" y="391.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-17">
|
||||
<clipPath id="terminal-783195567-line-17">
|
||||
<rect x="0" y="416.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-18">
|
||||
<clipPath id="terminal-783195567-line-18">
|
||||
<rect x="0" y="440.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-2493160879-line-19">
|
||||
<clipPath id="terminal-783195567-line-19">
|
||||
<rect x="0" y="465.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="560.4" rx="8"/><text class="terminal-2493160879-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv shim --help</text>
|
||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="870" height="560.4" rx="8"/><text class="terminal-783195567-title" fill="#c6d0f5" text-anchor="middle" x="435" y="27">viv shim --help</text>
|
||||
<g transform="translate(32,22)">
|
||||
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
||||
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
||||
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
||||
</g>
|
||||
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-2493160879-clip-terminal)">
|
||||
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-783195567-clip-terminal)">
|
||||
|
||||
<g class="terminal-2493160879-matrix">
|
||||
<text class="terminal-2493160879-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-2493160879-line-0)">usage</text><text class="terminal-2493160879-r2" x="61" y="20" textLength="756.4" clip-path="url(#terminal-2493160879-line-0)">: viv shim [-h] [-p {abs,rel}] [-r <path>] [-k] [-s] [-f] [-o </text><text class="terminal-2493160879-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-2493160879-line-0)">
|
||||
</text><text class="terminal-2493160879-r2" x="0" y="44.4" textLength="353.8" clip-path="url(#terminal-2493160879-line-1)"><path>] [-b <bin>] [reqs ...]</text><text class="terminal-2493160879-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-2493160879-line-1)">
|
||||
</text><text class="terminal-2493160879-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-2493160879-line-2)">
|
||||
</text><text class="terminal-2493160879-r2" x="0" y="93.2" textLength="353.8" clip-path="url(#terminal-2493160879-line-3)">generate viv-powered cli apps</text><text class="terminal-2493160879-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-2493160879-line-3)">
|
||||
</text><text class="terminal-2493160879-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-2493160879-line-4)">
|
||||
</text><text class="terminal-2493160879-r2" x="0" y="142" textLength="109.8" clip-path="url(#terminal-2493160879-line-5)">examples:</text><text class="terminal-2493160879-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-2493160879-line-5)">
|
||||
</text><text class="terminal-2493160879-r2" x="0" y="166.4" textLength="195.2" clip-path="url(#terminal-2493160879-line-6)">  viv shim black</text><text class="terminal-2493160879-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-2493160879-line-6)">
|
||||
</text><text class="terminal-2493160879-r2" x="0" y="190.8" textLength="561.2" clip-path="url(#terminal-2493160879-line-7)">  viv shim yartsu -o ~/bin/yartsu --standalone</text><text class="terminal-2493160879-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-2493160879-line-7)">
|
||||
</text><text class="terminal-2493160879-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-2493160879-line-8)">
|
||||
</text><text class="terminal-2493160879-r1" x="0" y="239.6" textLength="244" clip-path="url(#terminal-2493160879-line-9)">positional arguments</text><text class="terminal-2493160879-r2" x="244" y="239.6" textLength="12.2" clip-path="url(#terminal-2493160879-line-9)">:</text><text class="terminal-2493160879-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-2493160879-line-9)">
|
||||
</text><text class="terminal-2493160879-r3" x="24.4" y="264" textLength="48.8" clip-path="url(#terminal-2493160879-line-10)">reqs</text><text class="terminal-2493160879-r2" x="73.2" y="264" textLength="585.6" clip-path="url(#terminal-2493160879-line-10)">                         requirements specifiers</text><text class="terminal-2493160879-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-2493160879-line-10)">
|
||||
</text><text class="terminal-2493160879-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-2493160879-line-11)">
|
||||
</text><text class="terminal-2493160879-r1" x="0" y="312.8" textLength="85.4" clip-path="url(#terminal-2493160879-line-12)">options</text><text class="terminal-2493160879-r2" x="85.4" y="312.8" textLength="12.2" clip-path="url(#terminal-2493160879-line-12)">:</text><text class="terminal-2493160879-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-2493160879-line-12)">
|
||||
</text><text class="terminal-2493160879-r3" x="24.4" y="337.2" textLength="24.4" clip-path="url(#terminal-2493160879-line-13)">-h</text><text class="terminal-2493160879-r2" x="48.8" y="337.2" textLength="24.4" clip-path="url(#terminal-2493160879-line-13)">, </text><text class="terminal-2493160879-r3" x="73.2" y="337.2" textLength="73.2" clip-path="url(#terminal-2493160879-line-13)">--help</text><text class="terminal-2493160879-r2" x="146.4" y="337.2" textLength="610" clip-path="url(#terminal-2493160879-line-13)">                   show this help message and exit</text><text class="terminal-2493160879-r2" x="854" y="337.2" textLength="12.2" clip-path="url(#terminal-2493160879-line-13)">
|
||||
</text><text class="terminal-2493160879-r3" x="24.4" y="361.6" textLength="24.4" clip-path="url(#terminal-2493160879-line-14)">-p</text><text class="terminal-2493160879-r2" x="48.8" y="361.6" textLength="24.4" clip-path="url(#terminal-2493160879-line-14)">, </text><text class="terminal-2493160879-r3" x="73.2" y="361.6" textLength="73.2" clip-path="url(#terminal-2493160879-line-14)">--path</text><text class="terminal-2493160879-r4" x="146.4" y="361.6" textLength="122" clip-path="url(#terminal-2493160879-line-14)"> {abs,rel}</text><text class="terminal-2493160879-r2" x="268.4" y="361.6" textLength="549" clip-path="url(#terminal-2493160879-line-14)">         generate line to add viv to sys.path</text><text class="terminal-2493160879-r2" x="854" y="361.6" textLength="12.2" clip-path="url(#terminal-2493160879-line-14)">
|
||||
</text><text class="terminal-2493160879-r3" x="24.4" y="386" textLength="24.4" clip-path="url(#terminal-2493160879-line-15)">-r</text><text class="terminal-2493160879-r2" x="48.8" y="386" textLength="24.4" clip-path="url(#terminal-2493160879-line-15)">, </text><text class="terminal-2493160879-r3" x="73.2" y="386" textLength="170.8" clip-path="url(#terminal-2493160879-line-15)">--requirements</text><text class="terminal-2493160879-r4" x="244" y="386" textLength="85.4" clip-path="url(#terminal-2493160879-line-15)"> <path></text><text class="terminal-2493160879-r2" x="329.4" y="386" textLength="402.6" clip-path="url(#terminal-2493160879-line-15)">    path/to/requirements.txt file</text><text class="terminal-2493160879-r2" x="854" y="386" textLength="12.2" clip-path="url(#terminal-2493160879-line-15)">
|
||||
</text><text class="terminal-2493160879-r3" x="24.4" y="410.4" textLength="24.4" clip-path="url(#terminal-2493160879-line-16)">-k</text><text class="terminal-2493160879-r2" x="48.8" y="410.4" textLength="24.4" clip-path="url(#terminal-2493160879-line-16)">, </text><text class="terminal-2493160879-r3" x="73.2" y="410.4" textLength="73.2" clip-path="url(#terminal-2493160879-line-16)">--keep</text><text class="terminal-2493160879-r2" x="146.4" y="410.4" textLength="475.8" clip-path="url(#terminal-2493160879-line-16)">                   preserve environment</text><text class="terminal-2493160879-r2" x="854" y="410.4" textLength="12.2" clip-path="url(#terminal-2493160879-line-16)">
|
||||
</text><text class="terminal-2493160879-r3" x="24.4" y="434.8" textLength="24.4" clip-path="url(#terminal-2493160879-line-17)">-s</text><text class="terminal-2493160879-r2" x="48.8" y="434.8" textLength="24.4" clip-path="url(#terminal-2493160879-line-17)">, </text><text class="terminal-2493160879-r3" x="73.2" y="434.8" textLength="146.4" clip-path="url(#terminal-2493160879-line-17)">--standalone</text><text class="terminal-2493160879-r2" x="219.6" y="434.8" textLength="634.4" clip-path="url(#terminal-2493160879-line-17)">             generate standalone activation function</text><text class="terminal-2493160879-r2" x="854" y="434.8" textLength="12.2" clip-path="url(#terminal-2493160879-line-17)">
|
||||
</text><text class="terminal-2493160879-r3" x="24.4" y="459.2" textLength="24.4" clip-path="url(#terminal-2493160879-line-18)">-f</text><text class="terminal-2493160879-r2" x="48.8" y="459.2" textLength="24.4" clip-path="url(#terminal-2493160879-line-18)">, </text><text class="terminal-2493160879-r3" x="73.2" y="459.2" textLength="97.6" clip-path="url(#terminal-2493160879-line-18)">--freeze</text><text class="terminal-2493160879-r2" x="170.8" y="459.2" textLength="585.6" clip-path="url(#terminal-2493160879-line-18)">                 freeze/resolve all dependencies</text><text class="terminal-2493160879-r2" x="854" y="459.2" textLength="12.2" clip-path="url(#terminal-2493160879-line-18)">
|
||||
</text><text class="terminal-2493160879-r3" x="24.4" y="483.6" textLength="24.4" clip-path="url(#terminal-2493160879-line-19)">-o</text><text class="terminal-2493160879-r2" x="48.8" y="483.6" textLength="24.4" clip-path="url(#terminal-2493160879-line-19)">, </text><text class="terminal-2493160879-r3" x="73.2" y="483.6" textLength="97.6" clip-path="url(#terminal-2493160879-line-19)">--output</text><text class="terminal-2493160879-r4" x="170.8" y="483.6" textLength="85.4" clip-path="url(#terminal-2493160879-line-19)"> <path></text><text class="terminal-2493160879-r2" x="256.2" y="483.6" textLength="353.8" clip-path="url(#terminal-2493160879-line-19)">          path/to/output file</text><text class="terminal-2493160879-r2" x="854" y="483.6" textLength="12.2" clip-path="url(#terminal-2493160879-line-19)">
|
||||
</text><text class="terminal-2493160879-r3" x="24.4" y="508" textLength="24.4" clip-path="url(#terminal-2493160879-line-20)">-b</text><text class="terminal-2493160879-r2" x="48.8" y="508" textLength="24.4" clip-path="url(#terminal-2493160879-line-20)">, </text><text class="terminal-2493160879-r3" x="73.2" y="508" textLength="61" clip-path="url(#terminal-2493160879-line-20)">--bin</text><text class="terminal-2493160879-r4" x="134.2" y="508" textLength="73.2" clip-path="url(#terminal-2493160879-line-20)"> <bin></text><text class="terminal-2493160879-r2" x="207.4" y="508" textLength="549" clip-path="url(#terminal-2493160879-line-20)">              console_script/script to invoke</text><text class="terminal-2493160879-r2" x="854" y="508" textLength="12.2" clip-path="url(#terminal-2493160879-line-20)">
|
||||
<g class="terminal-783195567-matrix">
|
||||
<text class="terminal-783195567-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-783195567-line-0)">usage</text><text class="terminal-783195567-r2" x="61" y="20" textLength="756.4" clip-path="url(#terminal-783195567-line-0)">: viv shim [-h] [-f] [-o <path>] [-p {abs,rel}] [-s] [-k] [-r </text><text class="terminal-783195567-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-783195567-line-0)">
|
||||
</text><text class="terminal-783195567-r2" x="0" y="44.4" textLength="353.8" clip-path="url(#terminal-783195567-line-1)"><path>] [-b <bin>] [reqs ...]</text><text class="terminal-783195567-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-783195567-line-1)">
|
||||
</text><text class="terminal-783195567-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-783195567-line-2)">
|
||||
</text><text class="terminal-783195567-r2" x="0" y="93.2" textLength="353.8" clip-path="url(#terminal-783195567-line-3)">generate viv-powered cli apps</text><text class="terminal-783195567-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-783195567-line-3)">
|
||||
</text><text class="terminal-783195567-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-783195567-line-4)">
|
||||
</text><text class="terminal-783195567-r2" x="0" y="142" textLength="109.8" clip-path="url(#terminal-783195567-line-5)">examples:</text><text class="terminal-783195567-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-783195567-line-5)">
|
||||
</text><text class="terminal-783195567-r2" x="0" y="166.4" textLength="195.2" clip-path="url(#terminal-783195567-line-6)">  viv shim black</text><text class="terminal-783195567-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-783195567-line-6)">
|
||||
</text><text class="terminal-783195567-r2" x="0" y="190.8" textLength="561.2" clip-path="url(#terminal-783195567-line-7)">  viv shim yartsu -o ~/bin/yartsu --standalone</text><text class="terminal-783195567-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-783195567-line-7)">
|
||||
</text><text class="terminal-783195567-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-783195567-line-8)">
|
||||
</text><text class="terminal-783195567-r1" x="0" y="239.6" textLength="244" clip-path="url(#terminal-783195567-line-9)">positional arguments</text><text class="terminal-783195567-r2" x="244" y="239.6" textLength="12.2" clip-path="url(#terminal-783195567-line-9)">:</text><text class="terminal-783195567-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-783195567-line-9)">
|
||||
</text><text class="terminal-783195567-r3" x="24.4" y="264" textLength="48.8" clip-path="url(#terminal-783195567-line-10)">reqs</text><text class="terminal-783195567-r2" x="73.2" y="264" textLength="585.6" clip-path="url(#terminal-783195567-line-10)">                         requirements specifiers</text><text class="terminal-783195567-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-783195567-line-10)">
|
||||
</text><text class="terminal-783195567-r2" x="854" y="288.4" textLength="12.2" clip-path="url(#terminal-783195567-line-11)">
|
||||
</text><text class="terminal-783195567-r1" x="0" y="312.8" textLength="85.4" clip-path="url(#terminal-783195567-line-12)">options</text><text class="terminal-783195567-r2" x="85.4" y="312.8" textLength="12.2" clip-path="url(#terminal-783195567-line-12)">:</text><text class="terminal-783195567-r2" x="854" y="312.8" textLength="12.2" clip-path="url(#terminal-783195567-line-12)">
|
||||
</text><text class="terminal-783195567-r3" x="24.4" y="337.2" textLength="24.4" clip-path="url(#terminal-783195567-line-13)">-h</text><text class="terminal-783195567-r2" x="48.8" y="337.2" textLength="24.4" clip-path="url(#terminal-783195567-line-13)">, </text><text class="terminal-783195567-r3" x="73.2" y="337.2" textLength="73.2" clip-path="url(#terminal-783195567-line-13)">--help</text><text class="terminal-783195567-r2" x="146.4" y="337.2" textLength="610" clip-path="url(#terminal-783195567-line-13)">                   show this help message and exit</text><text class="terminal-783195567-r2" x="854" y="337.2" textLength="12.2" clip-path="url(#terminal-783195567-line-13)">
|
||||
</text><text class="terminal-783195567-r3" x="24.4" y="361.6" textLength="24.4" clip-path="url(#terminal-783195567-line-14)">-f</text><text class="terminal-783195567-r2" x="48.8" y="361.6" textLength="24.4" clip-path="url(#terminal-783195567-line-14)">, </text><text class="terminal-783195567-r3" x="73.2" y="361.6" textLength="97.6" clip-path="url(#terminal-783195567-line-14)">--freeze</text><text class="terminal-783195567-r2" x="170.8" y="361.6" textLength="585.6" clip-path="url(#terminal-783195567-line-14)">                 freeze/resolve all dependencies</text><text class="terminal-783195567-r2" x="854" y="361.6" textLength="12.2" clip-path="url(#terminal-783195567-line-14)">
|
||||
</text><text class="terminal-783195567-r3" x="24.4" y="386" textLength="24.4" clip-path="url(#terminal-783195567-line-15)">-o</text><text class="terminal-783195567-r2" x="48.8" y="386" textLength="24.4" clip-path="url(#terminal-783195567-line-15)">, </text><text class="terminal-783195567-r3" x="73.2" y="386" textLength="97.6" clip-path="url(#terminal-783195567-line-15)">--output</text><text class="terminal-783195567-r4" x="170.8" y="386" textLength="85.4" clip-path="url(#terminal-783195567-line-15)"> <path></text><text class="terminal-783195567-r2" x="256.2" y="386" textLength="353.8" clip-path="url(#terminal-783195567-line-15)">          path/to/output file</text><text class="terminal-783195567-r2" x="854" y="386" textLength="12.2" clip-path="url(#terminal-783195567-line-15)">
|
||||
</text><text class="terminal-783195567-r3" x="24.4" y="410.4" textLength="24.4" clip-path="url(#terminal-783195567-line-16)">-p</text><text class="terminal-783195567-r2" x="48.8" y="410.4" textLength="24.4" clip-path="url(#terminal-783195567-line-16)">, </text><text class="terminal-783195567-r3" x="73.2" y="410.4" textLength="73.2" clip-path="url(#terminal-783195567-line-16)">--path</text><text class="terminal-783195567-r4" x="146.4" y="410.4" textLength="122" clip-path="url(#terminal-783195567-line-16)"> {abs,rel}</text><text class="terminal-783195567-r2" x="268.4" y="410.4" textLength="549" clip-path="url(#terminal-783195567-line-16)">         generate line to add viv to sys.path</text><text class="terminal-783195567-r2" x="854" y="410.4" textLength="12.2" clip-path="url(#terminal-783195567-line-16)">
|
||||
</text><text class="terminal-783195567-r3" x="24.4" y="434.8" textLength="24.4" clip-path="url(#terminal-783195567-line-17)">-s</text><text class="terminal-783195567-r2" x="48.8" y="434.8" textLength="24.4" clip-path="url(#terminal-783195567-line-17)">, </text><text class="terminal-783195567-r3" x="73.2" y="434.8" textLength="146.4" clip-path="url(#terminal-783195567-line-17)">--standalone</text><text class="terminal-783195567-r2" x="219.6" y="434.8" textLength="634.4" clip-path="url(#terminal-783195567-line-17)">             generate standalone activation function</text><text class="terminal-783195567-r2" x="854" y="434.8" textLength="12.2" clip-path="url(#terminal-783195567-line-17)">
|
||||
</text><text class="terminal-783195567-r3" x="24.4" y="459.2" textLength="24.4" clip-path="url(#terminal-783195567-line-18)">-k</text><text class="terminal-783195567-r2" x="48.8" y="459.2" textLength="24.4" clip-path="url(#terminal-783195567-line-18)">, </text><text class="terminal-783195567-r3" x="73.2" y="459.2" textLength="73.2" clip-path="url(#terminal-783195567-line-18)">--keep</text><text class="terminal-783195567-r2" x="146.4" y="459.2" textLength="475.8" clip-path="url(#terminal-783195567-line-18)">                   preserve environment</text><text class="terminal-783195567-r2" x="854" y="459.2" textLength="12.2" clip-path="url(#terminal-783195567-line-18)">
|
||||
</text><text class="terminal-783195567-r3" x="24.4" y="483.6" textLength="24.4" clip-path="url(#terminal-783195567-line-19)">-r</text><text class="terminal-783195567-r2" x="48.8" y="483.6" textLength="24.4" clip-path="url(#terminal-783195567-line-19)">, </text><text class="terminal-783195567-r3" x="73.2" y="483.6" textLength="170.8" clip-path="url(#terminal-783195567-line-19)">--requirements</text><text class="terminal-783195567-r4" x="244" y="483.6" textLength="85.4" clip-path="url(#terminal-783195567-line-19)"> <path></text><text class="terminal-783195567-r2" x="329.4" y="483.6" textLength="402.6" clip-path="url(#terminal-783195567-line-19)">    path/to/requirements.txt file</text><text class="terminal-783195567-r2" x="854" y="483.6" textLength="12.2" clip-path="url(#terminal-783195567-line-19)">
|
||||
</text><text class="terminal-783195567-r3" x="24.4" y="508" textLength="24.4" clip-path="url(#terminal-783195567-line-20)">-b</text><text class="terminal-783195567-r2" x="48.8" y="508" textLength="24.4" clip-path="url(#terminal-783195567-line-20)">, </text><text class="terminal-783195567-r3" x="73.2" y="508" textLength="61" clip-path="url(#terminal-783195567-line-20)">--bin</text><text class="terminal-783195567-r4" x="134.2" y="508" textLength="73.2" clip-path="url(#terminal-783195567-line-20)"> <bin></text><text class="terminal-783195567-r2" x="207.4" y="508" textLength="549" clip-path="url(#terminal-783195567-line-20)">              console_script/script to invoke</text><text class="terminal-783195567-r2" x="854" y="508" textLength="12.2" clip-path="url(#terminal-783195567-line-20)">
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
236
viv.py
|
@ -14,7 +14,6 @@ import itertools
|
|||
import json
|
||||
import os
|
||||
import re
|
||||
import shlex
|
||||
import shutil
|
||||
import site
|
||||
import subprocess
|
||||
|
@ -43,6 +42,7 @@ from typing import (
|
|||
List,
|
||||
NoReturn,
|
||||
Optional,
|
||||
Sequence,
|
||||
TextIO,
|
||||
Tuple,
|
||||
Type,
|
||||
|
@ -50,42 +50,7 @@ from typing import (
|
|||
from urllib.error import HTTPError
|
||||
from urllib.request import urlopen
|
||||
|
||||
__version__ = "23.5a4-29-g0ccf72c-dev"
|
||||
|
||||
|
||||
class Config:
|
||||
"""viv config manager"""
|
||||
|
||||
def __init__(self) -> None:
|
||||
self._cache = Path(os.getenv("XDG_CACHE_HOME", Path.home() / ".cache")) / "viv"
|
||||
|
||||
def _ensure(self, p: Path) -> Path:
|
||||
p.mkdir(parents=True, exist_ok=True)
|
||||
return p
|
||||
|
||||
@property
|
||||
def venvcache(self) -> Path:
|
||||
return self._ensure(self._cache / "venvs")
|
||||
|
||||
@property
|
||||
def srccache(self) -> Path:
|
||||
return self._ensure(self._cache / "src")
|
||||
|
||||
@property
|
||||
def binparent(self) -> Path:
|
||||
return self._ensure(
|
||||
Path(os.getenv("VIV_BIN_DIR", Path.home() / ".local" / "bin"))
|
||||
)
|
||||
|
||||
@property
|
||||
def srcdefault(self) -> Path:
|
||||
parent = (
|
||||
Path(os.getenv("XDG_DATA_HOME", Path.home() / ".local" / "share")) / "viv"
|
||||
)
|
||||
return self._ensure(parent) / "viv.py"
|
||||
|
||||
|
||||
c = Config()
|
||||
__version__ = "23.5a5"
|
||||
|
||||
|
||||
class Spinner:
|
||||
|
@ -206,7 +171,7 @@ class Ansi:
|
|||
)
|
||||
)
|
||||
|
||||
def subprocess(self, output: str) -> None:
|
||||
def subprocess(self, command: List[str], output: str) -> None:
|
||||
"""generate output for subprocess error
|
||||
|
||||
Args:
|
||||
|
@ -214,9 +179,12 @@ class Ansi:
|
|||
"""
|
||||
if not output:
|
||||
return
|
||||
echo("subprocess output:")
|
||||
|
||||
error("subprocess failed")
|
||||
echo("see below for command output", style="red")
|
||||
echo(f"cmd:\n {' '.join(command)}", style="red")
|
||||
new_output = [f"{self.red}->{self.end} {line}" for line in output.splitlines()]
|
||||
sys.stdout.write("\n".join(new_output) + "\n")
|
||||
echo("subprocess output:" + "\n".join(("", *new_output, "")), style="red")
|
||||
|
||||
def viv_preamble(self, style: str = "magenta", sep: str = "::") -> str:
|
||||
return f"{self.cyan}viv{self.end}{self.__dict__[style]}{sep}{self.end}"
|
||||
|
@ -253,7 +221,7 @@ to create/activate a vivenv:
|
|||
_id = sha256.hexdigest()
|
||||
if (env := cache / (name if name else _id)) not in cache.glob("*/") or force:
|
||||
sys.stderr.write(f"generating new vivenv -> {env.name}\n")
|
||||
venv.EnvBuilder(with_pip=True, clear=True).create(env)
|
||||
venv.create(env, symlinks=True, with_pip=True, clear=True)
|
||||
(env / "pip.conf").write_text("[global]\ndisable-pip-version-check=true")
|
||||
run_kw = dict(zip(("stdout", "stderr"), ((None,) * 2 if verbose else (-1, 2))))
|
||||
p = run([env / "bin" / "pip", "install", "--force-reinstall", *spec], **run_kw)
|
||||
|
@ -289,8 +257,8 @@ to create/activate a vivenv:
|
|||
(self._standalone_func, self.noqa(self._use_str(spec, standalone=True)))
|
||||
)
|
||||
return f"""
|
||||
# see `python3 <(curl -fsSL viv.dayl.in/viv.py) --help`
|
||||
# AUTOGENERATED by viv (v{__version__})
|
||||
# see `python3 <(curl -fsSL viv.dayl.in/viv.py) --help`
|
||||
{func_use}
|
||||
"""
|
||||
|
||||
|
@ -344,7 +312,10 @@ to create/activate a vivenv:
|
|||
else:
|
||||
imports = ""
|
||||
return f"""\
|
||||
#!/usr/bin/env python3
|
||||
#!/usr/bin/env python
|
||||
# AUTOGENERATED by viv (v{__version__})
|
||||
# see `python3 <(curl -fsSL viv.dayl.in/viv.py) --help`
|
||||
|
||||
{imports}
|
||||
import subprocess
|
||||
import sys
|
||||
|
@ -391,7 +362,7 @@ if __name__ == "__main__":
|
|||
t = Template()
|
||||
|
||||
|
||||
# TODO: convet the below functions into a proper file/stream logging interface
|
||||
# TODO: convert the below functions into a proper file/stream logging interface
|
||||
def echo(
|
||||
msg: str, style: str = "magenta", newline: bool = True, fd: TextIO = sys.stderr
|
||||
) -> None:
|
||||
|
@ -596,9 +567,7 @@ def run(
|
|||
)
|
||||
|
||||
if p.returncode != 0 and not ignore_error:
|
||||
error("subprocess failed")
|
||||
echo("see below for command output", style="red")
|
||||
a.subprocess(p.stdout)
|
||||
a.subprocess(command, p.stdout)
|
||||
|
||||
if clean_up_path and clean_up_path.is_dir():
|
||||
shutil.rmtree(str(clean_up_path))
|
||||
|
@ -723,12 +692,12 @@ class ViVenv:
|
|||
if not quiet:
|
||||
echo(f"new unique vivenv -> {self.name}")
|
||||
with Spinner("creating vivenv"):
|
||||
builder = venv.EnvBuilder(with_pip=True, clear=True)
|
||||
builder.create(self.path)
|
||||
venv.create(self.path, with_pip=True, clear=True, symlinks=True)
|
||||
|
||||
# add config to ignore pip version
|
||||
with (self.path / "pip.conf").open("w") as f:
|
||||
f.write("[global]\ndisable-pip-version-check = true")
|
||||
(self.path / "pip.conf").write_text(
|
||||
"[global]\ndisable-pip-version-check = true"
|
||||
)
|
||||
|
||||
self.meta.created = str(datetime.today())
|
||||
|
||||
|
@ -843,24 +812,23 @@ def combined_spec(reqs: List[str], requirements: Path) -> List[str]:
|
|||
def resolve_deps(args: Namespace) -> List[str]:
|
||||
spec = combined_spec(args.reqs, args.requirements)
|
||||
|
||||
with tempfile.TemporaryDirectory(prefix="viv-") as tmpdir:
|
||||
echo("generating frozen spec")
|
||||
vivenv = ViVenv(spec, track_exe=False, path=Path(tmpdir))
|
||||
cmd = [
|
||||
"pip",
|
||||
"install",
|
||||
"--dry-run",
|
||||
"--quiet",
|
||||
"--ignore-installed",
|
||||
"--report",
|
||||
"-",
|
||||
] + spec
|
||||
|
||||
vivenv.create(quiet=True)
|
||||
# populate the environment for now use
|
||||
# custom cmd since using requirements file
|
||||
cmd = [
|
||||
str(vivenv.path / "bin" / "pip"),
|
||||
"install",
|
||||
"--force-reinstall",
|
||||
] + spec
|
||||
report = json.loads(run(cmd, check_output=True, spinmsg="resolving depedencies"))
|
||||
resolved_spec = [
|
||||
f"{pkg['metadata']['name']}=={pkg['metadata']['version']}"
|
||||
for pkg in report["install"]
|
||||
]
|
||||
|
||||
run(cmd, spinmsg="resolving dependencies", clean_up_path=vivenv.path)
|
||||
|
||||
cmd = [str(vivenv.path / "bin" / "pip"), "freeze"]
|
||||
resolved_spec = run(cmd, check_output=True)
|
||||
return resolved_spec.splitlines()
|
||||
return resolved_spec
|
||||
|
||||
|
||||
def fetch_source(reference: str) -> str:
|
||||
|
@ -899,6 +867,41 @@ def make_executable(path: Path) -> None:
|
|||
os.chmod(path, mode)
|
||||
|
||||
|
||||
class Config:
|
||||
"""viv config manager"""
|
||||
|
||||
def __init__(self) -> None:
|
||||
self._cache = Path(os.getenv("XDG_CACHE_HOME", Path.home() / ".cache")) / "viv"
|
||||
|
||||
def _ensure(self, p: Path) -> Path:
|
||||
p.mkdir(parents=True, exist_ok=True)
|
||||
return p
|
||||
|
||||
@property
|
||||
def venvcache(self) -> Path:
|
||||
return self._ensure(self._cache / "venvs")
|
||||
|
||||
@property
|
||||
def srccache(self) -> Path:
|
||||
return self._ensure(self._cache / "src")
|
||||
|
||||
@property
|
||||
def binparent(self) -> Path:
|
||||
return self._ensure(
|
||||
Path(os.getenv("VIV_BIN_DIR", Path.home() / ".local" / "bin"))
|
||||
)
|
||||
|
||||
@property
|
||||
def srcdefault(self) -> Path:
|
||||
parent = (
|
||||
Path(os.getenv("XDG_DATA_HOME", Path.home() / ".local" / "share")) / "viv"
|
||||
)
|
||||
return self._ensure(parent) / "viv.py"
|
||||
|
||||
|
||||
c = Config()
|
||||
|
||||
|
||||
class Viv:
|
||||
def __init__(self) -> None:
|
||||
self.vivenvs = get_venvs()
|
||||
|
@ -1014,22 +1017,23 @@ class Viv:
|
|||
vivenv.show()
|
||||
|
||||
def exe(self, args: Namespace) -> None:
|
||||
"""run python/pip in existing vivenv"""
|
||||
"""\
|
||||
run binary/script in existing vivenv
|
||||
|
||||
examples:
|
||||
viv exe <vivenv> pip -- list
|
||||
viv exe <vivenv> python -- script.py
|
||||
"""
|
||||
|
||||
vivenv = self._match_vivenv(args.vivenv)
|
||||
bin = vivenv.path / "bin" / args.cmd
|
||||
|
||||
pip_path, python_path = (vivenv.path / "bin" / cmd for cmd in ("pip", "python"))
|
||||
# todo check for vivenv
|
||||
echo(f"executing command within {vivenv.name}")
|
||||
if not bin.exists():
|
||||
error(f"{args.cmd} does not exist in {vivenv.name}", code=1)
|
||||
|
||||
cmd = (
|
||||
f"{pip_path} {' '.join(args.cmd)}"
|
||||
if args.subcmd == "pip"
|
||||
else f"{python_path} {' '.join(args.cmd)}"
|
||||
) + " ".join(args.rest)
|
||||
cmd = [bin, *args.rest]
|
||||
|
||||
echo(f"executing {cmd}")
|
||||
run(shlex.split(cmd), verbose=True)
|
||||
run(cmd, verbose=True)
|
||||
|
||||
def info(self, args: Namespace) -> None:
|
||||
"""get metadata about a vivenv"""
|
||||
|
@ -1233,7 +1237,7 @@ class Arg:
|
|||
|
||||
class Cli:
|
||||
args = {
|
||||
"list": [
|
||||
("list",): [
|
||||
Arg(
|
||||
"-f",
|
||||
"--full",
|
||||
|
@ -1247,7 +1251,7 @@ class Cli:
|
|||
action="store_true",
|
||||
),
|
||||
],
|
||||
"shim": [
|
||||
("shim",): [
|
||||
Arg(
|
||||
"-f",
|
||||
"--freeze",
|
||||
|
@ -1262,8 +1266,8 @@ class Cli:
|
|||
metavar="<path>",
|
||||
),
|
||||
],
|
||||
"remove": [Arg("vivenv", help="name/hash of vivenv", nargs="*")],
|
||||
("exe|pip", "exe|python"): [Arg("vivenv", help="name/hash of vivenv")],
|
||||
("remove",): [Arg("vivenv", help="name/hash of vivenv", nargs="*")],
|
||||
("exe", "info"): [Arg("vivenv", help="name/hash of vivenv")],
|
||||
("list", "info"): [
|
||||
Arg(
|
||||
"--json",
|
||||
|
@ -1335,37 +1339,38 @@ class Cli:
|
|||
action="store_true",
|
||||
)
|
||||
],
|
||||
("exe|python", "exe|pip"): [
|
||||
("exe"): [
|
||||
Arg(
|
||||
"cmd",
|
||||
help="command to to execute",
|
||||
nargs="*",
|
||||
)
|
||||
],
|
||||
}
|
||||
cmds = (
|
||||
"list",
|
||||
(
|
||||
"exe",
|
||||
dict(
|
||||
pip=dict(help="run cmd with pip"),
|
||||
python=dict(help="run cmd with python"),
|
||||
),
|
||||
),
|
||||
"remove",
|
||||
"freeze",
|
||||
"info",
|
||||
(
|
||||
"manage",
|
||||
dict(
|
||||
show=dict(help="show current installation", aliases=["s"]),
|
||||
install=dict(help="install fresh viv", aliases=["i"]),
|
||||
update=dict(help="update viv version", aliases=["u"]),
|
||||
purge=dict(help="remove traces of viv", aliases=["p"]),
|
||||
),
|
||||
),
|
||||
"shim",
|
||||
"run",
|
||||
(
|
||||
cmds := dict.fromkeys(
|
||||
(
|
||||
"list",
|
||||
"shim",
|
||||
"run",
|
||||
"exe",
|
||||
"remove",
|
||||
"freeze",
|
||||
"info",
|
||||
"manage",
|
||||
)
|
||||
)
|
||||
).update(
|
||||
{
|
||||
"manage": {
|
||||
subcmd: {"help": help, "aliases": [subcmd[0]]}
|
||||
for subcmd, help in (
|
||||
("show", "show current installation"),
|
||||
("install", "install fresh viv"),
|
||||
("update", "update viv version"),
|
||||
("purge", "remove traces of viv"),
|
||||
)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
def __init__(self, viv: Viv) -> None:
|
||||
|
@ -1376,7 +1381,7 @@ class Cli:
|
|||
self._add_args()
|
||||
|
||||
def _cmd_arg_group_map(self) -> None:
|
||||
self.cmd_arg_group_map = {}
|
||||
self.cmd_arg_group_map: Dict[str, List[Sequence[str] | str]] = {}
|
||||
for grp in self.args:
|
||||
if isinstance(grp, str):
|
||||
self.cmd_arg_group_map.setdefault(grp, []).append(grp)
|
||||
|
@ -1390,7 +1395,7 @@ class Cli:
|
|||
def _add_args(self) -> None:
|
||||
for grp, args in self.args.items():
|
||||
for arg in args:
|
||||
self.parsers.get(grp).add_argument(*arg.args, **arg.kwargs)
|
||||
self.parsers[grp].add_argument(*arg.args, **arg.kwargs)
|
||||
|
||||
def _validate_args(self, args: Namespace) -> None:
|
||||
if args.func.__name__ in ("freeze", "shim", "run"):
|
||||
|
@ -1411,7 +1416,7 @@ class Cli:
|
|||
error("-p/--path and -s/--standalone are mutually exclusive", code=1)
|
||||
|
||||
if args.func.__name__ == "manage":
|
||||
if args.cmd == "install" and self.viv.local_source:
|
||||
if args.subcmd == "install" and self.viv.local_source:
|
||||
error(f"found existing viv installation at {self.viv.local_source}")
|
||||
echo(
|
||||
"use "
|
||||
|
@ -1420,7 +1425,7 @@ class Cli:
|
|||
style="red",
|
||||
)
|
||||
sys.exit(1)
|
||||
if args.cmd == "update":
|
||||
if args.subcmd == "update":
|
||||
if not self.viv.local_source:
|
||||
error(
|
||||
a.style("viv manage update", "bold")
|
||||
|
@ -1460,7 +1465,7 @@ class Cli:
|
|||
|
||||
return parser
|
||||
|
||||
def run(self):
|
||||
def run(self) -> None:
|
||||
self.parser.add_argument(
|
||||
"-V",
|
||||
"--version",
|
||||
|
@ -1472,9 +1477,8 @@ class Cli:
|
|||
metavar="<sub-cmd>", title="subcommands", required=True
|
||||
)
|
||||
|
||||
for cmd in self.cmds:
|
||||
if isinstance(cmd, tuple):
|
||||
cmd, subcmds = cmd
|
||||
for cmd, subcmds in self.cmds.items():
|
||||
if subcmds:
|
||||
subcmd_p = self._get_subcmd_parser(cmd_p, cmd)
|
||||
subcmd_cmd_p = subcmd_p.add_subparsers(
|
||||
title="subcommand", metavar="<sub-cmd>", required=True
|
||||
|
@ -1483,7 +1487,7 @@ class Cli:
|
|||
subcmd_cmd_p.add_parser(
|
||||
subcmd,
|
||||
parents=[
|
||||
self.parsers.get(k)
|
||||
self.parsers[k]
|
||||
for k in self.cmd_arg_group_map[f"{cmd}|{subcmd}"]
|
||||
],
|
||||
**kwargs,
|
||||
|
|