| 1 |
<svg class="rich-terminal" viewBox="0 0 994 513.5999999999999" 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-1694544970-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-1694544970-title { |
| 30 |
font-size: 18px; |
| 31 |
font-weight: bold; |
| 32 |
font-family: arial; |
| 33 |
} |
| 34 |
|
| 35 |
.terminal-1694544970-r1 { fill: #c5c8c6 } |
| 36 |
.terminal-1694544970-r2 { fill: #c5c8c6;font-weight: bold } |
| 37 |
.terminal-1694544970-r3 { fill: #d0b344;font-weight: bold } |
| 38 |
.terminal-1694544970-r4 { fill: #68a0b3;font-weight: bold } |
| 39 |
.terminal-1694544970-r5 { fill: #868887 } |
| 40 |
.terminal-1694544970-r6 { fill: #4e707b;font-weight: bold } |
| 41 |
.terminal-1694544970-r7 { fill: #cc555a } |
| 42 |
.terminal-1694544970-r8 { fill: #8a4346 } |
| 43 |
</style> |
| 44 |
|
| 45 |
<defs> |
| 46 |
<clipPath id="terminal-1694544970-clip-terminal"> |
| 47 |
<rect x="0" y="0" width="975.0" height="462.59999999999997" /> |
| 48 |
</clipPath> |
| 49 |
<clipPath id="terminal-1694544970-line-0"> |
| 50 |
<rect x="0" y="1.5" width="976" height="24.65"/> |
| 51 |
</clipPath> |
| 52 |
<clipPath id="terminal-1694544970-line-1"> |
| 53 |
<rect x="0" y="25.9" width="976" height="24.65"/> |
| 54 |
</clipPath> |
| 55 |
<clipPath id="terminal-1694544970-line-2"> |
| 56 |
<rect x="0" y="50.3" width="976" height="24.65"/> |
| 57 |
</clipPath> |
| 58 |
<clipPath id="terminal-1694544970-line-3"> |
| 59 |
<rect x="0" y="74.7" width="976" height="24.65"/> |
| 60 |
</clipPath> |
| 61 |
<clipPath id="terminal-1694544970-line-4"> |
| 62 |
<rect x="0" y="99.1" width="976" height="24.65"/> |
| 63 |
</clipPath> |
| 64 |
<clipPath id="terminal-1694544970-line-5"> |
| 65 |
<rect x="0" y="123.5" width="976" height="24.65"/> |
| 66 |
</clipPath> |
| 67 |
<clipPath id="terminal-1694544970-line-6"> |
| 68 |
<rect x="0" y="147.9" width="976" height="24.65"/> |
| 69 |
</clipPath> |
| 70 |
<clipPath id="terminal-1694544970-line-7"> |
| 71 |
<rect x="0" y="172.3" width="976" height="24.65"/> |
| 72 |
</clipPath> |
| 73 |
<clipPath id="terminal-1694544970-line-8"> |
| 74 |
<rect x="0" y="196.7" width="976" height="24.65"/> |
| 75 |
</clipPath> |
| 76 |
<clipPath id="terminal-1694544970-line-9"> |
| 77 |
<rect x="0" y="221.1" width="976" height="24.65"/> |
| 78 |
</clipPath> |
| 79 |
<clipPath id="terminal-1694544970-line-10"> |
| 80 |
<rect x="0" y="245.5" width="976" height="24.65"/> |
| 81 |
</clipPath> |
| 82 |
<clipPath id="terminal-1694544970-line-11"> |
| 83 |
<rect x="0" y="269.9" width="976" height="24.65"/> |
| 84 |
</clipPath> |
| 85 |
<clipPath id="terminal-1694544970-line-12"> |
| 86 |
<rect x="0" y="294.3" width="976" height="24.65"/> |
| 87 |
</clipPath> |
| 88 |
<clipPath id="terminal-1694544970-line-13"> |
| 89 |
<rect x="0" y="318.7" width="976" height="24.65"/> |
| 90 |
</clipPath> |
| 91 |
<clipPath id="terminal-1694544970-line-14"> |
| 92 |
<rect x="0" y="343.1" width="976" height="24.65"/> |
| 93 |
</clipPath> |
| 94 |
<clipPath id="terminal-1694544970-line-15"> |
| 95 |
<rect x="0" y="367.5" width="976" height="24.65"/> |
| 96 |
</clipPath> |
| 97 |
<clipPath id="terminal-1694544970-line-16"> |
| 98 |
<rect x="0" y="391.9" width="976" height="24.65"/> |
| 99 |
</clipPath> |
| 100 |
<clipPath id="terminal-1694544970-line-17"> |
| 101 |
<rect x="0" y="416.3" width="976" height="24.65"/> |
| 102 |
</clipPath> |
| 103 |
</defs> |
| 104 |
|
| 105 |
<rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="992" height="511.6" rx="8"/><text class="terminal-1694544970-title" fill="#c5c8c6" text-anchor="middle" x="496" y="27">Positional arguments example</text> |
| 106 |
<g transform="translate(26,22)"> |
| 107 |
<circle cx="0" cy="0" r="7" fill="#ff5f57"/> |
| 108 |
<circle cx="22" cy="0" r="7" fill="#febc2e"/> |
| 109 |
<circle cx="44" cy="0" r="7" fill="#28c840"/> |
| 110 |
</g> |
| 111 |
|
| 112 |
<g transform="translate(9, 41)" clip-path="url(#terminal-1694544970-clip-terminal)"> |
| 113 |
|
| 114 |
<g class="terminal-1694544970-matrix"> |
| 115 |
<text class="terminal-1694544970-r1" x="0" y="20" textLength="488" clip-path="url(#terminal-1694544970-line-0)">$ python examples/06_arguments.py --help</text><text class="terminal-1694544970-r1" x="976" y="20" textLength="12.2" clip-path="url(#terminal-1694544970-line-0)"> |
| 116 |
</text><text class="terminal-1694544970-r1" x="976" y="44.4" textLength="12.2" clip-path="url(#terminal-1694544970-line-1)"> |
| 117 |
</text><text class="terminal-1694544970-r3" x="12.2" y="68.8" textLength="85.4" clip-path="url(#terminal-1694544970-line-2)">Usage: </text><text class="terminal-1694544970-r2" x="97.6" y="68.8" textLength="207.4" clip-path="url(#terminal-1694544970-line-2)">06_arguments.py [</text><text class="terminal-1694544970-r4" x="305" y="68.8" textLength="85.4" clip-path="url(#terminal-1694544970-line-2)">OPTIONS</text><text class="terminal-1694544970-r2" x="390.4" y="68.8" textLength="24.4" clip-path="url(#terminal-1694544970-line-2)">] </text><text class="terminal-1694544970-r4" x="414.8" y="68.8" textLength="61" clip-path="url(#terminal-1694544970-line-2)">INPUT</text><text class="terminal-1694544970-r1" x="976" y="68.8" textLength="12.2" clip-path="url(#terminal-1694544970-line-2)"> |
| 118 |
</text><text class="terminal-1694544970-r1" x="976" y="93.2" textLength="12.2" clip-path="url(#terminal-1694544970-line-3)"> |
| 119 |
</text><text class="terminal-1694544970-r1" x="0" y="117.6" textLength="976" clip-path="url(#terminal-1694544970-line-4)"> My amazing tool does all the things.                                           </text><text class="terminal-1694544970-r1" x="976" y="117.6" textLength="12.2" clip-path="url(#terminal-1694544970-line-4)"> |
| 120 |
</text><text class="terminal-1694544970-r5" x="12.2" y="142" textLength="902.8" clip-path="url(#terminal-1694544970-line-5)">This is a minimal example based on documentation from the 'click' package.</text><text class="terminal-1694544970-r1" x="976" y="142" textLength="12.2" clip-path="url(#terminal-1694544970-line-5)"> |
| 121 |
</text><text class="terminal-1694544970-r5" x="12.2" y="166.4" textLength="219.6" clip-path="url(#terminal-1694544970-line-6)">You can try using </text><text class="terminal-1694544970-r6" x="231.8" y="166.4" textLength="12.2" clip-path="url(#terminal-1694544970-line-6)">-</text><text class="terminal-1694544970-r6" x="244" y="166.4" textLength="61" clip-path="url(#terminal-1694544970-line-6)">-help</text><text class="terminal-1694544970-r5" x="305" y="166.4" textLength="561.2" clip-path="url(#terminal-1694544970-line-6)"> at the top level and also for specific group </text><text class="terminal-1694544970-r1" x="976" y="166.4" textLength="12.2" clip-path="url(#terminal-1694544970-line-6)"> |
| 122 |
</text><text class="terminal-1694544970-r5" x="12.2" y="190.8" textLength="146.4" clip-path="url(#terminal-1694544970-line-7)">subcommands.</text><text class="terminal-1694544970-r1" x="976" y="190.8" textLength="12.2" clip-path="url(#terminal-1694544970-line-7)"> |
| 123 |
</text><text class="terminal-1694544970-r1" x="976" y="215.2" textLength="12.2" clip-path="url(#terminal-1694544970-line-8)"> |
| 124 |
</text><text class="terminal-1694544970-r5" x="0" y="239.6" textLength="24.4" clip-path="url(#terminal-1694544970-line-9)">╭─</text><text class="terminal-1694544970-r5" x="24.4" y="239.6" textLength="134.2" clip-path="url(#terminal-1694544970-line-9)"> Arguments </text><text class="terminal-1694544970-r5" x="158.6" y="239.6" textLength="793" clip-path="url(#terminal-1694544970-line-9)">─────────────────────────────────────────────────────────────────</text><text class="terminal-1694544970-r5" x="951.6" y="239.6" textLength="24.4" clip-path="url(#terminal-1694544970-line-9)">─╮</text><text class="terminal-1694544970-r1" x="976" y="239.6" textLength="12.2" clip-path="url(#terminal-1694544970-line-9)"> |
| 125 |
</text><text class="terminal-1694544970-r5" x="0" y="264" textLength="12.2" clip-path="url(#terminal-1694544970-line-10)">│</text><text class="terminal-1694544970-r7" x="24.4" y="264" textLength="12.2" clip-path="url(#terminal-1694544970-line-10)">*</text><text class="terminal-1694544970-r4" x="61" y="264" textLength="61" clip-path="url(#terminal-1694544970-line-10)">INPUT</text><text class="terminal-1694544970-r3" x="170.8" y="264" textLength="48.8" clip-path="url(#terminal-1694544970-line-10)">PATH</text><text class="terminal-1694544970-r8" x="244" y="264" textLength="122" clip-path="url(#terminal-1694544970-line-10)">[required]</text><text class="terminal-1694544970-r5" x="963.8" y="264" textLength="12.2" clip-path="url(#terminal-1694544970-line-10)">│</text><text class="terminal-1694544970-r1" x="976" y="264" textLength="12.2" clip-path="url(#terminal-1694544970-line-10)"> |
| 126 |
</text><text class="terminal-1694544970-r5" x="0" y="288.4" textLength="976" clip-path="url(#terminal-1694544970-line-11)">╰──────────────────────────────────────────────────────────────────────────────╯</text><text class="terminal-1694544970-r1" x="976" y="288.4" textLength="12.2" clip-path="url(#terminal-1694544970-line-11)"> |
| 127 |
</text><text class="terminal-1694544970-r5" x="0" y="312.8" textLength="24.4" clip-path="url(#terminal-1694544970-line-12)">╭─</text><text class="terminal-1694544970-r5" x="24.4" y="312.8" textLength="109.8" clip-path="url(#terminal-1694544970-line-12)"> Options </text><text class="terminal-1694544970-r5" x="134.2" y="312.8" textLength="817.4" clip-path="url(#terminal-1694544970-line-12)">───────────────────────────────────────────────────────────────────</text><text class="terminal-1694544970-r5" x="951.6" y="312.8" textLength="24.4" clip-path="url(#terminal-1694544970-line-12)">─╮</text><text class="terminal-1694544970-r1" x="976" y="312.8" textLength="12.2" clip-path="url(#terminal-1694544970-line-12)"> |
| 128 |
</text><text class="terminal-1694544970-r5" x="0" y="337.2" textLength="12.2" clip-path="url(#terminal-1694544970-line-13)">│</text><text class="terminal-1694544970-r4" x="24.4" y="337.2" textLength="12.2" clip-path="url(#terminal-1694544970-line-13)">-</text><text class="terminal-1694544970-r4" x="36.6" y="337.2" textLength="61" clip-path="url(#terminal-1694544970-line-13)">-type</text><text class="terminal-1694544970-r3" x="158.6" y="337.2" textLength="48.8" clip-path="url(#terminal-1694544970-line-13)">TEXT</text><text class="terminal-1694544970-r1" x="207.4" y="337.2" textLength="280.6" clip-path="url(#terminal-1694544970-line-13)">  Type of file to sync </text><text class="terminal-1694544970-r5" x="488" y="337.2" textLength="195.2" clip-path="url(#terminal-1694544970-line-13)">[default: files]</text><text class="terminal-1694544970-r5" x="963.8" y="337.2" textLength="12.2" clip-path="url(#terminal-1694544970-line-13)">│</text><text class="terminal-1694544970-r1" x="976" y="337.2" textLength="12.2" clip-path="url(#terminal-1694544970-line-13)"> |
| 129 |
</text><text class="terminal-1694544970-r5" x="0" y="361.6" textLength="12.2" clip-path="url(#terminal-1694544970-line-14)">│</text><text class="terminal-1694544970-r4" x="24.4" y="361.6" textLength="12.2" clip-path="url(#terminal-1694544970-line-14)">-</text><text class="terminal-1694544970-r4" x="36.6" y="361.6" textLength="48.8" clip-path="url(#terminal-1694544970-line-14)">-all</text><text class="terminal-1694544970-r1" x="207.4" y="361.6" textLength="756.4" clip-path="url(#terminal-1694544970-line-14)">  Sync all the things?                                        </text><text class="terminal-1694544970-r5" x="963.8" y="361.6" textLength="12.2" clip-path="url(#terminal-1694544970-line-14)">│</text><text class="terminal-1694544970-r1" x="976" y="361.6" textLength="12.2" clip-path="url(#terminal-1694544970-line-14)"> |
| 130 |
</text><text class="terminal-1694544970-r5" x="0" y="386" textLength="12.2" clip-path="url(#terminal-1694544970-line-15)">│</text><text class="terminal-1694544970-r4" x="24.4" y="386" textLength="12.2" clip-path="url(#terminal-1694544970-line-15)">-</text><text class="terminal-1694544970-r4" x="36.6" y="386" textLength="73.2" clip-path="url(#terminal-1694544970-line-15)">-debug</text><text class="terminal-1694544970-r1" x="207.4" y="386" textLength="756.4" clip-path="url(#terminal-1694544970-line-15)">  Enable debug mode                                           </text><text class="terminal-1694544970-r5" x="963.8" y="386" textLength="12.2" clip-path="url(#terminal-1694544970-line-15)">│</text><text class="terminal-1694544970-r1" x="976" y="386" textLength="12.2" clip-path="url(#terminal-1694544970-line-15)"> |
| 131 |
</text><text class="terminal-1694544970-r5" x="0" y="410.4" textLength="12.2" clip-path="url(#terminal-1694544970-line-16)">│</text><text class="terminal-1694544970-r4" x="24.4" y="410.4" textLength="12.2" clip-path="url(#terminal-1694544970-line-16)">-</text><text class="terminal-1694544970-r4" x="36.6" y="410.4" textLength="61" clip-path="url(#terminal-1694544970-line-16)">-help</text><text class="terminal-1694544970-r1" x="207.4" y="410.4" textLength="756.4" clip-path="url(#terminal-1694544970-line-16)">  Show this message and exit.                                 </text><text class="terminal-1694544970-r5" x="963.8" y="410.4" textLength="12.2" clip-path="url(#terminal-1694544970-line-16)">│</text><text class="terminal-1694544970-r1" x="976" y="410.4" textLength="12.2" clip-path="url(#terminal-1694544970-line-16)"> |
| 132 |
</text><text class="terminal-1694544970-r5" x="0" y="434.8" textLength="976" clip-path="url(#terminal-1694544970-line-17)">╰──────────────────────────────────────────────────────────────────────────────╯</text><text class="terminal-1694544970-r1" x="976" y="434.8" textLength="12.2" clip-path="url(#terminal-1694544970-line-17)"> |
| 133 |
</text><text class="terminal-1694544970-r1" x="976" y="459.2" textLength="12.2" clip-path="url(#terminal-1694544970-line-18)"> |
| 134 |
</text> |
| 135 |
</g> |
| 136 |
</g> |
| 137 |
</svg> |