14.9 KB
/srv/reproducible-results/rbuild-debian/r-b-build.51ovd4F9/b1/python-cloup_2.0.0.post1-2_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.51ovd4F9/b2/python-cloup_2.0.0.post1-2_armhf.changes
309 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·38392a4beb68bab63f2aee979b59e459·313072·doc·optional·python-cloup-doc_2.0.0.post1-2_all.deb1 ·f15701917422c65dd20606b0f89f8284·313064·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
367 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·····4160·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···308712·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="fdf96005-f5cb-4522-a693-1dcdd5d5016c"·name="edb15295-e77c-4208-8636-9362ac4f945e"·type="radio"> 
73 </input><label·class="tabbed-label"·for="fdf96005-f5cb-4522-a693-1dcdd5d5016c">72 <input·checked="checked"·id="4bd409fe-7266-48a8-aff9-7ea4e746ca85"·name="157ba5aa-070a-4622-a304-bf1fe3d810c9"·type="radio">
 73 </input><label·class="tabbed-label"·for="4bd409fe-7266-48a8-aff9-7ea4e746ca85">
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="d490c36b-8c64-4f26-9785-b703562bc56a"·name="edb15295-e77c-4208-8636-9362ac4f945e"·type="radio"> 
96 </input><label·class="tabbed-label"·for="d490c36b-8c64-4f26-9785-b703562bc56a">95 <input·id="a18aab34-754f-48eb-9aff-9af14f26d397"·name="157ba5aa-070a-4622-a304-bf1fe3d810c9"·type="radio">
 96 </input><label·class="tabbed-label"·for="a18aab34-754f-48eb-9aff-9af14f26d397">
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="c0095e2a-f9fa-4ef8-b0d1-9f7a90d6901e"·name="4f301130-94d0-4172-8dd1-6bb6975162d6"·type="radio"> 
290 </input><label·class="tabbed-label"·for="c0095e2a-f9fa-4ef8-b0d1-9f7a90d6901e">289 <input·checked="checked"·id="a85283df-50d3-4289-a02c-de54de69ba0e"·name="92a1abf0-f9ac-47eb-9772-6a6fd7d8cc80"·type="radio">
 290 </input><label·class="tabbed-label"·for="a85283df-50d3-4289-a02c-de54de69ba0e">
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="75743786-c2d3-4671-b6cb-159437118cd4"·name="4f301130-94d0-4172-8dd1-6bb6975162d6"·type="radio"> 
328 </input><label·class="tabbed-label"·for="75743786-c2d3-4671-b6cb-159437118cd4">327 <input·id="92a19456-581e-4d07-b714-b8d609b8dcd7"·name="92a1abf0-f9ac-47eb-9772-6a6fd7d8cc80"·type="radio">
 328 </input><label·class="tabbed-label"·for="92a19456-581e-4d07-b714-b8d609b8dcd7">
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="e482a43c-7c35-4f82-8f2d-1f50f9d62a51"·name="4f301130-94d0-4172-8dd1-6bb6975162d6"·type="radio"> 
370 </input><label·class="tabbed-label"·for="e482a43c-7c35-4f82-8f2d-1f50f9d62a51">369 <input·id="55e8d28b-bf25-4448-8c52-4253ba3d3aae"·name="92a1abf0-f9ac-47eb-9772-6a6fd7d8cc80"·type="radio">
 370 </input><label·class="tabbed-label"·for="55e8d28b-bf25-4448-8c52-4253ba3d3aae">
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="252f665a-bb5f-4451-aaf7-6ae8f7cb9534"·name="5b1cac25-8cc9-4f39-acf7-592ae999ed8b"·type="radio"> 
93 </input><label·class="tabbed-label"·for="252f665a-bb5f-4451-aaf7-6ae8f7cb9534">92 <input·checked="checked"·id="86d14c59-28c9-484b-97fa-7d8ce556b93a"·name="730b27c7-88c9-45dc-8453-a469b3d14fe8"·type="radio">
 93 </input><label·class="tabbed-label"·for="86d14c59-28c9-484b-97fa-7d8ce556b93a">
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="d7c9b395-db92-4bf7-8110-035253d9c246"·name="5b1cac25-8cc9-4f39-acf7-592ae999ed8b"·type="radio"> 
125 </input><label·class="tabbed-label"·for="d7c9b395-db92-4bf7-8110-035253d9c246">124 <input·id="8092c8f8-44fe-41b8-b0fb-8d530157c04f"·name="730b27c7-88c9-45dc-8453-a469b3d14fe8"·type="radio">
 125 </input><label·class="tabbed-label"·for="8092c8f8-44fe-41b8-b0fb-8d530157c04f">
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="7578a147-86e7-4596-8d6e-29bb3651ad97"·name="c0ee3fa1-091a-414c-bdb0-a72f4b63d751"·type="radio"> 
176 </input><label·class="tabbed-label"·for="7578a147-86e7-4596-8d6e-29bb3651ad97">175 <input·checked="checked"·id="29665939-a32e-4a00-9edc-35bc8fb56930"·name="3f70a824-d8c6-4498-8a25-099a0387deb7"·type="radio">
 176 </input><label·class="tabbed-label"·for="29665939-a32e-4a00-9edc-35bc8fb56930">
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="b87f9f16-1681-4041-b3f6-5b48814e60f4"·name="c0ee3fa1-091a-414c-bdb0-a72f4b63d751"·type="radio"> 
206 </input><label·class="tabbed-label"·for="b87f9f16-1681-4041-b3f6-5b48814e60f4">205 <input·id="9baae3cb-4fa4-428e-acd8-516885da2487"·name="3f70a824-d8c6-4498-8a25-099a0387deb7"·type="radio">
 206 </input><label·class="tabbed-label"·for="9baae3cb-4fa4-428e-acd8-516885da2487">
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="238b5694-3169-49e8-a2af-ef041fc09658"·name="0f186dd0-bd9d-4f0a-85ca-66978bd20e2d"·type="radio"> 
80 </input><label·class="tabbed-label"·for="238b5694-3169-49e8-a2af-ef041fc09658">79 <input·checked="checked"·id="51453f46-01fe-4ffa-a3fb-112142225f90"·name="c4fc86f0-d10f-4fd6-bf02-47972dd798bb"·type="radio">
 80 </input><label·class="tabbed-label"·for="51453f46-01fe-4ffa-a3fb-112142225f90">
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="318bca8d-4e89-4d28-ae8b-2b7a709e49ad"·name="0f186dd0-bd9d-4f0a-85ca-66978bd20e2d"·type="radio"> 
110 </input><label·class="tabbed-label"·for="318bca8d-4e89-4d28-ae8b-2b7a709e49ad">109 <input·id="442b23e5-f98b-454f-aa50-2ed730662bcb"·name="c4fc86f0-d10f-4fd6-bf02-47972dd798bb"·type="radio">
 110 </input><label·class="tabbed-label"·for="442b23e5-f98b-454f-aa50-2ed730662bcb">
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):