Compare commits
11 commits
4a1f01f459
...
ccccbbb147
Author | SHA1 | Date | |
---|---|---|---|
ccccbbb147 | |||
62094deb14 | |||
41714cf223 | |||
8962ab16fa | |||
5ef699944e | |||
9229337f29 | |||
d1ea8c3868 | |||
0996628a97 | |||
2dd4b35ee7 | |||
76df12d882 | |||
3cf2dce767 |
18
README.md
|
@ -20,13 +20,10 @@ python3 <(curl -fsSL viv.dayl.in/viv.py) run pycowsay -- "viv isn't venv\!"
|
|||
|
||||
`Viv` is a standalone dependency-free `venv` creator.
|
||||
|
||||
These `venvs` can be identified by name or by their specification.
|
||||
In any case they will be re-used across scripts (and generated on-demand, if needed).
|
||||
`Viv`'s uncompromising insistence on portability means that it will always:
|
||||
|
||||
**Importantly**, `viv` will also remove your user site directory.
|
||||
(view with: `python -m 'import site;print(site.USER_SITE)'`).
|
||||
|
||||
`Viv`'s uncompromising insistence on portability means that it will always (1) only use the standard library (2) never exceed a single script.
|
||||
1. only use the standard library
|
||||
2. never exceed a single script.
|
||||
|
||||
For that reason any usage of the `CLI` can be accomplished using a remote copy as seen in the below install command.
|
||||
|
||||
|
@ -45,11 +42,6 @@ By default `viv` will be installed to `$XDG_DATA_HOME/viv` or `~/.local/share/vi
|
|||
export PYTHONPATH="$PYTHONPATH:$HOME/.local/share/viv"
|
||||
```
|
||||
|
||||
Advanced users may recognize that principally,
|
||||
the module just needs to be recognized at run time
|
||||
and the single script [`viv.py`](https://github.com/daylinmorgan/viv/blob/main/src/viv/viv.py) can be invoked directly for the CLI.
|
||||
How you accomplish these options is ultimately up to you but the above instructions can get you started.
|
||||
|
||||
### Pypi (Not Recommended)
|
||||
|
||||
```sh
|
||||
|
@ -85,8 +77,8 @@ python3 <(curl -fsSL viv.dayl.in/viv.py) manage purge
|
|||
An experimental feature of `viv` is generating shim's that leverage the principles of `viv`.
|
||||
These shims would operate similar to `pipx` in which you can specify a command line app to "install".
|
||||
|
||||
*Note* that `--standalone` will auto-generate a code-golfed minified version of `viv` to accomplish the same basic task as using a local copy of `viv`.
|
||||
After generating this a standalone `shim` you can freely use this script across unix machines which have `python>3.8`.
|
||||
*Note* that `--standalone` will auto-generate a mini function version of `viv` to accomplish the same basic task as using a local copy of `viv`.
|
||||
After generating this standalone `shim` you can freely use this script across unix machines which have `python>3.8`.
|
||||
See [examples/black](https://github.com/daylinmorgan/viv/blob/dev/examples/black) for output of below command.
|
||||
|
||||
```sh
|
||||
|
|
|
@ -19,14 +19,14 @@
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
.terminal-3871055805-matrix {
|
||||
.terminal-2684787815-matrix {
|
||||
font-family: Fira Code, monospace;
|
||||
font-size: 20px;
|
||||
line-height: 24.4px;
|
||||
font-variant-east-asian: full-width;
|
||||
}
|
||||
|
||||
.terminal-3871055805-title {
|
||||
.terminal-2684787815-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
font-family: arial;
|
||||
|
@ -36,68 +36,68 @@
|
|||
-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-2684787815-r1 { fill: #94e2d5;font-weight: bold }
|
||||
.terminal-2684787815-r2 { fill: #c6d0f5 }
|
||||
.terminal-2684787815-r3 { fill: #f9e2af;font-weight: bold }
|
||||
</style>
|
||||
|
||||
<defs>
|
||||
<clipPath id="terminal-3871055805-clip-terminal">
|
||||
<clipPath id="terminal-2684787815-clip-terminal">
|
||||
<rect x="0" y="0" width="853.0" height="267.4" />
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-0">
|
||||
<clipPath id="terminal-2684787815-line-0">
|
||||
<rect x="0" y="1.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-1">
|
||||
<clipPath id="terminal-2684787815-line-1">
|
||||
<rect x="0" y="25.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-2">
|
||||
<clipPath id="terminal-2684787815-line-2">
|
||||
<rect x="0" y="50.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-3">
|
||||
<clipPath id="terminal-2684787815-line-3">
|
||||
<rect x="0" y="74.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-4">
|
||||
<clipPath id="terminal-2684787815-line-4">
|
||||
<rect x="0" y="99.1" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-5">
|
||||
<clipPath id="terminal-2684787815-line-5">
|
||||
<rect x="0" y="123.5" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-6">
|
||||
<clipPath id="terminal-2684787815-line-6">
|
||||
<rect x="0" y="147.9" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-7">
|
||||
<clipPath id="terminal-2684787815-line-7">
|
||||
<rect x="0" y="172.3" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-8">
|
||||
<clipPath id="terminal-2684787815-line-8">
|
||||
<rect x="0" y="196.7" width="854" height="24.65"/>
|
||||
</clipPath>
|
||||
<clipPath id="terminal-3871055805-line-9">
|
||||
<clipPath id="terminal-2684787815-line-9">
|
||||
<rect x="0" y="221.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="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="316.4" rx="8"/><text class="terminal-2684787815-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-2684787815-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-2684787815-matrix">
|
||||
<text class="terminal-2684787815-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-2684787815-line-0)">usage</text><text class="terminal-2684787815-r2" x="61" y="20" textLength="341.6" clip-path="url(#terminal-2684787815-line-0)">: viv exe [-h] <sub-cmd> ...</text><text class="terminal-2684787815-r2" x="854" y="20" textLength="12.2" clip-path="url(#terminal-2684787815-line-0)">
|
||||
</text><text class="terminal-2684787815-r2" x="854" y="44.4" textLength="12.2" clip-path="url(#terminal-2684787815-line-1)">
|
||||
</text><text class="terminal-2684787815-r2" x="0" y="68.8" textLength="402.6" clip-path="url(#terminal-2684787815-line-2)">run python/pip in existing vivenv</text><text class="terminal-2684787815-r2" x="854" y="68.8" textLength="12.2" clip-path="url(#terminal-2684787815-line-2)">
|
||||
</text><text class="terminal-2684787815-r2" x="854" y="93.2" textLength="12.2" clip-path="url(#terminal-2684787815-line-3)">
|
||||
</text><text class="terminal-2684787815-r1" x="0" y="117.6" textLength="85.4" clip-path="url(#terminal-2684787815-line-4)">options</text><text class="terminal-2684787815-r2" x="85.4" y="117.6" textLength="12.2" clip-path="url(#terminal-2684787815-line-4)">:</text><text class="terminal-2684787815-r2" x="854" y="117.6" textLength="12.2" clip-path="url(#terminal-2684787815-line-4)">
|
||||
</text><text class="terminal-2684787815-r3" x="24.4" y="142" textLength="24.4" clip-path="url(#terminal-2684787815-line-5)">-h</text><text class="terminal-2684787815-r2" x="48.8" y="142" textLength="24.4" clip-path="url(#terminal-2684787815-line-5)">, </text><text class="terminal-2684787815-r3" x="73.2" y="142" textLength="73.2" clip-path="url(#terminal-2684787815-line-5)">--help</text><text class="terminal-2684787815-r2" x="146.4" y="142" textLength="427" clip-path="url(#terminal-2684787815-line-5)">    show this help message and exit</text><text class="terminal-2684787815-r2" x="854" y="142" textLength="12.2" clip-path="url(#terminal-2684787815-line-5)">
|
||||
</text><text class="terminal-2684787815-r2" x="854" y="166.4" textLength="12.2" clip-path="url(#terminal-2684787815-line-6)">
|
||||
</text><text class="terminal-2684787815-r1" x="0" y="190.8" textLength="122" clip-path="url(#terminal-2684787815-line-7)">subcommand</text><text class="terminal-2684787815-r2" x="122" y="190.8" textLength="12.2" clip-path="url(#terminal-2684787815-line-7)">:</text><text class="terminal-2684787815-r2" x="854" y="190.8" textLength="12.2" clip-path="url(#terminal-2684787815-line-7)">
|
||||
</text><text class="terminal-2684787815-r3" x="24.4" y="215.2" textLength="109.8" clip-path="url(#terminal-2684787815-line-8)"><sub-cmd></text><text class="terminal-2684787815-r2" x="854" y="215.2" textLength="12.2" clip-path="url(#terminal-2684787815-line-8)">
|
||||
</text><text class="terminal-2684787815-r3" x="48.8" y="239.6" textLength="36.6" clip-path="url(#terminal-2684787815-line-9)">pip</text><text class="terminal-2684787815-r2" x="85.4" y="239.6" textLength="305" clip-path="url(#terminal-2684787815-line-9)">         run cmd with pip</text><text class="terminal-2684787815-r2" x="854" y="239.6" textLength="12.2" clip-path="url(#terminal-2684787815-line-9)">
|
||||
</text><text class="terminal-2684787815-r3" x="48.8" y="264" textLength="73.2" clip-path="url(#terminal-2684787815-line-10)">python</text><text class="terminal-2684787815-r2" x="122" y="264" textLength="305" clip-path="url(#terminal-2684787815-line-10)">      run cmd with python</text><text class="terminal-2684787815-r2" x="854" y="264" textLength="12.2" clip-path="url(#terminal-2684787815-line-10)">
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
|
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 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-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 |
|
@ -18,7 +18,7 @@ def _viv_use(*pkgs, track_exe=False, name=""):
|
|||
_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).create(env)
|
||||
(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)
|
||||
|
|
110
examples/dictionary.py
Normal file
|
@ -0,0 +1,110 @@
|
|||
#!/usr/bin/env python3
|
||||
"""
|
||||
Adapted from https://github.com/Textualize/textual/blob/main/examples/dictionary.py
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
__import__("viv").use("textual", "httpx") # noqa
|
||||
|
||||
try:
|
||||
import httpx
|
||||
except ImportError:
|
||||
raise ImportError("Please install httpx with 'pip install httpx' ")
|
||||
|
||||
from textual import work
|
||||
from textual.app import App, ComposeResult
|
||||
from textual.containers import VerticalScroll
|
||||
from textual.widgets import Input, Markdown
|
||||
|
||||
|
||||
class DictionaryApp(App):
|
||||
"""Searches ab dictionary API as-you-type."""
|
||||
|
||||
# CSS_PATH = "dictionary.css"
|
||||
DEFAULT_CSS = """
|
||||
Screen {
|
||||
background: $panel;
|
||||
}
|
||||
|
||||
Input {
|
||||
dock: top;
|
||||
margin: 1 0;
|
||||
}
|
||||
|
||||
#results {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
}
|
||||
|
||||
#results-container {
|
||||
background: $background 50%;
|
||||
margin: 0 0 1 0;
|
||||
height: 100%;
|
||||
overflow: hidden auto;
|
||||
border: tall $background;
|
||||
}
|
||||
|
||||
#results-container:focus {
|
||||
border: tall $accent;
|
||||
}
|
||||
"""
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
yield Input(placeholder="Search for a word")
|
||||
with VerticalScroll(id="results-container"):
|
||||
yield Markdown(id="results")
|
||||
|
||||
def on_mount(self) -> None:
|
||||
"""Called when app starts."""
|
||||
# Give the input focus, so we can start typing straight away
|
||||
self.query_one(Input).focus()
|
||||
|
||||
async def on_input_changed(self, message: Input.Changed) -> None:
|
||||
"""A coroutine to handle a text changed message."""
|
||||
if message.value:
|
||||
self.lookup_word(message.value)
|
||||
else:
|
||||
# Clear the results
|
||||
self.query_one("#results", Markdown).update("")
|
||||
|
||||
@work(exclusive=True)
|
||||
async def lookup_word(self, word: str) -> None:
|
||||
"""Looks up a word."""
|
||||
url = f"https://api.dictionaryapi.dev/api/v2/entries/en/{word}"
|
||||
|
||||
async with httpx.AsyncClient() as client:
|
||||
response = await client.get(url)
|
||||
try:
|
||||
results = response.json()
|
||||
except Exception:
|
||||
self.query_one("#results", Markdown).update(response.text)
|
||||
|
||||
if word == self.query_one(Input).value:
|
||||
markdown = self.make_word_markdown(results)
|
||||
self.query_one("#results", Markdown).update(markdown)
|
||||
|
||||
def make_word_markdown(self, results: object) -> str:
|
||||
"""Convert the results in to markdown."""
|
||||
lines = []
|
||||
if isinstance(results, dict):
|
||||
lines.append(f"# {results['title']}")
|
||||
lines.append(results["message"])
|
||||
elif isinstance(results, list):
|
||||
for result in results:
|
||||
lines.append(f"# {result['word']}")
|
||||
lines.append("")
|
||||
for meaning in result.get("meanings", []):
|
||||
lines.append(f"_{meaning['partOfSpeech']}_")
|
||||
lines.append("")
|
||||
for definition in meaning.get("definitions", []):
|
||||
lines.append(f" - {definition['definition']}")
|
||||
lines.append("---")
|
||||
|
||||
return "\n".join(lines)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = DictionaryApp()
|
||||
app.run()
|
175
src/viv/viv.py
|
@ -43,6 +43,7 @@ from typing import (
|
|||
List,
|
||||
NoReturn,
|
||||
Optional,
|
||||
Sequence,
|
||||
TextIO,
|
||||
Tuple,
|
||||
Type,
|
||||
|
@ -50,42 +51,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.5a4-37-gf8ebd9d-dev"
|
||||
|
||||
|
||||
class Spinner:
|
||||
|
@ -206,7 +172,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 +180,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 +222,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).create(env)
|
||||
(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)
|
||||
|
@ -391,7 +360,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 +565,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 +690,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 +810,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))
|
||||
|
||||
vivenv.create(quiet=True)
|
||||
# populate the environment for now use
|
||||
# custom cmd since using requirements file
|
||||
cmd = [
|
||||
str(vivenv.path / "bin" / "pip"),
|
||||
"pip",
|
||||
"install",
|
||||
"--force-reinstall",
|
||||
"--dry-run",
|
||||
"--quiet",
|
||||
"--ignore-installed",
|
||||
"--report",
|
||||
"-",
|
||||
] + spec
|
||||
|
||||
run(cmd, spinmsg="resolving dependencies", clean_up_path=vivenv.path)
|
||||
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"]
|
||||
]
|
||||
|
||||
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 +865,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()
|
||||
|
@ -1233,7 +1234,7 @@ class Arg:
|
|||
|
||||
class Cli:
|
||||
args = {
|
||||
"list": [
|
||||
("list",): [
|
||||
Arg(
|
||||
"-f",
|
||||
"--full",
|
||||
|
@ -1247,7 +1248,7 @@ class Cli:
|
|||
action="store_true",
|
||||
),
|
||||
],
|
||||
"shim": [
|
||||
("shim",): [
|
||||
Arg(
|
||||
"-f",
|
||||
"--freeze",
|
||||
|
@ -1262,8 +1263,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|pip", "exe|python", "info"): [Arg("vivenv", help="name/hash of vivenv")],
|
||||
("list", "info"): [
|
||||
Arg(
|
||||
"--json",
|
||||
|
@ -1343,29 +1344,32 @@ class Cli:
|
|||
)
|
||||
],
|
||||
}
|
||||
cmds = (
|
||||
"list",
|
||||
(
|
||||
cmds := dict.fromkeys(
|
||||
(
|
||||
"list",
|
||||
"shim",
|
||||
"run",
|
||||
"exe",
|
||||
dict(
|
||||
pip=dict(help="run cmd with pip"),
|
||||
python=dict(help="run cmd with python"),
|
||||
),
|
||||
),
|
||||
"remove",
|
||||
"freeze",
|
||||
"info",
|
||||
(
|
||||
"manage",
|
||||
dict(
|
||||
)
|
||||
)
|
||||
).update(
|
||||
{
|
||||
"exe": dict(
|
||||
pip=dict(help="run cmd with pip"),
|
||||
python=dict(help="run cmd with python"),
|
||||
),
|
||||
"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",
|
||||
}
|
||||
)
|
||||
|
||||
def __init__(self, viv: Viv) -> None:
|
||||
|
@ -1376,7 +1380,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 +1394,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 +1415,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 +1424,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 +1464,7 @@ class Cli:
|
|||
|
||||
return parser
|
||||
|
||||
def run(self):
|
||||
def run(self) -> None:
|
||||
self.parser.add_argument(
|
||||
"-V",
|
||||
"--version",
|
||||
|
@ -1472,9 +1476,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 +1486,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,
|
||||
|
|