14.9 KB
/srv/reproducible-results/rbuild-debian/r-b-build.dUhMx1g4/b1/python-cloup_3.0.5-1_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.dUhMx1g4/b2/python-cloup_3.0.5-1_i386.changes
291 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·fe6d6629518d1f8f0bb011be9d0b56b3·315680·doc·optional·python-cloup-doc_3.0.5-1_all.deb1 ·758d8fe297861192286eee7aebb54c68·315664·doc·optional·python-cloup-doc_3.0.5-1_all.deb
2 ·e04fc644559526a46d35263c0cbe39b9·47740·python·optional·python3-cloup_3.0.5-1_all.deb2 ·e04fc644559526a46d35263c0cbe39b9·47740·python·optional·python3-cloup_3.0.5-1_all.deb
14.4 KB
python-cloup-doc_3.0.5-1_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-03-07·15:02:47.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-03-07·15:02:47.000000·debian-binary
2 -rw-r--r--···0········0········0·····3728·2024-03-07·15:02:47.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3732·2024-03-07·15:02:47.000000·control.tar.xz
3 -rw-r--r--···0········0········0···311760·2024-03-07·15:02:47.000000·data.tar.xz3 -rw-r--r--···0········0········0···311740·2024-03-07·15:02:47.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 295, 16 lines modifiedOffset 295, 16 lines modified
295 to·them·by·name.</p>295 to·them·by·name.</p>
296 </div></blockquote>296 </div></blockquote>
297 <p>Cloup·doesn’t·force·the·Unix·convention·on·you.·<code·class="docutils·literal·notranslate"><span·class="pre">cloup.argument</span></code>·takes·an297 <p>Cloup·doesn’t·force·the·Unix·convention·on·you.·<code·class="docutils·literal·notranslate"><span·class="pre">cloup.argument</span></code>·takes·an
298 optional·<code·class="docutils·literal·notranslate"><span·class="pre">help</span></code>·parameter.·If·you·pass·a·non-empty·string·to·at·least·one·of298 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
299 the·arguments·of·a·command,·Cloup·will·print·a·“Positional·arguments”·section299 the·arguments·of·a·command,·Cloup·will·print·a·“Positional·arguments”·section
300 just·below·the·command·description.</p>300 just·below·the·command·description.</p>
301 <div·class="tabbed-set·docutils">301 <div·class="tabbed-set·docutils">
302 <input·checked="checked"·id="10811cea-1856-48ca-b019-5bfdcb125834"·name="1a45ee1a-8741-4259-8490-4d016254cd6b"·type="radio"> 
303 </input><label·class="tabbed-label"·for="10811cea-1856-48ca-b019-5bfdcb125834">302 <input·checked="checked"·id="eedc5fa5-11fc-413a-af89-26d0d3550d84"·name="13ad7587-4dee-426f-8d2e-6809a649ffe7"·type="radio">
 303 </input><label·class="tabbed-label"·for="eedc5fa5-11fc-413a-af89-26d0d3550d84">
304 Code</label><div·class="tabbed-content·docutils">304 Code</label><div·class="tabbed-content·docutils">
305 <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>305 <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>
306 <span·class="kn">import</span>·<span·class="nn">cloup</span>306 <span·class="kn">import</span>·<span·class="nn">cloup</span>
307 <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>307 <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>
  
308 <span·class="nd">@cloup</span><span·class="o">.</span><span·class="n">command</span><span·class="p">()</span>308 <span·class="nd">@cloup</span><span·class="o">.</span><span·class="n">command</span><span·class="p">()</span>
309 <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>309 <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 319, 16 lines modifiedOffset 319, 16 lines modified
319 <span·class="w">····</span><span·class="sd">&quot;&quot;&quot;A·test·program·for·cloup.&quot;&quot;&quot;</span>319 <span·class="w">····</span><span·class="sd">&quot;&quot;&quot;A·test·program·for·cloup.&quot;&quot;&quot;</span>
320 ····<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>320 ····<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>
  
