docs: add updated preview/svgs
2
Makefile
|
@ -68,7 +68,7 @@ diff-docs:
|
||||||
|
|
||||||
svg-docs:
|
svg-docs:
|
||||||
lolcat -F .5 -S 9 -f assets/logo.txt | yartsu -o assets/logo.svg
|
lolcat -F .5 -S 9 -f assets/logo.txt | yartsu -o assets/logo.svg
|
||||||
yartsu -o assets/yartsu.svg -t "yartsu --help" -- yartsu -h
|
yartsu -o assets/help.svg -t "yartsu --help" -- yartsu -h
|
||||||
|
|
||||||
demo-docs:
|
demo-docs:
|
||||||
python -c \
|
python -c \
|
||||||
|
|
|
@ -49,7 +49,7 @@ Otherwise you can download an extract manually to somewhere on your path.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
<div align="center"><img src="https://raw.githubusercontent.com/daylinmorgan/yartsu/main/assets/yartsu.svg" alt="Logo" width=600 ></div>
|
<div align="center"><img src="https://raw.githubusercontent.com/daylinmorgan/yartsu/main/assets/help.svg" alt="Logo" width=600 ></div>
|
||||||
|
|
||||||
Getting a properly formatted output from a terminal screenshot is challenging.
|
Getting a properly formatted output from a terminal screenshot is challenging.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<svg class="rich-terminal shadow" viewBox="0 0 323 123.19999999999999" xmlns="http://www.w3.org/2000/svg">
|
<svg class="rich-terminal shadow" viewBox="0 0 341.3333333333333 155.53333333333333" xmlns="http://www.w3.org/2000/svg">
|
||||||
<!-- Generated with Rich https://www.textualize.io -->
|
<!-- Generated with Rich https://www.textualize.io -->
|
||||||
<style>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -15,25 +15,29 @@
|
||||||
font-style: bold;
|
font-style: bold;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-601689729-matrix {
|
.terminal-601689729-matrix {
|
||||||
font-family: Fira Code, monospace;
|
font-family: Fira Code, monospace;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
line-height: 24.4px;
|
line-height: 24.4px;
|
||||||
font-variant-east-asian: full-width;
|
font-variant-east-asian: full-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-601689729-title {
|
.terminal-601689729-title {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-family: arial;
|
font-family: arial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shadow {
|
.shadow {
|
||||||
-webkit-filter: drop-shadow( 5px 10px 15px rgba(0, 0, 0, .7));
|
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||||
filter: drop-shadow( 5px 10px 15px rgba(0, 0, 0, .7));
|
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||||
}
|
}
|
||||||
.terminal-601689729-r1 { fill: #c6d0f5 }
|
.terminal-601689729-r1 { fill: #c6d0f5 }
|
||||||
.terminal-601689729-r2 { fill: #c6d0f5;font-weight: bold;font-style: italic; }
|
.terminal-601689729-r2 { fill: #c6d0f5;font-weight: bold;font-style: italic; }
|
||||||
.terminal-601689729-r3 { fill: #94e2d5 }
|
.terminal-601689729-r3 { fill: #94e2d5 }
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<defs>
|
<defs>
|
||||||
<clipPath id="terminal-601689729-clip-terminal">
|
<clipPath id="terminal-601689729-clip-terminal">
|
||||||
<rect x="0" y="0" width="304.0" height="72.19999999999999" />
|
<rect x="0" y="0" width="304.0" height="72.19999999999999" />
|
||||||
|
@ -45,14 +49,15 @@
|
||||||
<rect x="0" y="25.9" width="305" height="24.65"/>
|
<rect x="0" y="25.9" width="305" height="24.65"/>
|
||||||
</clipPath>
|
</clipPath>
|
||||||
</defs>
|
</defs>
|
||||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="321" height="121.2" rx="8"/><text class="terminal-601689729-title" fill="#c6d0f5" text-anchor="middle" x="160" y="27">yartsu</text>
|
|
||||||
<g transform="translate(26,22)">
|
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="321" height="121.2" rx="8"/><text class="terminal-601689729-title" fill="#c6d0f5" text-anchor="middle" x="160" y="27">yartsu</text>
|
||||||
|
<g transform="translate(32,22)">
|
||||||
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
||||||
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
||||||
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<g transform="translate(9, 41)" clip-path="url(#terminal-601689729-clip-terminal)">
|
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-601689729-clip-terminal)">
|
||||||
|
|
||||||
<g class="terminal-601689729-matrix">
|
<g class="terminal-601689729-matrix">
|
||||||
<text class="terminal-601689729-r1" x="305" y="20" textLength="12.2" clip-path="url(#terminal-601689729-line-0)">
|
<text class="terminal-601689729-r1" x="305" y="20" textLength="12.2" clip-path="url(#terminal-601689729-line-0)">
|
||||||
|
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.4 KiB |
135
assets/help.svg
Normal file
|
@ -0,0 +1,135 @@
|
||||||
|
<svg class="rich-terminal shadow" viewBox="0 0 927.3333333333334 545.9333333333333" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<!-- Generated with Rich https://www.textualize.io -->
|
||||||
|
<style>
|
||||||
|
@font-face {
|
||||||
|
font-family: "Fira Code";
|
||||||
|
src: local("FiraCode-Regular"),
|
||||||
|
url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@2.1.0/patched-fonts/FiraCode/Regular/complete/Fira%20Code%20Regular%20Nerd%20Font%20Complete.ttf") format("truetype");
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "Fira Code";
|
||||||
|
src: local("FiraCode-Bold"),
|
||||||
|
url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@2.1.0/patched-fonts/FiraCode/Bold/complete/Fira%20Code%20Bold%20Nerd%20Font%20Complete.ttf") format("truetype");
|
||||||
|
font-style: bold;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.terminal-961727797-matrix {
|
||||||
|
font-family: Fira Code, monospace;
|
||||||
|
font-size: 20px;
|
||||||
|
line-height: 24.4px;
|
||||||
|
font-variant-east-asian: full-width;
|
||||||
|
}
|
||||||
|
|
||||||
|
.terminal-961727797-title {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: bold;
|
||||||
|
font-family: arial;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shadow {
|
||||||
|
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||||
|
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||||
|
}
|
||||||
|
.terminal-961727797-r1 { fill: #94e2d5;font-weight: bold }
|
||||||
|
.terminal-961727797-r2 { fill: #c6d0f5 }
|
||||||
|
.terminal-961727797-r3 { fill: #8288a5 }
|
||||||
|
.terminal-961727797-r4 { fill: #f9e2af }
|
||||||
|
.terminal-961727797-r5 { fill: #a6e3a1 }
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<defs>
|
||||||
|
<clipPath id="terminal-961727797-clip-terminal">
|
||||||
|
<rect x="0" y="0" width="889.5999999999999" height="462.59999999999997" />
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-0">
|
||||||
|
<rect x="0" y="1.5" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-1">
|
||||||
|
<rect x="0" y="25.9" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-2">
|
||||||
|
<rect x="0" y="50.3" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-3">
|
||||||
|
<rect x="0" y="74.7" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-4">
|
||||||
|
<rect x="0" y="99.1" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-5">
|
||||||
|
<rect x="0" y="123.5" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-6">
|
||||||
|
<rect x="0" y="147.9" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-7">
|
||||||
|
<rect x="0" y="172.3" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-8">
|
||||||
|
<rect x="0" y="196.7" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-9">
|
||||||
|
<rect x="0" y="221.1" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-10">
|
||||||
|
<rect x="0" y="245.5" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-11">
|
||||||
|
<rect x="0" y="269.9" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-12">
|
||||||
|
<rect x="0" y="294.3" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-13">
|
||||||
|
<rect x="0" y="318.7" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-14">
|
||||||
|
<rect x="0" y="343.1" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-15">
|
||||||
|
<rect x="0" y="367.5" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-16">
|
||||||
|
<rect x="0" y="391.9" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
<clipPath id="terminal-961727797-line-17">
|
||||||
|
<rect x="0" y="416.3" width="890.6" height="24.65"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
|
||||||
|
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="907" height="511.6" rx="8"/><text class="terminal-961727797-title" fill="#c6d0f5" text-anchor="middle" x="453" y="27">yartsu --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-961727797-clip-terminal)">
|
||||||
|
|
||||||
|
<g class="terminal-961727797-matrix">
|
||||||
|
<text class="terminal-961727797-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-961727797-line-0)">usage</text><text class="terminal-961727797-r2" x="61" y="20" textLength="12.2" clip-path="url(#terminal-961727797-line-0)">:</text><text class="terminal-961727797-r2" x="890.6" y="20" textLength="12.2" clip-path="url(#terminal-961727797-line-0)">
|
||||||
|
</text><text class="terminal-961727797-r2" x="890.6" y="44.4" textLength="12.2" clip-path="url(#terminal-961727797-line-1)">
|
||||||
|
</text><text class="terminal-961727797-r2" x="0" y="68.8" textLength="366" clip-path="url(#terminal-961727797-line-2)">convert terminal output to svg</text><text class="terminal-961727797-r2" x="890.6" y="68.8" textLength="12.2" clip-path="url(#terminal-961727797-line-2)">
|
||||||
|
</text><text class="terminal-961727797-r2" x="890.6" y="93.2" textLength="12.2" clip-path="url(#terminal-961727797-line-3)">
|
||||||
|
</text><text class="terminal-961727797-r2" x="0" y="117.6" textLength="512.4" clip-path="url(#terminal-961727797-line-4)">    `ls --color=always | yartsu [options]`</text><text class="terminal-961727797-r2" x="890.6" y="117.6" textLength="12.2" clip-path="url(#terminal-961727797-line-4)">
|
||||||
|
</text><text class="terminal-961727797-r3" x="48.8" y="142" textLength="24.4" clip-path="url(#terminal-961727797-line-5)">OR</text><text class="terminal-961727797-r2" x="890.6" y="142" textLength="12.2" clip-path="url(#terminal-961727797-line-5)">
|
||||||
|
</text><text class="terminal-961727797-r2" x="0" y="166.4" textLength="439.2" clip-path="url(#terminal-961727797-line-6)">    `yartsu [options] -- ls --color`</text><text class="terminal-961727797-r2" x="890.6" y="166.4" textLength="12.2" clip-path="url(#terminal-961727797-line-6)">
|
||||||
|
</text><text class="terminal-961727797-r3" x="48.8" y="190.8" textLength="24.4" clip-path="url(#terminal-961727797-line-7)">OR</text><text class="terminal-961727797-r2" x="890.6" y="190.8" textLength="12.2" clip-path="url(#terminal-961727797-line-7)">
|
||||||
|
</text><text class="terminal-961727797-r2" x="0" y="215.2" textLength="610" clip-path="url(#terminal-961727797-line-8)">    `ls --color=always > ls.txt; yartsu -i ls.txt`</text><text class="terminal-961727797-r2" x="890.6" y="215.2" textLength="12.2" clip-path="url(#terminal-961727797-line-8)">
|
||||||
|
</text><text class="terminal-961727797-r2" x="890.6" y="239.6" textLength="12.2" clip-path="url(#terminal-961727797-line-9)">
|
||||||
|
</text><text class="terminal-961727797-r1" x="0" y="264" textLength="85.4" clip-path="url(#terminal-961727797-line-10)">options</text><text class="terminal-961727797-r2" x="85.4" y="264" textLength="12.2" clip-path="url(#terminal-961727797-line-10)">:</text><text class="terminal-961727797-r2" x="890.6" y="264" textLength="12.2" clip-path="url(#terminal-961727797-line-10)">
|
||||||
|
</text><text class="terminal-961727797-r4" x="24.4" y="288.4" textLength="24.4" clip-path="url(#terminal-961727797-line-11)">-h</text><text class="terminal-961727797-r2" x="48.8" y="288.4" textLength="24.4" clip-path="url(#terminal-961727797-line-11)">, </text><text class="terminal-961727797-r4" x="73.2" y="288.4" textLength="73.2" clip-path="url(#terminal-961727797-line-11)">--help</text><text class="terminal-961727797-r2" x="146.4" y="288.4" textLength="512.4" clip-path="url(#terminal-961727797-line-11)">           show this help message and exit</text><text class="terminal-961727797-r2" x="890.6" y="288.4" textLength="12.2" clip-path="url(#terminal-961727797-line-11)">
|
||||||
|
</text><text class="terminal-961727797-r4" x="24.4" y="312.8" textLength="24.4" clip-path="url(#terminal-961727797-line-12)">-V</text><text class="terminal-961727797-r2" x="48.8" y="312.8" textLength="24.4" clip-path="url(#terminal-961727797-line-12)">, </text><text class="terminal-961727797-r4" x="73.2" y="312.8" textLength="109.8" clip-path="url(#terminal-961727797-line-12)">--version</text><text class="terminal-961727797-r2" x="183" y="312.8" textLength="561.2" clip-path="url(#terminal-961727797-line-12)">        show program's version number and exit</text><text class="terminal-961727797-r2" x="890.6" y="312.8" textLength="12.2" clip-path="url(#terminal-961727797-line-12)">
|
||||||
|
</text><text class="terminal-961727797-r4" x="24.4" y="337.2" textLength="24.4" clip-path="url(#terminal-961727797-line-13)">-i</text><text class="terminal-961727797-r2" x="48.8" y="337.2" textLength="24.4" clip-path="url(#terminal-961727797-line-13)">, </text><text class="terminal-961727797-r4" x="73.2" y="337.2" textLength="85.4" clip-path="url(#terminal-961727797-line-13)">--input</text><text class="terminal-961727797-r5" x="158.6" y="337.2" textLength="73.2" clip-path="url(#terminal-961727797-line-13)"> INPUT</text><text class="terminal-961727797-r2" x="231.8" y="337.2" textLength="378.2" clip-path="url(#terminal-961727797-line-13)">    input file [default: stdin]</text><text class="terminal-961727797-r2" x="890.6" y="337.2" textLength="12.2" clip-path="url(#terminal-961727797-line-13)">
|
||||||
|
</text><text class="terminal-961727797-r4" x="24.4" y="361.6" textLength="24.4" clip-path="url(#terminal-961727797-line-14)">-o</text><text class="terminal-961727797-r2" x="48.8" y="361.6" textLength="24.4" clip-path="url(#terminal-961727797-line-14)">, </text><text class="terminal-961727797-r4" x="73.2" y="361.6" textLength="97.6" clip-path="url(#terminal-961727797-line-14)">--output</text><text class="terminal-961727797-r5" x="170.8" y="361.6" textLength="85.4" clip-path="url(#terminal-961727797-line-14)"> OUTPUT</text><text class="terminal-961727797-r2" x="256.2" y="361.6" textLength="488" clip-path="url(#terminal-961727797-line-14)">  output svg file [default: capture.svg]</text><text class="terminal-961727797-r2" x="890.6" y="361.6" textLength="12.2" clip-path="url(#terminal-961727797-line-14)">
|
||||||
|
</text><text class="terminal-961727797-r4" x="24.4" y="386" textLength="24.4" clip-path="url(#terminal-961727797-line-15)">-t</text><text class="terminal-961727797-r2" x="48.8" y="386" textLength="24.4" clip-path="url(#terminal-961727797-line-15)">, </text><text class="terminal-961727797-r4" x="73.2" y="386" textLength="85.4" clip-path="url(#terminal-961727797-line-15)">--title</text><text class="terminal-961727797-r5" x="158.6" y="386" textLength="73.2" clip-path="url(#terminal-961727797-line-15)"> TITLE</text><text class="terminal-961727797-r2" x="231.8" y="386" textLength="353.8" clip-path="url(#terminal-961727797-line-15)">    title for terminal window</text><text class="terminal-961727797-r2" x="890.6" y="386" textLength="12.2" clip-path="url(#terminal-961727797-line-15)">
|
||||||
|
</text><text class="terminal-961727797-r4" x="24.4" y="410.4" textLength="24.4" clip-path="url(#terminal-961727797-line-16)">-w</text><text class="terminal-961727797-r2" x="48.8" y="410.4" textLength="24.4" clip-path="url(#terminal-961727797-line-16)">, </text><text class="terminal-961727797-r4" x="73.2" y="410.4" textLength="85.4" clip-path="url(#terminal-961727797-line-16)">--width</text><text class="terminal-961727797-r5" x="158.6" y="410.4" textLength="73.2" clip-path="url(#terminal-961727797-line-16)"> WIDTH</text><text class="terminal-961727797-r2" x="231.8" y="410.4" textLength="195.2" clip-path="url(#terminal-961727797-line-16)">    width of svg</text><text class="terminal-961727797-r2" x="890.6" y="410.4" textLength="12.2" clip-path="url(#terminal-961727797-line-16)">
|
||||||
|
</text><text class="terminal-961727797-r4" x="24.4" y="434.8" textLength="85.4" clip-path="url(#terminal-961727797-line-17)">--theme</text><text class="terminal-961727797-r5" x="109.8" y="434.8" textLength="73.2" clip-path="url(#terminal-961727797-line-17)"> THEME</text><text class="terminal-961727797-r2" x="183" y="434.8" textLength="707.6" clip-path="url(#terminal-961727797-line-17)">        theme to use for highlighting [default: cat-mocha]</text><text class="terminal-961727797-r2" x="890.6" y="434.8" textLength="12.2" clip-path="url(#terminal-961727797-line-17)">
|
||||||
|
</text><text class="terminal-961727797-r4" x="24.4" y="459.2" textLength="158.6" clip-path="url(#terminal-961727797-line-18)">--list-themes</text><text class="terminal-961727797-r2" x="183" y="459.2" textLength="353.8" clip-path="url(#terminal-961727797-line-18)">        list available themes</text><text class="terminal-961727797-r2" x="890.6" y="459.2" textLength="12.2" clip-path="url(#terminal-961727797-line-18)">
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 13 KiB |
|
@ -1,4 +1,4 @@
|
||||||
<svg class="rich-terminal shadow" viewBox="0 0 580 220.79999999999998" xmlns="http://www.w3.org/2000/svg">
|
<svg class="rich-terminal shadow" viewBox="0 0 598.3333333333334 253.13333333333333" xmlns="http://www.w3.org/2000/svg">
|
||||||
<!-- Generated with Rich https://www.textualize.io -->
|
<!-- Generated with Rich https://www.textualize.io -->
|
||||||
<style>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -15,20 +15,23 @@
|
||||||
font-style: bold;
|
font-style: bold;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-470432081-matrix {
|
.terminal-470432081-matrix {
|
||||||
font-family: Fira Code, monospace;
|
font-family: Fira Code, monospace;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
line-height: 24.4px;
|
line-height: 24.4px;
|
||||||
font-variant-east-asian: full-width;
|
font-variant-east-asian: full-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-470432081-title {
|
.terminal-470432081-title {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-family: arial;
|
font-family: arial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shadow {
|
.shadow {
|
||||||
-webkit-filter: drop-shadow( 5px 10px 15px rgba(0, 0, 0, .7));
|
-webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||||
filter: drop-shadow( 5px 10px 15px rgba(0, 0, 0, .7));
|
filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));
|
||||||
}
|
}
|
||||||
.terminal-470432081-r1 { fill: #06dc9d }
|
.terminal-470432081-r1 { fill: #06dc9d }
|
||||||
.terminal-470432081-r2 { fill: #0de988 }
|
.terminal-470432081-r2 { fill: #0de988 }
|
||||||
|
@ -93,6 +96,7 @@
|
||||||
.terminal-470432081-r61 { fill: #e10895 }
|
.terminal-470432081-r61 { fill: #e10895 }
|
||||||
.terminal-470432081-r62 { fill: #d203aa }
|
.terminal-470432081-r62 { fill: #d203aa }
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<defs>
|
<defs>
|
||||||
<clipPath id="terminal-470432081-clip-terminal">
|
<clipPath id="terminal-470432081-clip-terminal">
|
||||||
<rect x="0" y="0" width="560.1999999999999" height="169.79999999999998" />
|
<rect x="0" y="0" width="560.1999999999999" height="169.79999999999998" />
|
||||||
|
@ -116,14 +120,15 @@
|
||||||
<rect x="0" y="123.5" width="561.2" height="24.65"/>
|
<rect x="0" y="123.5" width="561.2" height="24.65"/>
|
||||||
</clipPath>
|
</clipPath>
|
||||||
</defs>
|
</defs>
|
||||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="578" height="218.8" rx="8"/><text class="terminal-470432081-title" fill="#c6d0f5" text-anchor="middle" x="289" y="27">yartsu</text>
|
|
||||||
<g transform="translate(26,22)">
|
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="10.1667" y="1" width="578" height="218.8" rx="8"/><text class="terminal-470432081-title" fill="#c6d0f5" text-anchor="middle" x="289" y="27">yartsu</text>
|
||||||
|
<g transform="translate(32,22)">
|
||||||
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
|
||||||
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
|
||||||
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
<circle cx="44" cy="0" r="7" fill="#28c840"/>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<g transform="translate(9, 41)" clip-path="url(#terminal-470432081-clip-terminal)">
|
<g transform="translate(18.166666666666664, 41) scale(.95)" clip-path="url(#terminal-470432081-clip-terminal)">
|
||||||
|
|
||||||
<g class="terminal-470432081-matrix">
|
<g class="terminal-470432081-matrix">
|
||||||
<text class="terminal-470432081-r7" x="73.2" y="20" textLength="12.2" clip-path="url(#terminal-470432081-line-0)">_</text><text class="terminal-470432081-r8" x="85.4" y="20" textLength="12.2" clip-path="url(#terminal-470432081-line-0)">_</text><text class="terminal-470432081-r9" x="97.6" y="20" textLength="12.2" clip-path="url(#terminal-470432081-line-0)">_</text><text class="terminal-470432081-r10" x="109.8" y="20" textLength="12.2" clip-path="url(#terminal-470432081-line-0)">_</text><text class="terminal-470432081-r11" x="561.2" y="20" textLength="12.2" clip-path="url(#terminal-470432081-line-0)">
|
<text class="terminal-470432081-r7" x="73.2" y="20" textLength="12.2" clip-path="url(#terminal-470432081-line-0)">_</text><text class="terminal-470432081-r8" x="85.4" y="20" textLength="12.2" clip-path="url(#terminal-470432081-line-0)">_</text><text class="terminal-470432081-r9" x="97.6" y="20" textLength="12.2" clip-path="url(#terminal-470432081-line-0)">_</text><text class="terminal-470432081-r10" x="109.8" y="20" textLength="12.2" clip-path="url(#terminal-470432081-line-0)">_</text><text class="terminal-470432081-r11" x="561.2" y="20" textLength="12.2" clip-path="url(#terminal-470432081-line-0)">
|
||||||
|
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 168 KiB |
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 168 KiB |
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 166 KiB |
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 168 KiB |
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 166 KiB |
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
|
@ -1,131 +0,0 @@
|
||||||
<svg class="rich-terminal shadow" viewBox="0 0 909 513.5999999999999" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<!-- Generated with Rich https://www.textualize.io -->
|
|
||||||
<style>
|
|
||||||
@font-face {
|
|
||||||
font-family: "Fira Code";
|
|
||||||
src: local("FiraCode-Regular"),
|
|
||||||
url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@2.1.0/patched-fonts/FiraCode/Regular/complete/Fira%20Code%20Regular%20Nerd%20Font%20Complete.ttf") format("truetype");
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
@font-face {
|
|
||||||
font-family: "Fira Code";
|
|
||||||
src: local("FiraCode-Bold"),
|
|
||||||
url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@2.1.0/patched-fonts/FiraCode/Bold/complete/Fira%20Code%20Bold%20Nerd%20Font%20Complete.ttf") format("truetype");
|
|
||||||
font-style: bold;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
.terminal-3015887605-matrix {
|
|
||||||
font-family: Fira Code, monospace;
|
|
||||||
font-size: 20px;
|
|
||||||
line-height: 24.4px;
|
|
||||||
font-variant-east-asian: full-width;
|
|
||||||
}
|
|
||||||
.terminal-3015887605-title {
|
|
||||||
font-size: 18px;
|
|
||||||
font-weight: bold;
|
|
||||||
font-family: arial;
|
|
||||||
}
|
|
||||||
.shadow {
|
|
||||||
-webkit-filter: drop-shadow( 5px 10px 15px rgba(0, 0, 0, .7));
|
|
||||||
filter: drop-shadow( 5px 10px 15px rgba(0, 0, 0, .7));
|
|
||||||
}
|
|
||||||
.terminal-3015887605-r1 { fill: #94e2d5;font-weight: bold;font-style: italic; }
|
|
||||||
.terminal-3015887605-r2 { fill: #c6d0f5 }
|
|
||||||
.terminal-3015887605-r3 { fill: #8288a5 }
|
|
||||||
.terminal-3015887605-r4 { fill: #94e2d5;font-weight: bold }
|
|
||||||
.terminal-3015887605-r5 { fill: #f9e2af }
|
|
||||||
.terminal-3015887605-r6 { fill: #a6e3a1 }
|
|
||||||
</style>
|
|
||||||
<defs>
|
|
||||||
<clipPath id="terminal-3015887605-clip-terminal">
|
|
||||||
<rect x="0" y="0" width="889.5999999999999" height="462.59999999999997" />
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-0">
|
|
||||||
<rect x="0" y="1.5" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-1">
|
|
||||||
<rect x="0" y="25.9" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-2">
|
|
||||||
<rect x="0" y="50.3" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-3">
|
|
||||||
<rect x="0" y="74.7" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-4">
|
|
||||||
<rect x="0" y="99.1" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-5">
|
|
||||||
<rect x="0" y="123.5" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-6">
|
|
||||||
<rect x="0" y="147.9" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-7">
|
|
||||||
<rect x="0" y="172.3" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-8">
|
|
||||||
<rect x="0" y="196.7" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-9">
|
|
||||||
<rect x="0" y="221.1" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-10">
|
|
||||||
<rect x="0" y="245.5" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-11">
|
|
||||||
<rect x="0" y="269.9" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-12">
|
|
||||||
<rect x="0" y="294.3" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-13">
|
|
||||||
<rect x="0" y="318.7" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-14">
|
|
||||||
<rect x="0" y="343.1" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-15">
|
|
||||||
<rect x="0" y="367.5" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-16">
|
|
||||||
<rect x="0" y="391.9" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
<clipPath id="terminal-3015887605-line-17">
|
|
||||||
<rect x="0" y="416.3" width="890.6" height="24.65"/>
|
|
||||||
</clipPath>
|
|
||||||
</defs>
|
|
||||||
<rect fill="#1e1e2e" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="907" height="511.6" rx="8"/><text class="terminal-3015887605-title" fill="#c6d0f5" text-anchor="middle" x="453" y="27">yartsu --help</text>
|
|
||||||
<g transform="translate(26,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(9, 41)" clip-path="url(#terminal-3015887605-clip-terminal)">
|
|
||||||
|
|
||||||
<g class="terminal-3015887605-matrix">
|
|
||||||
<text class="terminal-3015887605-r1" x="0" y="20" textLength="61" clip-path="url(#terminal-3015887605-line-0)">usage</text><text class="terminal-3015887605-r2" x="61" y="20" textLength="12.2" clip-path="url(#terminal-3015887605-line-0)">:</text><text class="terminal-3015887605-r2" x="890.6" y="20" textLength="12.2" clip-path="url(#terminal-3015887605-line-0)">
|
|
||||||
</text><text class="terminal-3015887605-r2" x="890.6" y="44.4" textLength="12.2" clip-path="url(#terminal-3015887605-line-1)">
|
|
||||||
</text><text class="terminal-3015887605-r2" x="0" y="68.8" textLength="488" clip-path="url(#terminal-3015887605-line-2)">    ls --color=always | yartsu [options]</text><text class="terminal-3015887605-r2" x="890.6" y="68.8" textLength="12.2" clip-path="url(#terminal-3015887605-line-2)">
|
|
||||||
</text><text class="terminal-3015887605-r3" x="48.8" y="93.2" textLength="24.4" clip-path="url(#terminal-3015887605-line-3)">OR</text><text class="terminal-3015887605-r2" x="890.6" y="93.2" textLength="12.2" clip-path="url(#terminal-3015887605-line-3)">
|
|
||||||
</text><text class="terminal-3015887605-r2" x="0" y="117.6" textLength="414.8" clip-path="url(#terminal-3015887605-line-4)">    yartsu [options] -- ls --color</text><text class="terminal-3015887605-r2" x="890.6" y="117.6" textLength="12.2" clip-path="url(#terminal-3015887605-line-4)">
|
|
||||||
</text><text class="terminal-3015887605-r3" x="48.8" y="142" textLength="24.4" clip-path="url(#terminal-3015887605-line-5)">OR</text><text class="terminal-3015887605-r2" x="890.6" y="142" textLength="12.2" clip-path="url(#terminal-3015887605-line-5)">
|
|
||||||
</text><text class="terminal-3015887605-r2" x="0" y="166.4" textLength="585.6" clip-path="url(#terminal-3015887605-line-6)">    ls --color=always > ls.txt; yartsu -i ls.txt</text><text class="terminal-3015887605-r2" x="890.6" y="166.4" textLength="12.2" clip-path="url(#terminal-3015887605-line-6)">
|
|
||||||
</text><text class="terminal-3015887605-r2" x="890.6" y="190.8" textLength="12.2" clip-path="url(#terminal-3015887605-line-7)">
|
|
||||||
</text><text class="terminal-3015887605-r2" x="0" y="215.2" textLength="366" clip-path="url(#terminal-3015887605-line-8)">convert terminal output to svg</text><text class="terminal-3015887605-r2" x="890.6" y="215.2" textLength="12.2" clip-path="url(#terminal-3015887605-line-8)">
|
|
||||||
</text><text class="terminal-3015887605-r2" x="890.6" y="239.6" textLength="12.2" clip-path="url(#terminal-3015887605-line-9)">
|
|
||||||
</text><text class="terminal-3015887605-r4" x="0" y="264" textLength="85.4" clip-path="url(#terminal-3015887605-line-10)">options</text><text class="terminal-3015887605-r2" x="85.4" y="264" textLength="12.2" clip-path="url(#terminal-3015887605-line-10)">:</text><text class="terminal-3015887605-r2" x="890.6" y="264" textLength="12.2" clip-path="url(#terminal-3015887605-line-10)">
|
|
||||||
</text><text class="terminal-3015887605-r5" x="24.4" y="288.4" textLength="24.4" clip-path="url(#terminal-3015887605-line-11)">-h</text><text class="terminal-3015887605-r2" x="48.8" y="288.4" textLength="24.4" clip-path="url(#terminal-3015887605-line-11)">, </text><text class="terminal-3015887605-r5" x="73.2" y="288.4" textLength="73.2" clip-path="url(#terminal-3015887605-line-11)">--help</text><text class="terminal-3015887605-r2" x="146.4" y="288.4" textLength="512.4" clip-path="url(#terminal-3015887605-line-11)">           show this help message and exit</text><text class="terminal-3015887605-r2" x="890.6" y="288.4" textLength="12.2" clip-path="url(#terminal-3015887605-line-11)">
|
|
||||||
</text><text class="terminal-3015887605-r5" x="24.4" y="312.8" textLength="24.4" clip-path="url(#terminal-3015887605-line-12)">-V</text><text class="terminal-3015887605-r2" x="48.8" y="312.8" textLength="24.4" clip-path="url(#terminal-3015887605-line-12)">, </text><text class="terminal-3015887605-r5" x="73.2" y="312.8" textLength="109.8" clip-path="url(#terminal-3015887605-line-12)">--version</text><text class="terminal-3015887605-r2" x="183" y="312.8" textLength="561.2" clip-path="url(#terminal-3015887605-line-12)">        show program's version number and exit</text><text class="terminal-3015887605-r2" x="890.6" y="312.8" textLength="12.2" clip-path="url(#terminal-3015887605-line-12)">
|
|
||||||
</text><text class="terminal-3015887605-r5" x="24.4" y="337.2" textLength="24.4" clip-path="url(#terminal-3015887605-line-13)">-i</text><text class="terminal-3015887605-r2" x="48.8" y="337.2" textLength="24.4" clip-path="url(#terminal-3015887605-line-13)">, </text><text class="terminal-3015887605-r5" x="73.2" y="337.2" textLength="85.4" clip-path="url(#terminal-3015887605-line-13)">--input</text><text class="terminal-3015887605-r6" x="158.6" y="337.2" textLength="73.2" clip-path="url(#terminal-3015887605-line-13)"> INPUT</text><text class="terminal-3015887605-r2" x="231.8" y="337.2" textLength="378.2" clip-path="url(#terminal-3015887605-line-13)">    input file [default: stdin]</text><text class="terminal-3015887605-r2" x="890.6" y="337.2" textLength="12.2" clip-path="url(#terminal-3015887605-line-13)">
|
|
||||||
</text><text class="terminal-3015887605-r5" x="24.4" y="361.6" textLength="24.4" clip-path="url(#terminal-3015887605-line-14)">-o</text><text class="terminal-3015887605-r2" x="48.8" y="361.6" textLength="24.4" clip-path="url(#terminal-3015887605-line-14)">, </text><text class="terminal-3015887605-r5" x="73.2" y="361.6" textLength="97.6" clip-path="url(#terminal-3015887605-line-14)">--output</text><text class="terminal-3015887605-r6" x="170.8" y="361.6" textLength="85.4" clip-path="url(#terminal-3015887605-line-14)"> OUTPUT</text><text class="terminal-3015887605-r2" x="256.2" y="361.6" textLength="488" clip-path="url(#terminal-3015887605-line-14)">  output svg file [default: capture.svg]</text><text class="terminal-3015887605-r2" x="890.6" y="361.6" textLength="12.2" clip-path="url(#terminal-3015887605-line-14)">
|
|
||||||
</text><text class="terminal-3015887605-r5" x="24.4" y="386" textLength="24.4" clip-path="url(#terminal-3015887605-line-15)">-t</text><text class="terminal-3015887605-r2" x="48.8" y="386" textLength="24.4" clip-path="url(#terminal-3015887605-line-15)">, </text><text class="terminal-3015887605-r5" x="73.2" y="386" textLength="85.4" clip-path="url(#terminal-3015887605-line-15)">--title</text><text class="terminal-3015887605-r6" x="158.6" y="386" textLength="73.2" clip-path="url(#terminal-3015887605-line-15)"> TITLE</text><text class="terminal-3015887605-r2" x="231.8" y="386" textLength="353.8" clip-path="url(#terminal-3015887605-line-15)">    title for terminal window</text><text class="terminal-3015887605-r2" x="890.6" y="386" textLength="12.2" clip-path="url(#terminal-3015887605-line-15)">
|
|
||||||
</text><text class="terminal-3015887605-r5" x="24.4" y="410.4" textLength="24.4" clip-path="url(#terminal-3015887605-line-16)">-w</text><text class="terminal-3015887605-r2" x="48.8" y="410.4" textLength="24.4" clip-path="url(#terminal-3015887605-line-16)">, </text><text class="terminal-3015887605-r5" x="73.2" y="410.4" textLength="85.4" clip-path="url(#terminal-3015887605-line-16)">--width</text><text class="terminal-3015887605-r6" x="158.6" y="410.4" textLength="73.2" clip-path="url(#terminal-3015887605-line-16)"> WIDTH</text><text class="terminal-3015887605-r2" x="231.8" y="410.4" textLength="195.2" clip-path="url(#terminal-3015887605-line-16)">    width of svg</text><text class="terminal-3015887605-r2" x="890.6" y="410.4" textLength="12.2" clip-path="url(#terminal-3015887605-line-16)">
|
|
||||||
</text><text class="terminal-3015887605-r5" x="24.4" y="434.8" textLength="85.4" clip-path="url(#terminal-3015887605-line-17)">--theme</text><text class="terminal-3015887605-r6" x="109.8" y="434.8" textLength="73.2" clip-path="url(#terminal-3015887605-line-17)"> THEME</text><text class="terminal-3015887605-r2" x="183" y="434.8" textLength="707.6" clip-path="url(#terminal-3015887605-line-17)">        theme to use for highlighting [default: cat-mocha]</text><text class="terminal-3015887605-r2" x="890.6" y="434.8" textLength="12.2" clip-path="url(#terminal-3015887605-line-17)">
|
|
||||||
</text><text class="terminal-3015887605-r5" x="24.4" y="459.2" textLength="158.6" clip-path="url(#terminal-3015887605-line-18)">--list-themes</text><text class="terminal-3015887605-r2" x="183" y="459.2" textLength="353.8" clip-path="url(#terminal-3015887605-line-18)">        list available themes</text><text class="terminal-3015887605-r2" x="890.6" y="459.2" textLength="12.2" clip-path="url(#terminal-3015887605-line-18)">
|
|
||||||
</text>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 13 KiB |