File: arguments.svg

package info (click to toggle)
python-rich-click 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 520 kB
  • sloc: python: 1,017; sh: 25; makefile: 9
file content (137 lines) | stat: -rw-r--r-- 16,173 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<svg class="rich-terminal" viewBox="0 0 994 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://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2") format("woff2"),
                url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff") format("woff");
        font-style: normal;
        font-weight: 400;
    }
    @font-face {
        font-family: "Fira Code";
        src: local("FiraCode-Bold"),
                url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Bold.woff2") format("woff2"),
                url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Bold.woff") format("woff");
        font-style: bold;
        font-weight: 700;
    }

    .terminal-1694544970-matrix {
        font-family: Fira Code, monospace;
        font-size: 20px;
        line-height: 24.4px;
        font-variant-east-asian: full-width;
    }

    .terminal-1694544970-title {
        font-size: 18px;
        font-weight: bold;
        font-family: arial;
    }

    .terminal-1694544970-r1 { fill: #c5c8c6 }
.terminal-1694544970-r2 { fill: #c5c8c6;font-weight: bold }
.terminal-1694544970-r3 { fill: #d0b344;font-weight: bold }
.terminal-1694544970-r4 { fill: #68a0b3;font-weight: bold }
.terminal-1694544970-r5 { fill: #868887 }
.terminal-1694544970-r6 { fill: #4e707b;font-weight: bold }
.terminal-1694544970-r7 { fill: #cc555a }
.terminal-1694544970-r8 { fill: #8a4346 }
    </style>

    <defs>
    <clipPath id="terminal-1694544970-clip-terminal">
      <rect x="0" y="0" width="975.0" height="462.59999999999997" />
    </clipPath>
    <clipPath id="terminal-1694544970-line-0">
    <rect x="0" y="1.5" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-1">
    <rect x="0" y="25.9" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-2">
    <rect x="0" y="50.3" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-3">
    <rect x="0" y="74.7" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-4">
    <rect x="0" y="99.1" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-5">
    <rect x="0" y="123.5" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-6">
    <rect x="0" y="147.9" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-7">
    <rect x="0" y="172.3" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-8">
    <rect x="0" y="196.7" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-9">
    <rect x="0" y="221.1" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-10">
    <rect x="0" y="245.5" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-11">
    <rect x="0" y="269.9" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-12">
    <rect x="0" y="294.3" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-13">
    <rect x="0" y="318.7" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-14">
    <rect x="0" y="343.1" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-15">
    <rect x="0" y="367.5" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-16">
    <rect x="0" y="391.9" width="976" height="24.65"/>
            </clipPath>
<clipPath id="terminal-1694544970-line-17">
    <rect x="0" y="416.3" width="976" height="24.65"/>
            </clipPath>
    </defs>

    <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&#160;arguments&#160;example</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-1694544970-clip-terminal)">
    
    <g class="terminal-1694544970-matrix">
    <text class="terminal-1694544970-r1" x="0" y="20" textLength="488" clip-path="url(#terminal-1694544970-line-0)">$&#160;python&#160;examples/06_arguments.py&#160;--help</text><text class="terminal-1694544970-r1" x="976" y="20" textLength="12.2" clip-path="url(#terminal-1694544970-line-0)">
</text><text class="terminal-1694544970-r1" x="976" y="44.4" textLength="12.2" clip-path="url(#terminal-1694544970-line-1)">
</text><text class="terminal-1694544970-r3" x="12.2" y="68.8" textLength="85.4" clip-path="url(#terminal-1694544970-line-2)">Usage:&#160;</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&#160;[</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)">]&#160;</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)">
</text><text class="terminal-1694544970-r1" x="976" y="93.2" textLength="12.2" clip-path="url(#terminal-1694544970-line-3)">
</text><text class="terminal-1694544970-r1" x="0" y="117.6" textLength="976" clip-path="url(#terminal-1694544970-line-4)">&#160;My&#160;amazing&#160;tool&#160;does&#160;all&#160;the&#160;things.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</text><text class="terminal-1694544970-r1" x="976" y="117.6" textLength="12.2" clip-path="url(#terminal-1694544970-line-4)">
</text><text class="terminal-1694544970-r5" x="12.2" y="142" textLength="902.8" clip-path="url(#terminal-1694544970-line-5)">This&#160;is&#160;a&#160;minimal&#160;example&#160;based&#160;on&#160;documentation&#160;from&#160;the&#160;&#x27;click&#x27;&#160;package.</text><text class="terminal-1694544970-r1" x="976" y="142" textLength="12.2" clip-path="url(#terminal-1694544970-line-5)">
</text><text class="terminal-1694544970-r5" x="12.2" y="166.4" textLength="219.6" clip-path="url(#terminal-1694544970-line-6)">You&#160;can&#160;try&#160;using&#160;</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)">&#160;at&#160;the&#160;top&#160;level&#160;and&#160;also&#160;for&#160;specific&#160;group&#160;</text><text class="terminal-1694544970-r1" x="976" y="166.4" textLength="12.2" clip-path="url(#terminal-1694544970-line-6)">
</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)">
</text><text class="terminal-1694544970-r1" x="976" y="215.2" textLength="12.2" clip-path="url(#terminal-1694544970-line-8)">
</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)">&#160;Arguments&#160;</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)">
</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)">
</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)">
</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)">&#160;Options&#160;</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)">
</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)">&#160;&#160;Type&#160;of&#160;file&#160;to&#160;sync&#160;</text><text class="terminal-1694544970-r5" x="488" y="337.2" textLength="195.2" clip-path="url(#terminal-1694544970-line-13)">[default:&#160;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)">
</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)">&#160;&#160;Sync&#160;all&#160;the&#160;things?&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</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)">
</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)">&#160;&#160;Enable&#160;debug&#160;mode&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</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)">
</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)">&#160;&#160;Show&#160;this&#160;message&#160;and&#160;exit.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</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)">
</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)">
</text><text class="terminal-1694544970-r1" x="976" y="459.2" textLength="12.2" clip-path="url(#terminal-1694544970-line-18)">
</text>
    </g>
    </g>
</svg>