321 <span·class="n">main</span><span·class="p">()</span>321 <span·class="n">main</span><span·class="p">()</span>
322 </pre></div>322 </pre></div>
323 </div>323 </div>
324 </div>324 </div>
325 <input·id="48b5e6fd-5b26-4af6-99e4-2c8a394d8ae7"·name="1a45ee1a-8741-4259-8490-4d016254cd6b"·type="radio"> 
326 </input><label·class="tabbed-label"·for="48b5e6fd-5b26-4af6-99e4-2c8a394d8ae7">325 <input·id="838dc6e9-4fda-4abc-b3d8-a654ada8fd0d"·name="13ad7587-4dee-426f-8d2e-6809a649ffe7"·type="radio">
 326 </input><label·class="tabbed-label"·for="838dc6e9-4fda-4abc-b3d8-a654ada8fd0d">
327 Generated·help</label><div·class="tabbed-content·docutils">327 Generated·help</label><div·class="tabbed-content·docutils">
328 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·example·[OPTIONS]·INPUT_PATH·OUT_PATH328 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·example·[OPTIONS]·INPUT_PATH·OUT_PATH
  
329 ··A·test·program·for·cloup.329 ··A·test·program·for·cloup.
  
330 Positional·arguments:330 Positional·arguments:
331 ··INPUT_PATH······Input·path331 ··INPUT_PATH······Input·path
3.0 KB
./usr/share/doc/python-cloup-doc/html/pages/formatting.html
    
Offset 516, 16 lines modifiedOffset 516, 16 lines modified
516 <li><p>the·option·description·is·always·printed·below·the·option·name,·with·an·indentation516 <li><p>the·option·description·is·always·printed·below·the·option·name,·with·an·indentation
517 increment·of·at·least·3·spaces</p></li>517 increment·of·at·least·3·spaces</p></li>
518 <li><p>all·definitions·are·separated·by·an·empty·line.</p></li>518 <li><p>all·definitions·are·separated·by·an·empty·line.</p></li>
519 </ul>519 </ul>
520 <p>The·following·tabs·compare·the·<code·class="docutils·literal·notranslate"><span·class="pre">--help</span></code>·of·the·manim·example·(“aligned”·and520 <p>The·following·tabs·compare·the·<code·class="docutils·literal·notranslate"><span·class="pre">--help</span></code>·of·the·manim·example·(“aligned”·and
521 “non-aligned”·refer·to·the·<code·class="docutils·literal·notranslate"><span·class="pre">align_option_groups</span></code>·argument):</p>521 “non-aligned”·refer·to·the·<code·class="docutils·literal·notranslate"><span·class="pre">align_option_groups</span></code>·argument):</p>
522 <div·class="tabbed-set·docutils">522 <div·class="tabbed-set·docutils">
523 <input·checked="checked"·id="36acb6aa-7899-412a-9354-97611b616aaf"·name="3b2e2696-5254-4ef0-b335-50090a9a955e"·type="radio"> 
524 </input><label·class="tabbed-label"·for="36acb6aa-7899-412a-9354-97611b616aaf">523 <input·checked="checked"·id="83dc965d-b7f2-4775-8123-0d149fd78828"·name="ef9832a1-496f-4899-9553-0b512bd3fe7e"·type="radio">
 524 </input><label·class="tabbed-label"·for="83dc965d-b7f2-4775-8123-0d149fd78828">
525 Linear·layout</label><div·class="tabbed-content·docutils">525 Linear·layout</label><div·class="tabbed-content·docutils">
526 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·manim·render·[OPTIONS]526 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·manim·render·[OPTIONS]
527 ····················SCRIPT_PATH527 ····················SCRIPT_PATH
528 ····················[SCENE_NAMES]...528 ····················[SCENE_NAMES]...
  
529 ··Render·some·or·all·scenes·defined·in·a·Python529 ··Render·some·or·all·scenes·defined·in·a·Python
530 ··script.530 ··script.
Offset 555, 16 lines modifiedOffset 555, 16 lines modified
555 ·····Verbosity·of·CLI·output.·Changes·ffmpeg555 ·····Verbosity·of·CLI·output.·Changes·ffmpeg
556 ·····log·level·unless·5+.556 ·····log·level·unless·5+.
  
