14.9 KB
/srv/reproducible-results/rbuild-debian/r-b-build.BfvP0Wx6/b1/python-cloup_2.0.0.post1-2_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.BfvP0Wx6/b2/python-cloup_2.0.0.post1-2_i386.changes
309 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·5057ac4db23af85c805d51c44b114a3c·313068·doc·optional·python-cloup-doc_2.0.0.post1-2_all.deb1 ·18c543da69fa973940d11647ab73df69·313072·doc·optional·python-cloup-doc_2.0.0.post1-2_all.deb
2 ·87f35eb33130c2541b0992be19c3093e·45964·python·optional·python3-cloup_2.0.0.post1-2_all.deb2 ·87f35eb33130c2541b0992be19c3093e·45964·python·optional·python3-cloup_2.0.0.post1-2_all.deb
14.4 KB
python-cloup-doc_2.0.0.post1-2_all.deb
370 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2022-12-08·12:18:30.000000·debian-binary1 -rw-r--r--···0········0········0········4·2022-12-08·12:18:30.000000·debian-binary
2 -rw-r--r--···0········0········0·····4156·2022-12-08·12:18:30.000000·control.tar.xz2 -rw-r--r--···0········0········0·····4160·2022-12-08·12:18:30.000000·control.tar.xz
3 -rw-r--r--···0········0········0···308720·2022-12-08·12:18:30.000000·data.tar.xz3 -rw-r--r--···0········0········0···308720·2022-12-08·12:18:30.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
13.8 KB
data.tar.xz
13.8 KB
data.tar
2.98 KB
./usr/share/doc/python-cloup-doc/html/pages/arguments.html
    
Offset 65, 16 lines modifiedOffset 65, 16 lines modified
65 to·them·by·name.</p>65 to·them·by·name.</p>
66 </div></blockquote>66 </div></blockquote>
67 <p>Cloup·doesn’t·force·the·Unix·convention·on·you.·<code·class="docutils·literal·notranslate"><span·class="pre">cloup.argument</span></code>·takes·an67 <p>Cloup·doesn’t·force·the·Unix·convention·on·you.·<code·class="docutils·literal·notranslate"><span·class="pre">cloup.argument</span></code>·takes·an
68 optional·<code·class="docutils·literal·notranslate"><span·class="pre">help</span></code>·parameter.·If·you·pass·a·non-empty·string·to·at·least·one·of68 optional·<code·class="docutils·literal·notranslate"><span·class="pre">help</span></code>·parameter.·If·you·pass·a·non-empty·string·to·at·least·one·of
69 the·arguments·of·a·command,·Cloup·will·print·a·“Positional·arguments”·section69 the·arguments·of·a·command,·Cloup·will·print·a·“Positional·arguments”·section
70 just·below·the·command·description.</p>70 just·below·the·command·description.</p>
71 <div·class="tabbed-set·docutils">71 <div·class="tabbed-set·docutils">
72 <input·checked="checked"·id="e352dca9-bf63-4eab-93ab-dc65300df96c"·name="e649f4f2-2066-4fa5-a52e-7e67e5f47fb2"·type="radio"> 
73 </input><label·class="tabbed-label"·for="e352dca9-bf63-4eab-93ab-dc65300df96c">72 <input·checked="checked"·id="f180335a-03b6-4b7d-a82f-204f12f1399d"·name="beddeaed-2916-4e4d-831c-4540f2f5c3a1"·type="radio">
 73 </input><label·class="tabbed-label"·for="f180335a-03b6-4b7d-a82f-204f12f1399d">
74 Code</label><div·class="tabbed-content·docutils">74 Code</label><div·class="tabbed-content·docutils">
75 <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">from</span>·<span·class="nn">pprint</span>·<span·class="kn">import</span>·<span·class="n">pprint</span>75 <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">from</span>·<span·class="nn">pprint</span>·<span·class="kn">import</span>·<span·class="n">pprint</span>
76 <span·class="kn">import</span>·<span·class="nn">cloup</span>76 <span·class="kn">import</span>·<span·class="nn">cloup</span>
77 <span·class="kn">from</span>·<span·class="nn">cloup</span>·<span·class="kn">import</span>·<span·class="n">option</span><span·class="p">,</span>·<span·class="n">option_group</span>77 <span·class="kn">from</span>·<span·class="nn">cloup</span>·<span·class="kn">import</span>·<span·class="n">option</span><span·class="p">,</span>·<span·class="n">option_group</span>
  
