| 1 |
<svg class="rich-terminal" viewBox="0 0 994 464.79999999999995" xmlns="http://www.w3.org/2000/svg"> |
| 2 |
<!-- Generated with Rich https://www.textualize.io --> |
| 3 |
<style> |
| 4 |
|
| 5 |
@font-face { |
| 6 |
font-family: "Fira Code"; |
| 7 |
src: local("FiraCode-Regular"), |
| 8 |
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2") format("woff2"), |
| 9 |
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff") format("woff"); |
| 10 |
font-style: normal; |
| 11 |
font-weight: 400; |
| 12 |
} |
| 13 |
@font-face { |
| 14 |
font-family: "Fira Code"; |
| 15 |
src: local("FiraCode-Bold"), |
| 16 |
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Bold.woff2") format("woff2"), |
| 17 |
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Bold.woff") format("woff"); |
| 18 |
font-style: bold; |
| 19 |
font-weight: 700; |
| 20 |
} |
| 21 |
|
| 22 |
.terminal-1492709630-matrix { |
| 23 |
font-family: Fira Code, monospace; |
| 24 |
font-size: 20px; |
| 25 |
line-height: 24.4px; |
| 26 |
font-variant-east-asian: full-width; |
| 27 |
} |
| 28 |
|
| 29 |
.terminal-1492709630-title { |
| 30 |
font-size: 18px; |
| 31 |
font-weight: bold; |
| 32 |
font-family: arial; |
| 33 |
} |
| 34 |
|
| 35 |
.terminal-1492709630-r1 { fill: #c5c8c6 } |
| 36 |
.terminal-1492709630-r2 { fill: #c5c8c6;font-weight: bold } |
| 37 |
.terminal-1492709630-r3 { fill: #d0b344;font-weight: bold } |
| 38 |
.terminal-1492709630-r4 { fill: #68a0b3;font-weight: bold } |
| 39 |
.terminal-1492709630-r5 { fill: #4b4e55 } |
| 40 |
.terminal-1492709630-r6 { fill: #868887 } |
| 41 |
.terminal-1492709630-r7 { fill: #868887;text-decoration: underline; } |
| 42 |
.terminal-1492709630-r8 { fill: #868887;font-style: italic; } |
| 43 |
.terminal-1492709630-r9 { fill: #4e707b;font-weight: bold;font-style: italic; } |
| 44 |
.terminal-1492709630-r10 { fill: #98729f;font-weight: bold } |
| 45 |
.terminal-1492709630-r11 { fill: #d0b344 } |
| 46 |
</style> |
| 47 |
|
| 48 |
<defs> |
| 49 |
<clipPath id="terminal-1492709630-clip-terminal"> |
| 50 |
<rect x="0" y="0" width="975.0" height="413.79999999999995" /> |
| 51 |
</clipPath> |
| 52 |
<clipPath id="terminal-1492709630-line-0"> |
| 53 |
<rect x="0" y="1.5" width="976" height="24.65"/> |
| 54 |
</clipPath> |
| 55 |
<clipPath id="terminal-1492709630-line-1"> |
| 56 |
<rect x="0" y="25.9" width="976" height="24.65"/> |
| 57 |
</clipPath> |
| 58 |
<clipPath id="terminal-1492709630-line-2"> |
| 59 |
<rect x="0" y="50.3" width="976" height="24.65"/> |
| 60 |
</clipPath> |
| 61 |
<clipPath id="terminal-1492709630-line-3"> |
| 62 |
<rect x="0" y="74.7" width="976" height="24.65"/> |
| 63 |
</clipPath> |
| 64 |
<clipPath id="terminal-1492709630-line-4"> |
| 65 |
<rect x="0" y="99.1" width="976" height="24.65"/> |
| 66 |
</clipPath> |
| 67 |
<clipPath id="terminal-1492709630-line-5"> |
| 68 |
<rect x="0" y="123.5" width="976" height="24.65"/> |
| 69 |
</clipPath> |
| 70 |
<clipPath id="terminal-1492709630-line-6"> |
| 71 |
<rect x="0" y="147.9" width="976" height="24.65"/> |
| 72 |
</clipPath> |
| 73 |
<clipPath id="terminal-1492709630-line-7"> |
| 74 |
<rect x="0" y="172.3" width="976" height="24.65"/> |
| 75 |
</clipPath> |
| 76 |
<clipPath id="terminal-1492709630-line-8"> |
| 77 |
<rect x="0" y="196.7" width="976" height="24.65"/> |
| 78 |
</clipPath> |
| 79 |
<clipPath id="terminal-1492709630-line-9"> |
| 80 |
<rect x="0" y="221.1" width="976" height="24.65"/> |
| 81 |
</clipPath> |
| 82 |
<clipPath id="terminal-1492709630-line-10"> |
| 83 |
<rect x="0" y="245.5" width="976" height="24.65"/> |
| 84 |
</clipPath> |
| 85 |
<clipPath id="terminal-1492709630-line-11"> |
| 86 |
<rect x="0" y="269.9" width="976" height="24.65"/> |
| 87 |
</clipPath> |
| 88 |
<clipPath id="terminal-1492709630-line-12"> |
| 89 |
<rect x="0" y="294.3" width="976" height="24.65"/> |
| 90 |
</clipPath> |
| 91 |
<clipPath id="terminal-1492709630-line-13"> |
| 92 |
<rect x="0" y="318.7" width="976" height="24.65"/> |
| 93 |
</clipPath> |
| 94 |
<clipPath id="terminal-1492709630-line-14"> |
| 95 |
<rect x="0" y="343.1" width="976" height="24.65"/> |
| 96 |
</clipPath> |
| 97 |
<clipPath id="terminal-1492709630-line-15"> |
| 98 |
<rect x="0" y="367.5" width="976" height="24.65"/> |
| 99 |
</clipPath> |
| 100 |
</defs> |
| 101 |
|
| 102 |
<rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="992" height="462.8" rx="8"/><text class="terminal-1492709630-title" fill="#c5c8c6" text-anchor="middle" x="496" y="27">Rich markup example</text> |
| 103 |
<g transform="translate(26,22)"> |
| 104 |
<circle cx="0" cy="0" r="7" fill="#ff5f57"/> |
| 105 |
<circle cx="22" cy="0" r="7" fill="#febc2e"/> |
| 106 |
<circle cx="44" cy="0" r="7" fill="#28c840"/> |
| 107 |
</g> |
| 108 |
|
| 109 |
<g transform="translate(9, 41)" clip-path="url(#terminal-1492709630-clip-terminal)"> |
| 110 |
<rect fill="#608ab1" x="268.4" y="99.1" width="195.2" height="24.65" shape-rendering="crispEdges"/> |
| 111 |
<g class="terminal-1492709630-matrix"> |
| 112 |
<text class="terminal-1492709630-r1" x="0" y="20" textLength="512.4" clip-path="url(#terminal-1492709630-line-0)">$ python examples/04_rich_markup.py --help</text><text class="terminal-1492709630-r1" x="976" y="20" textLength="12.2" clip-path="url(#terminal-1492709630-line-0)"> |
| 113 |
</text><text class="terminal-1492709630-r1" x="976" y="44.4" textLength="12.2" clip-path="url(#terminal-1492709630-line-1)"> |
| 114 |
</text><text class="terminal-1492709630-r3" x="12.2" y="68.8" textLength="85.4" clip-path="url(#terminal-1492709630-line-2)">Usage: </text><text class="terminal-1492709630-r2" x="97.6" y="68.8" textLength="231.8" clip-path="url(#terminal-1492709630-line-2)">04_rich_markup.py [</text><text class="terminal-1492709630-r4" x="329.4" y="68.8" textLength="85.4" clip-path="url(#terminal-1492709630-line-2)">OPTIONS</text><text class="terminal-1492709630-r2" x="414.8" y="68.8" textLength="12.2" clip-path="url(#terminal-1492709630-line-2)">]</text><text class="terminal-1492709630-r1" x="976" y="68.8" textLength="12.2" clip-path="url(#terminal-1492709630-line-2)"> |
| 115 |
</text><text class="terminal-1492709630-r1" x="976" y="93.2" textLength="12.2" clip-path="url(#terminal-1492709630-line-3)"> |
| 116 |
</text><text class="terminal-1492709630-r1" x="0" y="117.6" textLength="268.4" clip-path="url(#terminal-1492709630-line-4)"> My amazing tool does </text><text class="terminal-1492709630-r5" x="268.4" y="117.6" textLength="195.2" clip-path="url(#terminal-1492709630-line-4)"> all the things </text><text class="terminal-1492709630-r1" x="463.6" y="117.6" textLength="512.4" clip-path="url(#terminal-1492709630-line-4)">.                                         </text><text class="terminal-1492709630-r1" x="976" y="117.6" textLength="12.2" clip-path="url(#terminal-1492709630-line-4)"> |
| 117 |
</text><text class="terminal-1492709630-r6" x="12.2" y="142" textLength="122" clip-path="url(#terminal-1492709630-line-5)">This is a </text><text class="terminal-1492709630-r7" x="134.2" y="142" textLength="183" clip-path="url(#terminal-1492709630-line-5)">minimal example</text><text class="terminal-1492709630-r6" x="317.2" y="142" textLength="402.6" clip-path="url(#terminal-1492709630-line-5)"> based on documentation from the </text><text class="terminal-1492709630-r6" x="719.8" y="142" textLength="183" clip-path="url(#terminal-1492709630-line-5)">'click' package</text><text class="terminal-1492709630-r6" x="902.8" y="142" textLength="12.2" clip-path="url(#terminal-1492709630-line-5)">.</text><text class="terminal-1492709630-r1" x="976" y="142" textLength="12.2" clip-path="url(#terminal-1492709630-line-5)"> |
| 118 |
</text><text class="terminal-1492709630-r8" x="12.2" y="166.4" textLength="219.6" clip-path="url(#terminal-1492709630-line-6)">You can try using </text><text class="terminal-1492709630-r9" x="231.8" y="166.4" textLength="12.2" clip-path="url(#terminal-1492709630-line-6)">-</text><text class="terminal-1492709630-r9" x="244" y="166.4" textLength="61" clip-path="url(#terminal-1492709630-line-6)">-help</text><text class="terminal-1492709630-r8" x="305" y="166.4" textLength="561.2" clip-path="url(#terminal-1492709630-line-6)"> at the top level and also for specific group </text><text class="terminal-1492709630-r1" x="976" y="166.4" textLength="12.2" clip-path="url(#terminal-1492709630-line-6)"> |
| 119 |
</text><text class="terminal-1492709630-r8" x="12.2" y="190.8" textLength="146.4" clip-path="url(#terminal-1492709630-line-7)">subcommands.</text><text class="terminal-1492709630-r1" x="976" y="190.8" textLength="12.2" clip-path="url(#terminal-1492709630-line-7)"> |
| 120 |
</text><text class="terminal-1492709630-r1" x="976" y="215.2" textLength="12.2" clip-path="url(#terminal-1492709630-line-8)"> |
| 121 |
</text><text class="terminal-1492709630-r6" x="0" y="239.6" textLength="24.4" clip-path="url(#terminal-1492709630-line-9)">╭─</text><text class="terminal-1492709630-r6" x="24.4" y="239.6" textLength="109.8" clip-path="url(#terminal-1492709630-line-9)"> Options </text><text class="terminal-1492709630-r6" x="134.2" y="239.6" textLength="817.4" clip-path="url(#terminal-1492709630-line-9)">───────────────────────────────────────────────────────────────────</text><text class="terminal-1492709630-r6" x="951.6" y="239.6" textLength="24.4" clip-path="url(#terminal-1492709630-line-9)">─╮</text><text class="terminal-1492709630-r1" x="976" y="239.6" textLength="12.2" clip-path="url(#terminal-1492709630-line-9)"> |
| 122 |
</text><text class="terminal-1492709630-r6" x="0" y="264" textLength="12.2" clip-path="url(#terminal-1492709630-line-10)">│</text><text class="terminal-1492709630-r4" x="24.4" y="264" textLength="12.2" clip-path="url(#terminal-1492709630-line-10)">-</text><text class="terminal-1492709630-r4" x="36.6" y="264" textLength="73.2" clip-path="url(#terminal-1492709630-line-10)">-input</text><text class="terminal-1492709630-r3" x="158.6" y="264" textLength="48.8" clip-path="url(#terminal-1492709630-line-10)">PATH</text><text class="terminal-1492709630-r1" x="207.4" y="264" textLength="97.6" clip-path="url(#terminal-1492709630-line-10)">  Input </text><text class="terminal-1492709630-r10" x="305" y="264" textLength="48.8" clip-path="url(#terminal-1492709630-line-10)">file</text><text class="terminal-1492709630-r1" x="353.8" y="264" textLength="24.4" clip-path="url(#terminal-1492709630-line-10)">. </text><text class="terminal-1492709630-r6" x="378.2" y="264" textLength="329.4" clip-path="url(#terminal-1492709630-line-10)">[default: a custom default]</text><text class="terminal-1492709630-r6" x="963.8" y="264" textLength="12.2" clip-path="url(#terminal-1492709630-line-10)">│</text><text class="terminal-1492709630-r1" x="976" y="264" textLength="12.2" clip-path="url(#terminal-1492709630-line-10)"> |
| 123 |
</text><text class="terminal-1492709630-r6" x="0" y="288.4" textLength="12.2" clip-path="url(#terminal-1492709630-line-11)">│</text><text class="terminal-1492709630-r4" x="24.4" y="288.4" textLength="12.2" clip-path="url(#terminal-1492709630-line-11)">-</text><text class="terminal-1492709630-r4" x="36.6" y="288.4" textLength="61" clip-path="url(#terminal-1492709630-line-11)">-type</text><text class="terminal-1492709630-r3" x="158.6" y="288.4" textLength="48.8" clip-path="url(#terminal-1492709630-line-11)">TEXT</text><text class="terminal-1492709630-r1" x="207.4" y="288.4" textLength="280.6" clip-path="url(#terminal-1492709630-line-11)">  Type of file to sync </text><text class="terminal-1492709630-r6" x="488" y="288.4" textLength="195.2" clip-path="url(#terminal-1492709630-line-11)">[default: files]</text><text class="terminal-1492709630-r6" x="963.8" y="288.4" textLength="12.2" clip-path="url(#terminal-1492709630-line-11)">│</text><text class="terminal-1492709630-r1" x="976" y="288.4" textLength="12.2" clip-path="url(#terminal-1492709630-line-11)"> |
| 124 |
</text><text class="terminal-1492709630-r6" x="0" y="312.8" textLength="12.2" clip-path="url(#terminal-1492709630-line-12)">│</text><text class="terminal-1492709630-r4" x="24.4" y="312.8" textLength="12.2" clip-path="url(#terminal-1492709630-line-12)">-</text><text class="terminal-1492709630-r4" x="36.6" y="312.8" textLength="48.8" clip-path="url(#terminal-1492709630-line-12)">-all</text><text class="terminal-1492709630-r1" x="207.4" y="312.8" textLength="756.4" clip-path="url(#terminal-1492709630-line-12)">  Sync all the things?                                        </text><text class="terminal-1492709630-r6" x="963.8" y="312.8" textLength="12.2" clip-path="url(#terminal-1492709630-line-12)">│</text><text class="terminal-1492709630-r1" x="976" y="312.8" textLength="12.2" clip-path="url(#terminal-1492709630-line-12)"> |
| 125 |
</text><text class="terminal-1492709630-r6" x="0" y="337.2" textLength="12.2" clip-path="url(#terminal-1492709630-line-13)">│</text><text class="terminal-1492709630-r4" x="24.4" y="337.2" textLength="12.2" clip-path="url(#terminal-1492709630-line-13)">-</text><text class="terminal-1492709630-r4" x="36.6" y="337.2" textLength="73.2" clip-path="url(#terminal-1492709630-line-13)">-debug</text><text class="terminal-1492709630-r1" x="207.4" y="337.2" textLength="134.2" clip-path="url(#terminal-1492709630-line-13)">  Enable 👉 </text><text class="terminal-1492709630-r11" x="353.8" y="337.2" textLength="122" clip-path="url(#terminal-1492709630-line-13)">debug mode</text><text class="terminal-1492709630-r1" x="475.8" y="337.2" textLength="475.8" clip-path="url(#terminal-1492709630-line-13)"> 👈                                     </text><text class="terminal-1492709630-r6" x="963.8" y="337.2" textLength="12.2" clip-path="url(#terminal-1492709630-line-13)">│</text><text class="terminal-1492709630-r1" x="976" y="337.2" textLength="12.2" clip-path="url(#terminal-1492709630-line-13)"> |
| 126 |
</text><text class="terminal-1492709630-r6" x="0" y="361.6" textLength="12.2" clip-path="url(#terminal-1492709630-line-14)">│</text><text class="terminal-1492709630-r4" x="24.4" y="361.6" textLength="12.2" clip-path="url(#terminal-1492709630-line-14)">-</text><text class="terminal-1492709630-r4" x="36.6" y="361.6" textLength="61" clip-path="url(#terminal-1492709630-line-14)">-help</text><text class="terminal-1492709630-r1" x="207.4" y="361.6" textLength="756.4" clip-path="url(#terminal-1492709630-line-14)">  Show this message and exit.                                 </text><text class="terminal-1492709630-r6" x="963.8" y="361.6" textLength="12.2" clip-path="url(#terminal-1492709630-line-14)">│</text><text class="terminal-1492709630-r1" x="976" y="361.6" textLength="12.2" clip-path="url(#terminal-1492709630-line-14)"> |
| 127 |
</text><text class="terminal-1492709630-r6" x="0" y="386" textLength="976" clip-path="url(#terminal-1492709630-line-15)">╰──────────────────────────────────────────────────────────────────────────────╯</text><text class="terminal-1492709630-r1" x="976" y="386" textLength="12.2" clip-path="url(#terminal-1492709630-line-15)"> |
| 128 |
</text><text class="terminal-1492709630-r1" x="976" y="410.4" textLength="12.2" clip-path="url(#terminal-1492709630-line-16)"> |
| 129 |
</text> |
| 130 |
</g> |
| 131 |
</g> |
| 132 |
</svg> |