557 [...]557 [...]
558 </pre></div>558 </pre></div>
559 </div>559 </div>
560 </div>560 </div>
561 <input·id="98cf6407-7cfc-4d00-8a30-1140983760d5"·name="3b2e2696-5254-4ef0-b335-50090a9a955e"·type="radio"> 
562 </input><label·class="tabbed-label"·for="98cf6407-7cfc-4d00-8a30-1140983760d5">561 <input·id="2d7d2d07-84e3-4620-8a40-745a565b4a76"·name="ef9832a1-496f-4899-9553-0b512bd3fe7e"·type="radio">
 562 </input><label·class="tabbed-label"·for="2d7d2d07-84e3-4620-8a40-745a565b4a76">
563 Standard·layout·(aligned)</label><div·class="tabbed-content·docutils">563 Standard·layout·(aligned)</label><div·class="tabbed-content·docutils">
564 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·manim·render·[OPTIONS]564 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·manim·render·[OPTIONS]
565 ····················SCRIPT_PATH565 ····················SCRIPT_PATH
566 ····················[SCENE_NAMES]...566 ····················[SCENE_NAMES]...
  
567 ··Render·some·or·all·scenes·defined·in·a·Python567 ··Render·some·or·all·scenes·defined·in·a·Python
568 ··script.568 ··script.
Offset 597, 16 lines modifiedOffset 597, 16 lines modified
597 ······························ffmpeg·log·level597 ······························ffmpeg·log·level
598 ······························unless·5+.598 ······························unless·5+.
  
599 [...]599 [...]
600 </pre></div>600 </pre></div>
601 </div>601 </div>
602 </div>602 </div>
603 <input·id="df529530-bd1c-4a82-af69-ec931999974f"·name="3b2e2696-5254-4ef0-b335-50090a9a955e"·type="radio"> 
604 </input><label·class="tabbed-label"·for="df529530-bd1c-4a82-af69-ec931999974f">603 <input·id="8fd722b1-c700-4179-8487-549f4defc5ac"·name="ef9832a1-496f-4899-9553-0b512bd3fe7e"·type="radio">
 604 </input><label·class="tabbed-label"·for="8fd722b1-c700-4179-8487-549f4defc5ac">
605 Standard·layout·(non-aligned)</label><div·class="tabbed-content·docutils">605 Standard·layout·(non-aligned)</label><div·class="tabbed-content·docutils">
606 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·manim·render·[OPTIONS]606 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·manim·render·[OPTIONS]
607 ····················SCRIPT_PATH607 ····················SCRIPT_PATH
608 ····················[SCENE_NAMES]...608 ····················[SCENE_NAMES]...
  
609 ··Render·some·or·all·scenes·defined·in·a·Python609 ··Render·some·or·all·scenes·defined·in·a·Python
610 ··script.610 ··script.
4.7 KB
./usr/share/doc/python-cloup-doc/html/pages/option-groups.html
    
Offset 315, 16 lines modifiedOffset 315, 16 lines modified
315 a·description·of·the·constraint·will·be·shown·between·squared·brackets315 a·description·of·the·constraint·will·be·shown·between·squared·brackets
316 aside·the·option·group·title·(or·below·it·if·too·long)</p></li>316 aside·the·option·group·title·(or·below·it·if·too·long)</p></li>
317 <li><p><strong>hidden</strong>·317 <li><p><strong>hidden</strong>·
318 if·True,·the·option·group·and·all·its·options·are·hidden·from·the·help·page318 if·True,·the·option·group·and·all·its·options·are·hidden·from·the·help·page
319 (all·contained·options·will·have·their·hidden·attribute·set·to·True).</p></li>319 (all·contained·options·will·have·their·hidden·attribute·set·to·True).</p></li>
320 </ul>320 </ul>
321 <div·class="tabbed-set·docutils">321 <div·class="tabbed-set·docutils">
322 <input·checked="checked"·id="06022dd3-33ae-4693-88b6-8109c02e4bba"·name="5cc29ac9-6fc9-432e-928d-9b18482a62b2"·type="radio"> 
323 </input><label·class="tabbed-label"·for="06022dd3-33ae-4693-88b6-8109c02e4bba">322 <input·checked="checked"·id="b450fe2a-7f34-4354-ae26-b9555ca68966"·name="14360b49-aa76-41fa-8c23-1f44fcc2493d"·type="radio">
 323 </input><label·class="tabbed-label"·for="b450fe2a-7f34-4354-ae26-b9555ca68966">