78 <span·class="nd">@cloup</span><span·class="o">.</span><span·class="n">command</span><span·class="p">()</span>78 <span·class="nd">@cloup</span><span·class="o">.</span><span·class="n">command</span><span·class="p">()</span>
79 <span·class="nd">@cloup</span><span·class="o">.</span><span·class="n">argument</span><span·class="p">(</span><span·class="s1">&#39;input_path&#39;</span><span·class="p">,</span>·<span·class="n">help</span><span·class="o">=</span><span·class="s2">&quot;Input·path&quot;</span><span·class="p">)</span>79 <span·class="nd">@cloup</span><span·class="o">.</span><span·class="n">argument</span><span·class="p">(</span><span·class="s1">&#39;input_path&#39;</span><span·class="p">,</span>·<span·class="n">help</span><span·class="o">=</span><span·class="s2">&quot;Input·path&quot;</span><span·class="p">)</span>
Offset 89, 16 lines modifiedOffset 89, 16 lines modified
89 <span·class="w">····</span><span·class="sd">&quot;&quot;&quot;A·test·program·for·cloup.&quot;&quot;&quot;</span>89 <span·class="w">····</span><span·class="sd">&quot;&quot;&quot;A·test·program·for·cloup.&quot;&quot;&quot;</span>
90 ····<span·class="n">pprint</span><span·class="p">(</span><span·class="n">kwargs</span><span·class="p">,</span>·<span·class="n">indent</span><span·class="o">=</span><span·class="mi">3</span><span·class="p">)</span>90 ····<span·class="n">pprint</span><span·class="p">(</span><span·class="n">kwargs</span><span·class="p">,</span>·<span·class="n">indent</span><span·class="o">=</span><span·class="mi">3</span><span·class="p">)</span>
  
91 <span·class="n">main</span><span·class="p">()</span>91 <span·class="n">main</span><span·class="p">()</span>
92 </pre></div>92 </pre></div>
93 </div>93 </div>
94 </div>94 </div>
95 <input·id="f57aca37-80da-49de-a6b4-a004c3c9d71f"·name="e649f4f2-2066-4fa5-a52e-7e67e5f47fb2"·type="radio"> 
96 </input><label·class="tabbed-label"·for="f57aca37-80da-49de-a6b4-a004c3c9d71f">95 <input·id="293f2cfe-48d6-4e2c-9dd2-b63bf60bea84"·name="beddeaed-2916-4e4d-831c-4540f2f5c3a1"·type="radio">
 96 </input><label·class="tabbed-label"·for="293f2cfe-48d6-4e2c-9dd2-b63bf60bea84">
97 Generated·help</label><div·class="tabbed-content·docutils">97 Generated·help</label><div·class="tabbed-content·docutils">
98 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·example·[OPTIONS]·INPUT_PATH·OUT_PATH98 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·example·[OPTIONS]·INPUT_PATH·OUT_PATH
  
99 ··A·test·program·for·cloup.99 ··A·test·program·for·cloup.
  
100 Positional·arguments:100 Positional·arguments:
101 ··INPUT_PATH······Input·path101 ··INPUT_PATH······Input·path
3.0 KB
./usr/share/doc/python-cloup-doc/html/pages/formatting.html
    
Offset 282, 16 lines modifiedOffset 282, 16 lines modified
282 <li><p>the·option·description·is·always·printed·below·the·option·name,·with·an·indentation282 <li><p>the·option·description·is·always·printed·below·the·option·name,·with·an·indentation
283 increment·of·at·least·3·spaces</p></li>283 increment·of·at·least·3·spaces</p></li>
284 <li><p>all·definitions·are·separated·by·an·empty·line.</p></li>284 <li><p>all·definitions·are·separated·by·an·empty·line.</p></li>
285 </ul>285 </ul>
286 <p>The·following·tabs·compare·the·<code·class="docutils·literal·notranslate"><span·class="pre">--help</span></code>·of·the·manim·example·(“aligned”·and286 <p>The·following·tabs·compare·the·<code·class="docutils·literal·notranslate"><span·class="pre">--help</span></code>·of·the·manim·example·(“aligned”·and
287 “non-aligned”·refer·to·the·<code·class="docutils·literal·notranslate"><span·class="pre">align_option_groups</span></code>·argument):</p>287 “non-aligned”·refer·to·the·<code·class="docutils·literal·notranslate"><span·class="pre">align_option_groups</span></code>·argument):</p>
288 <div·class="tabbed-set·docutils">288 <div·class="tabbed-set·docutils">
289 <input·checked="checked"·id="b47d4add-b0b8-41b8-a7c1-0eebc5593170"·name="52389e6b-c423-45fc-8f6c-5e3bfad655e7"·type="radio"> 
290 </input><label·class="tabbed-label"·for="b47d4add-b0b8-41b8-a7c1-0eebc5593170">289 <input·checked="checked"·id="049c7f70-9c66-42b2-92a3-37cf6788b39f"·name="0ae9f426-53ee-480e-abc8-121094c99c6d"·type="radio">
 290 </input><label·class="tabbed-label"·for="049c7f70-9c66-42b2-92a3-37cf6788b39f">
291 Linear·layout</label><div·class="tabbed-content·docutils">291 Linear·layout</label><div·class="tabbed-content·docutils">
292 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·manim·render·[OPTIONS]292 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·manim·render·[OPTIONS]
293 ····················SCRIPT_PATH293 ····················SCRIPT_PATH
294 ····················[SCENE_NAMES]...294 ····················[SCENE_NAMES]...
  
295 ··Render·some·or·all·scenes·defined·in·a·Python295 ··Render·some·or·all·scenes·defined·in·a·Python
296 ··script.296 ··script.
Offset 321, 16 lines modifiedOffset 321, 16 lines modified
321 ·····Verbosity·of·CLI·output.·Changes·ffmpeg321 ·····Verbosity·of·CLI·output.·Changes·ffmpeg
322 ·····log·level·unless·5+.322 ·····log·level·unless·5+.
  
323 [...]323 [...]
324 </pre></div>324 </pre></div>
325 </div>325 </div>
326 </div>326 </div>
327 <input·id="32ee8909-5870-4ce6-983e-74ae50dcc6c3"·name="52389e6b-c423-45fc-8f6c-5e3bfad655e7"·type="radio"> 
328 </input><label·class="tabbed-label"·for="32ee8909-5870-4ce6-983e-74ae50dcc6c3">327 <input·id="dfdec636-4292-435d-876a-f9566f477319"·name="0ae9f426-53ee-480e-abc8-121094c99c6d"·type="radio">
 328 </input><label·class="tabbed-label"·for="dfdec636-4292-435d-876a-f9566f477319">
329 Standard·layout·(aligned)</label><div·class="tabbed-content·docutils">329 Standard·layout·(aligned)</label><div·class="tabbed-content·docutils">
330 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·manim·render·[OPTIONS]330 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·manim·render·[OPTIONS]
331 ····················SCRIPT_PATH331 ····················SCRIPT_PATH
332 ····················[SCENE_NAMES]...332 ····················[SCENE_NAMES]...
  
333 ··Render·some·or·all·scenes·defined·in·a·Python333 ··Render·some·or·all·scenes·defined·in·a·Python
334 ··script.334 ··script.
Offset 363, 16 lines modifiedOffset 363, 16 lines modified
363 ······························ffmpeg·log·level363 ······························ffmpeg·log·level
364 ······························unless·5+.364 ······························unless·5+.
  
365 [...]365 [...]
366 </pre></div>366 </pre></div>
367 </div>367 </div>
368 </div>368 </div>
369 <input·id="07eebcf2-21e8-4f41-9454-f8c989cc3095"·name="52389e6b-c423-45fc-8f6c-5e3bfad655e7"·type="radio"> 
370 </input><label·class="tabbed-label"·for="07eebcf2-21e8-4f41-9454-f8c989cc3095">369 <input·id="91051086-1c5d-400d-b8c5-33de38073df6"·name="0ae9f426-53ee-480e-abc8-121094c99c6d"·type="radio">
 370 </input><label·class="tabbed-label"·for="91051086-1c5d-400d-b8c5-33de38073df6">
371 Standard·layout·(non-aligned)</label><div·class="tabbed-content·docutils">371 Standard·layout·(non-aligned)</label><div·class="tabbed-content·docutils">
372 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·manim·render·[OPTIONS]372 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·manim·render·[OPTIONS]
373 ····················SCRIPT_PATH373 ····················SCRIPT_PATH
374 ····················[SCENE_NAMES]...374 ····················[SCENE_NAMES]...
  
375 ··Render·some·or·all·scenes·defined·in·a·Python375 ··Render·some·or·all·scenes·defined·in·a·Python
376 ··script.376 ··script.
4.7 KB
./usr/share/doc/python-cloup-doc/html/pages/option-groups.html
    
Offset 85, 16 lines modifiedOffset 85, 16 lines modified
85 a·description·of·the·constraint·will·be·shown·between·squared·brackets85 a·description·of·the·constraint·will·be·shown·between·squared·brackets
86 aside·the·option·group·title·(or·below·it·if·too·long)</p></li>86 aside·the·option·group·title·(or·below·it·if·too·long)</p></li>
87 <li><p><strong>hidden</strong>·87 <li><p><strong>hidden</strong>·
88 if·True,·the·option·group·and·all·its·options·are·hidden·from·the·help·page88 if·True,·the·option·group·and·all·its·options·are·hidden·from·the·help·page
89 (all·contained·options·will·have·their·hidden·attribute·set·to·True).</p></li>89 (all·contained·options·will·have·their·hidden·attribute·set·to·True).</p></li>
90 </ul>90 </ul>
91 <div·class="tabbed-set·docutils">91 <div·class="tabbed-set·docutils">
92 <input·checked="checked"·id="84718ec6-9f4a-4b4c-a4c3-93174ca20cdc"·name="db6b33c4-cc50-4e7e-a84e-373403542953"·type="radio"> 
93 </input><label·class="tabbed-label"·for="84718ec6-9f4a-4b4c-a4c3-93174ca20cdc">92 <input·checked="checked"·id="e64e5488-01a0-4440-82c9-1e1299223e7b"·name="c6e00ab5-fc70-4b00-96fa-effd00840854"·type="radio">
 93 </input><label·class="tabbed-label"·for="e64e5488-01a0-4440-82c9-1e1299223e7b">
94 Code</label><div·class="tabbed-content·docutils">94 Code</label><div·class="tabbed-content·docutils">
95 <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">import</span>·<span·class="nn">cloup</span>95 <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">import</span>·<span·class="nn">cloup</span>
96 <span·class="kn">from</span>·<span·class="nn">cloup</span>·<span·class="kn">import</span>·<span·class="n">option_group</span><span·class="p">,</span>·<span·class="n">option</span>96 <span·class="kn">from</span>·<span·class="nn">cloup</span>·<span·class="kn">import</span>·<span·class="n">option_group</span><span·class="p">,</span>·<span·class="n">option</span>
97 <span·class="kn">from</span>·<span·class="nn">cloup.constraints</span>·<span·class="kn">import</span>·<span·class="n">RequireAtLeast</span>97 <span·class="kn">from</span>·<span·class="nn">cloup.constraints</span>·<span·class="kn">import</span>·<span·class="n">RequireAtLeast</span>
  
98 <span·class="nd">@cloup</span><span·class="o">.</span><span·class="n">command</span><span·class="p">()</span>98 <span·class="nd">@cloup</span><span·class="o">.</span><span·class="n">command</span><span·class="p">()</span>
99 <span·class="nd">@option_group</span><span·class="p">(</span>99 <span·class="nd">@option_group</span><span·class="p">(</span>
Offset 118, 16 lines modifiedOffset 118, 16 lines modified
118 <span·class="w">····</span><span·class="sd">&quot;&quot;&quot;·A·CLI·that·does·nothing.·&quot;&quot;&quot;</span>118 <span·class="w">····</span><span·class="sd">&quot;&quot;&quot;·A·CLI·that·does·nothing.·&quot;&quot;&quot;</span>
119 ····<span·class="nb">print</span><span·class="p">(</span><span·class="n">kwargs</span><span·class="p">)</span>119 ····<span·class="nb">print</span><span·class="p">(</span><span·class="n">kwargs</span><span·class="p">)</span>
  
120 <span·class="n">cli</span><span·class="p">()</span>120 <span·class="n">cli</span><span·class="p">()</span>
121 </pre></div>121 </pre></div>
122 </div>122 </div>
123 </div>123 </div>
124 <input·id="ab9f104e-432f-4e3e-861d-25686447b4b3"·name="db6b33c4-cc50-4e7e-a84e-373403542953"·type="radio"> 
125 </input><label·class="tabbed-label"·for="ab9f104e-432f-4e3e-861d-25686447b4b3">124 <input·id="aa037976-6098-402e-a164-b9cbf1f81daf"·name="c6e00ab5-fc70-4b00-96fa-effd00840854"·type="radio">
 125 </input><label·class="tabbed-label"·for="aa037976-6098-402e-a164-b9cbf1f81daf">
126 Generated·help</label><div·class="tabbed-content·docutils">126 Generated·help</label><div·class="tabbed-content·docutils">
127 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·clouptest·[OPTIONS]127 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·clouptest·[OPTIONS]
  
128 ··A·CLI·that·does·nothing.128 ··A·CLI·that·does·nothing.
  
129 Input·options:129 Input·options:
130 ··--one·TEXT··········1st·input·option130 ··--one·TEXT··········1st·input·option
Offset 168, 16 lines modifiedOffset 168, 16 lines modified
168 <p>By·default,·all·option·group·help·sections·are·<strong>aligned</strong>,·meaning·that·they168 <p>By·default,·all·option·group·help·sections·are·<strong>aligned</strong>,·meaning·that·they
169 share·the·same·column·widths.·Many·people·find·this·visually·pleasing·and·this169 share·the·same·column·widths.·Many·people·find·this·visually·pleasing·and·this
170 is·also·the·default·behavior·of·<code·class="docutils·literal·notranslate"><span·class="pre">argparse</span></code>.</p>170 is·also·the·default·behavior·of·<code·class="docutils·literal·notranslate"><span·class="pre">argparse</span></code>.</p>
171 <p>Nonetheless,·if·some·of·your·option·groups·have·shorter·options,·alignment·may171 <p>Nonetheless,·if·some·of·your·option·groups·have·shorter·options,·alignment·may
172 result·in·a·lot·of·wasted·space·and·definitions·quite·far·from·option·names,172 result·in·a·lot·of·wasted·space·and·definitions·quite·far·from·option·names,
173 which·is·bad·for·readability.·See·this·biased·example·to·compare·the·two·modes:</p>173 which·is·bad·for·readability.·See·this·biased·example·to·compare·the·two·modes:</p>
174 <div·class="tabbed-set·docutils">174 <div·class="tabbed-set·docutils">
175 <input·checked="checked"·id="07b55650-222e-4341-949c-6b5dc22c61be"·name="82fd96bc-bc20-42ec-8764-fb392abc6c27"·type="radio"> 
176 </input><label·class="tabbed-label"·for="07b55650-222e-4341-949c-6b5dc22c61be">175 <input·checked="checked"·id="3fff1ba0-f9d5-481b-9610-02582e1a94f0"·name="cf5c612e-f34b-4116-9afe-f11858474335"·type="radio">
 176 </input><label·class="tabbed-label"·for="3fff1ba0-f9d5-481b-9610-02582e1a94f0">
177 Aligned</label><div·class="tabbed-content·docutils">177 Aligned</label><div·class="tabbed-content·docutils">
178 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·clouptest·[OPTIONS]178 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·clouptest·[OPTIONS]
  
179 ··A·CLI·that·does·nothing.179 ··A·CLI·that·does·nothing.
  
180 Input·options:180 Input·options:
181 ··--one·TEXT···················This·description·is·more·likely·to·be·wrapped181 ··--one·TEXT···················This·description·is·more·likely·to·be·wrapped
Offset 198, 16 lines modifiedOffset 198, 16 lines modified
198 Other·options:198 Other·options:
199 ··--seven·[a|b|c|d|e|f|g|h|i]··First·uncategorized·option.199 ··--seven·[a|b|c|d|e|f|g|h|i]··First·uncategorized·option.
200 ··--height·TEXT················Second·uncategorized·option.200 ··--height·TEXT················Second·uncategorized·option.
201 ··--help·······················Show·this·message·and·exit.201 ··--help·······················Show·this·message·and·exit.
202 </pre></div>202 </pre></div>
203 </div>203 </div>
204 </div>204 </div>
205 <input·id="cd465fc1-588a-4256-9bbd-1374c1b569ed"·name="82fd96bc-bc20-42ec-8764-fb392abc6c27"·type="radio"> 
206 </input><label·class="tabbed-label"·for="cd465fc1-588a-4256-9bbd-1374c1b569ed">205 <input·id="b0da873c-f001-40b5-ba0f-d61d6c4a7570"·name="cf5c612e-f34b-4116-9afe-f11858474335"·type="radio">
 206 </input><label·class="tabbed-label"·for="b0da873c-f001-40b5-ba0f-d61d6c4a7570">
207 Non-aligned</label><div·class="tabbed-content·docutils">207 Non-aligned</label><div·class="tabbed-content·docutils">
208 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·clouptest·[OPTIONS]208 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·clouptest·[OPTIONS]
  
209 ··A·CLI·that·does·nothing.209 ··A·CLI·that·does·nothing.
  
210 Input·options:210 Input·options:
211 ··--one·TEXT····This·description·is·more·likely·to·be·wrapped·when·aligning.211 ··--one·TEXT····This·description·is·more·likely·to·be·wrapped·when·aligning.
3.11 KB
./usr/share/doc/python-cloup-doc/html/pages/sections.html
    
Offset 72, 16 lines modifiedOffset 72, 16 lines modified
72 <section·id="adding-full-sections">72 <section·id="adding-full-sections">
73 <h2>Adding·full·sections<a·class="headerlink"·href="#adding-full-sections"·title="Permalink·to·this·heading">¶</a></h2>73 <h2>Adding·full·sections<a·class="headerlink"·href="#adding-full-sections"·title="Permalink·to·this·heading">¶</a></h2>
74 <p>This·is·my·favourite·way·of·structuring·my·sections.74 <p>This·is·my·favourite·way·of·structuring·my·sections.
75 You·can·find·a·runnable·example·that·implements·part·of·the·help·of·Git75 You·can·find·a·runnable·example·that·implements·part·of·the·help·of·Git
76 <a·class="reference·external"·href="https://github.com/janLuke/cloup/blob/master/examples/git_sections.py">here</a>.76 <a·class="reference·external"·href="https://github.com/janLuke/cloup/blob/master/examples/git_sections.py">here</a>.
77 The·code·below·is·based·on·that·example.</p>77 The·code·below·is·based·on·that·example.</p>
78 <div·class="tabbed-set·docutils">78 <div·class="tabbed-set·docutils">
79 <input·checked="checked"·id="803b7d89-e921-4e00-ba7f-90f1016ee7b1"·name="05b435c0-1bda-467f-ac54-3d1efde610d5"·type="radio"> 
80 </input><label·class="tabbed-label"·for="803b7d89-e921-4e00-ba7f-90f1016ee7b1">79 <input·checked="checked"·id="b9d6356d-8994-475a-901a-022aec4bd109"·name="e2da8c59-5eb2-42a8-8ddc-34a35eb2afd3"·type="radio">
 80 </input><label·class="tabbed-label"·for="b9d6356d-8994-475a-901a-022aec4bd109">
81 Code</label><div·class="tabbed-content·docutils">81 Code</label><div·class="tabbed-content·docutils">
82 <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">import</span>·<span·class="nn">cloup</span>82 <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">import</span>·<span·class="nn">cloup</span>
83 <span·class="kn">from</span>·<span·class="nn">.commands</span>·<span·class="kn">import</span>·<span·class="p">(</span>··<span·class="c1">#·import·your·subcommands</span>83 <span·class="kn">from</span>·<span·class="nn">.commands</span>·<span·class="kn">import</span>·<span·class="p">(</span>··<span·class="c1">#·import·your·subcommands</span>
84 ····<span·class="n">git_clone</span><span·class="p">,</span>·<span·class="n">git_init</span><span·class="p">,</span>·<span·class="n">git_rm</span><span·class="p">,</span>·<span·class="n">git_sparse_checkout</span><span·class="p">,</span>·<span·class="n">git_mv</span><span·class="p">,</span>84 ····<span·class="n">git_clone</span><span·class="p">,</span>·<span·class="n">git_init</span><span·class="p">,</span>·<span·class="n">git_rm</span><span·class="p">,</span>·<span·class="n">git_sparse_checkout</span><span·class="p">,</span>·<span·class="n">git_mv</span><span·class="p">,</span>
85 ····<span·class="n">git_status</span><span·class="p">,</span>·<span·class="n">git_log</span><span·class="p">)</span>85 ····<span·class="n">git_status</span><span·class="p">,</span>·<span·class="n">git_log</span><span·class="p">)</span>
  
86 <span·class="nd">@cloup</span><span·class="o">.</span><span·class="n">group</span><span·class="p">(</span><span·class="s1">&#39;git&#39;</span><span·class="p">)</span>86 <span·class="nd">@cloup</span><span·class="o">.</span><span·class="n">group</span><span·class="p">(</span><span·class="s1">&#39;git&#39;</span><span·class="p">)</span>
Offset 102, 16 lines modifiedOffset 102, 16 lines modified
102 <span·class="c1">#·Subcommands·that·are·not·assigned·to·a·specific·section</span>102 <span·class="c1">#·Subcommands·that·are·not·assigned·to·a·specific·section</span>
103 <span·class="c1">#·populate·the·&quot;default·section&quot;</span>103 <span·class="c1">#·populate·the·&quot;default·section&quot;</span>
104 <span·class="n">git</span><span·class="o">.</span><span·class="n">add_command</span><span·class="p">(</span><span·class="n">git_status</span><span·class="p">)</span>104 <span·class="n">git</span><span·class="o">.</span><span·class="n">add_command</span><span·class="p">(</span><span·class="n">git_status</span><span·class="p">)</span>
105 <span·class="n">git</span><span·class="o">.</span><span·class="n">add_command</span><span·class="p">(</span><span·class="n">git_log</span><span·class="p">)</span>105 <span·class="n">git</span><span·class="o">.</span><span·class="n">add_command</span><span·class="p">(</span><span·class="n">git_log</span><span·class="p">)</span>
106 </pre></div>106 </pre></div>
107 </div>107 </div>
108 </div>108 </div>
109 <input·id="389b9f51-d8b5-4fb3-adcc-02770b43aa27"·name="05b435c0-1bda-467f-ac54-3d1efde610d5"·type="radio"> 
110 </input><label·class="tabbed-label"·for="389b9f51-d8b5-4fb3-adcc-02770b43aa27">109 <input·id="70686b0d-e41b-4244-afbb-2db7ec3d74ba"·name="e2da8c59-5eb2-42a8-8ddc-34a35eb2afd3"·type="radio">
 110 </input><label·class="tabbed-label"·for="70686b0d-e41b-4244-afbb-2db7ec3d74ba">
111 Generated·help</label><div·class="tabbed-content·docutils">111 Generated·help</label><div·class="tabbed-content·docutils">
112 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·git·[OPTIONS]·COMMAND·[ARGS]...112 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·git·[OPTIONS]·COMMAND·[ARGS]...
  
113 Options:113 Options:
114 ··--help··Show·this·message·and·exit.114 ··--help··Show·this·message·and·exit.
  
115 Start·a·working·area·(see·also:·git·help·tutorial):115 Start·a·working·area·(see·also:·git·help·tutorial):