324 Code</label><div·class="tabbed-content·docutils">324 Code</label><div·class="tabbed-content·docutils">
325 <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">import</span>·<span·class="nn">cloup</span>325 <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">import</span>·<span·class="nn">cloup</span>
326 <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>326 <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>
327 <span·class="kn">from</span>·<span·class="nn">cloup.constraints</span>·<span·class="kn">import</span>·<span·class="n">RequireAtLeast</span>327 <span·class="kn">from</span>·<span·class="nn">cloup.constraints</span>·<span·class="kn">import</span>·<span·class="n">RequireAtLeast</span>
  
328 <span·class="nd">@cloup</span><span·class="o">.</span><span·class="n">command</span><span·class="p">()</span>328 <span·class="nd">@cloup</span><span·class="o">.</span><span·class="n">command</span><span·class="p">()</span>
329 <span·class="nd">@option_group</span><span·class="p">(</span>329 <span·class="nd">@option_group</span><span·class="p">(</span>
Offset 348, 16 lines modifiedOffset 348, 16 lines modified
348 <span·class="w">····</span><span·class="sd">&quot;&quot;&quot;A·CLI·that·does·nothing.&quot;&quot;&quot;</span>348 <span·class="w">····</span><span·class="sd">&quot;&quot;&quot;A·CLI·that·does·nothing.&quot;&quot;&quot;</span>
349 ····<span·class="nb">print</span><span·class="p">(</span><span·class="n">kwargs</span><span·class="p">)</span>349 ····<span·class="nb">print</span><span·class="p">(</span><span·class="n">kwargs</span><span·class="p">)</span>
  
350 <span·class="n">cli</span><span·class="p">()</span>350 <span·class="n">cli</span><span·class="p">()</span>
351 </pre></div>351 </pre></div>
352 </div>352 </div>
353 </div>353 </div>
354 <input·id="c8fd00d3-0c6a-443b-af8f-7c409af45674"·name="5cc29ac9-6fc9-432e-928d-9b18482a62b2"·type="radio"> 
355 </input><label·class="tabbed-label"·for="c8fd00d3-0c6a-443b-af8f-7c409af45674">354 <input·id="27fedb76-1cd4-4244-9e77-1d229382d462"·name="14360b49-aa76-41fa-8c23-1f44fcc2493d"·type="radio">
 355 </input><label·class="tabbed-label"·for="27fedb76-1cd4-4244-9e77-1d229382d462">
356 Generated·help</label><div·class="tabbed-content·docutils">356 Generated·help</label><div·class="tabbed-content·docutils">
357 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·clouptest·[OPTIONS]357 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·clouptest·[OPTIONS]
  
358 ··A·CLI·that·does·nothing.358 ··A·CLI·that·does·nothing.
  
359 Input·options:359 Input·options:
360 ··--one·TEXT··········1st·input·option360 ··--one·TEXT··········1st·input·option
Offset 398, 16 lines modifiedOffset 398, 16 lines modified
398 <p>By·default,·all·option·group·help·sections·are·<strong>aligned</strong>,·meaning·that·they398 <p>By·default,·all·option·group·help·sections·are·<strong>aligned</strong>,·meaning·that·they
399 share·the·same·column·widths.·Many·people·find·this·visually·pleasing·and·this399 share·the·same·column·widths.·Many·people·find·this·visually·pleasing·and·this
400 is·also·the·default·behavior·of·<code·class="docutils·literal·notranslate"><span·class="pre">argparse</span></code>.</p>400 is·also·the·default·behavior·of·<code·class="docutils·literal·notranslate"><span·class="pre">argparse</span></code>.</p>
401 <p>Nonetheless,·if·some·of·your·option·groups·have·shorter·options,·alignment·may401 <p>Nonetheless,·if·some·of·your·option·groups·have·shorter·options,·alignment·may
402 result·in·a·lot·of·wasted·space·and·definitions·quite·far·from·option·names,402 result·in·a·lot·of·wasted·space·and·definitions·quite·far·from·option·names,
403 which·is·bad·for·readability.·See·this·biased·example·to·compare·the·two·modes:</p>403 which·is·bad·for·readability.·See·this·biased·example·to·compare·the·two·modes:</p>
404 <div·class="tabbed-set·docutils">404 <div·class="tabbed-set·docutils">
405 <input·checked="checked"·id="7227d808-9d09-4c6c-8c99-4c096700ef64"·name="d64721b5-9f5e-40c5-8f8e-a5b99f44418c"·type="radio"> 
406 </input><label·class="tabbed-label"·for="7227d808-9d09-4c6c-8c99-4c096700ef64">405 <input·checked="checked"·id="fd291bcc-5553-4718-9bba-8a1004c306ef"·name="fd7333e0-8c58-43e2-b2ee-3f2f1d9d41a5"·type="radio">
 406 </input><label·class="tabbed-label"·for="fd291bcc-5553-4718-9bba-8a1004c306ef">
407 Aligned</label><div·class="tabbed-content·docutils">407 Aligned</label><div·class="tabbed-content·docutils">
408 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·clouptest·[OPTIONS]408 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·clouptest·[OPTIONS]
  
409 ··A·CLI·that·does·nothing.409 ··A·CLI·that·does·nothing.
  
410 Input·options:410 Input·options:
411 ··--one·TEXT···················This·description·is·more·likely·to·be·wrapped411 ··--one·TEXT···················This·description·is·more·likely·to·be·wrapped
Offset 428, 16 lines modifiedOffset 428, 16 lines modified
428 Other·options:428 Other·options:
429 ··--seven·[a|b|c|d|e|f|g|h|i]··First·uncategorized·option.429 ··--seven·[a|b|c|d|e|f|g|h|i]··First·uncategorized·option.
430 ··--height·TEXT················Second·uncategorized·option.430 ··--height·TEXT················Second·uncategorized·option.
431 ··--help·······················Show·this·message·and·exit.431 ··--help·······················Show·this·message·and·exit.
432 </pre></div>432 </pre></div>
433 </div>433 </div>
434 </div>434 </div>
435 <input·id="a57cdfa3-c528-458f-ac1b-5a61972ca4fc"·name="d64721b5-9f5e-40c5-8f8e-a5b99f44418c"·type="radio"> 
436 </input><label·class="tabbed-label"·for="a57cdfa3-c528-458f-ac1b-5a61972ca4fc">435 <input·id="9744e748-81f3-4fa1-bc43-84f3a4e52e9c"·name="fd7333e0-8c58-43e2-b2ee-3f2f1d9d41a5"·type="radio">
 436 </input><label·class="tabbed-label"·for="9744e748-81f3-4fa1-bc43-84f3a4e52e9c">
437 Non-aligned</label><div·class="tabbed-content·docutils">437 Non-aligned</label><div·class="tabbed-content·docutils">
438 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·clouptest·[OPTIONS]438 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·clouptest·[OPTIONS]
  
439 ··A·CLI·that·does·nothing.439 ··A·CLI·that·does·nothing.
  
440 Input·options:440 Input·options:
441 ··--one·TEXT····This·description·is·more·likely·to·be·wrapped·when·aligning.441 ··--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 302, 16 lines modifiedOffset 302, 16 lines modified
302 <section·id="adding-full-sections">302 <section·id="adding-full-sections">
303 <h2>Adding·full·sections<a·class="headerlink"·href="#adding-full-sections"·title="Link·to·this·heading">¶</a></h2>303 <h2>Adding·full·sections<a·class="headerlink"·href="#adding-full-sections"·title="Link·to·this·heading">¶</a></h2>
304 <p>This·is·my·favourite·way·of·structuring·my·sections.304 <p>This·is·my·favourite·way·of·structuring·my·sections.
305 You·can·find·a·runnable·example·that·implements·part·of·the·help·of·Git305 You·can·find·a·runnable·example·that·implements·part·of·the·help·of·Git
306 <a·class="reference·external"·href="https://github.com/janLuke/cloup/blob/master/examples/git_sections.py">here</a>.306 <a·class="reference·external"·href="https://github.com/janLuke/cloup/blob/master/examples/git_sections.py">here</a>.
307 The·code·below·is·based·on·that·example.</p>307 The·code·below·is·based·on·that·example.</p>
308 <div·class="tabbed-set·docutils">308 <div·class="tabbed-set·docutils">
309 <input·checked="checked"·id="29f82f96-7a0c-4de8-86f8-c6c3a00c0ab2"·name="297a190f-28cc-4dc9-8816-34a955e3e2c3"·type="radio"> 
310 </input><label·class="tabbed-label"·for="29f82f96-7a0c-4de8-86f8-c6c3a00c0ab2">309 <input·checked="checked"·id="8bf8ade9-2e19-407c-bea0-c3994abac061"·name="fa700298-c68a-4bdb-89d8-871060de095d"·type="radio">
 310 </input><label·class="tabbed-label"·for="8bf8ade9-2e19-407c-bea0-c3994abac061">
311 Code</label><div·class="tabbed-content·docutils">311 Code</label><div·class="tabbed-content·docutils">
312 <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">import</span>·<span·class="nn">cloup</span>312 <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">import</span>·<span·class="nn">cloup</span>
313 <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>313 <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>
314 ····<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>314 ····<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>
315 ····<span·class="n">git_status</span><span·class="p">,</span>·<span·class="n">git_log</span><span·class="p">)</span>315 ····<span·class="n">git_status</span><span·class="p">,</span>·<span·class="n">git_log</span><span·class="p">)</span>
  
316 <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>316 <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 332, 16 lines modifiedOffset 332, 16 lines modified
332 <span·class="c1">#·Subcommands·that·are·not·assigned·to·a·specific·section</span>332 <span·class="c1">#·Subcommands·that·are·not·assigned·to·a·specific·section</span>
333 <span·class="c1">#·populate·the·&quot;default·section&quot;</span>333 <span·class="c1">#·populate·the·&quot;default·section&quot;</span>
334 <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>334 <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>
335 <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>335 <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>
336 </pre></div>336 </pre></div>
337 </div>337 </div>
338 </div>338 </div>
339 <input·id="b9b331ce-c99c-42e9-85dc-5dca46c4b949"·name="297a190f-28cc-4dc9-8816-34a955e3e2c3"·type="radio"> 
340 </input><label·class="tabbed-label"·for="b9b331ce-c99c-42e9-85dc-5dca46c4b949">339 <input·id="5d2b15d6-9d5e-40b5-a4f3-0786cfa4f63f"·name="fa700298-c68a-4bdb-89d8-871060de095d"·type="radio">
 340 </input><label·class="tabbed-label"·for="5d2b15d6-9d5e-40b5-a4f3-0786cfa4f63f">
341 Generated·help</label><div·class="tabbed-content·docutils">341 Generated·help</label><div·class="tabbed-content·docutils">
342 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·git·[OPTIONS]·COMMAND·[ARGS]...342 <div·class="highlight-none·notranslate"><div·class="highlight"><pre><span></span>Usage:·git·[OPTIONS]·COMMAND·[ARGS]...
  
343 Options:343 Options:
344 ··--help··Show·this·message·and·exit.344 ··--help··Show·this·message·and·exit.
  
345 Start·a·working·area·(see·also:·git·help·tutorial):345 Start·a·working·area·(see·also:·git·help·tutorial):