14.9 KB
/srv/reproducible-results/rbuild-debian/r-b-build.jAIly1Om/b1/python-cloup_2.0.0.post1-2_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.jAIly1Om/b2/python-cloup_2.0.0.post1-2_arm64.changes
309 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·22fff872af5ac18b3112ace5e8e1bfba·313052·doc·optional·python-cloup-doc_2.0.0.post1-2_all.deb1 ·778a74baf19a6a97463e1b615b0243db·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
452 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···308704·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="4b44d47f-ab45-49fe-b36f-02a22db3feda"·name="2997b481-b660-429f-bfe1-f85154b098c1"·type="radio"> 
73 </input><label·class="tabbed-label"·for="4b44d47f-ab45-49fe-b36f-02a22db3feda">72 <input·checked="checked"·id="47017a5f-c455-4aad-8a85-145ba0146bd5"·name="6f8015bf-0506-452f-9574-4284c11f3afb"·type="radio">
 73 </input><label·class="tabbed-label"·for="47017a5f-c455-4aad-8a85-145ba0146bd5">
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="0db57606-a26a-438d-ac9a-44dc42867e32"·name="2997b481-b660-429f-bfe1-f85154b098c1"·type="radio"> 
96 </input><label·class="tabbed-label"·for="0db57606-a26a-438d-ac9a-44dc42867e32">95 <input·id="d93c7a31-705c-409c-b6eb-a6405a062577"·name="6f8015bf-0506-452f-9574-4284c11f3afb"·type="radio">
 96 </input><label·class="tabbed-label"·for="d93c7a31-705c-409c-b6eb-a6405a062577">
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="3b2e4a92-196e-44c6-9de3-097d3dd31d7d"·name="b19a45aa-5465-4e03-b178-0063a7e9a131"·type="radio"> 
290 </input><label·class="tabbed-label"·for="3b2e4a92-196e-44c6-9de3-097d3dd31d7d">289 <input·checked="checked"·id="eb6c0a67-561a-4434-adf6-af796370cd83"·name="321f20c8-8762-4c34-8100-ec3a0282dd55"·type="radio">
 290 </input><label·class="tabbed-label"·for="eb6c0a67-561a-4434-adf6-af796370cd83">
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="5c39e978-0ce2-4b1c-94bd-caeee9d9f93e"·name="b19a45aa-5465-4e03-b178-0063a7e9a131"·type="radio"> 
328 </input><label·class="tabbed-label"·for="5c39e978-0ce2-4b1c-94bd-caeee9d9f93e">327 <input·id="0070c786-84c7-44bd-948f-4e2ddb56637f"·name="321f20c8-8762-4c34-8100-ec3a0282dd55"·type="radio">
 328 </input><label·class="tabbed-label"·for="0070c786-84c7-44bd-948f-4e2ddb56637f">
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="2084b563-6b7d-4027-83e2-c13899178118"·name="b19a45aa-5465-4e03-b178-0063a7e9a131"·type="radio"> 
370 </input><label·class="tabbed-label"·for="2084b563-6b7d-4027-83e2-c13899178118">369 <input·id="e811c51b-5b94-4aed-a535-bdac75339188"·name="321f20c8-8762-4c34-8100-ec3a0282dd55"·type="radio">
 370 </input><label·class="tabbed-label"·for="e811c51b-5b94-4aed-a535-bdac75339188">
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="8d6914c1-8a94-4362-a76f-00635405a8c6"·name="4b28e72b-7b3f-4e61-a994-5883217dd182"·type="radio"> 
93 </input><label·class="tabbed-label"·for="8d6914c1-8a94-4362-a76f-00635405a8c6">92 <input·checked="checked"·id="0082b0b9-2682-429a-8f07-54658f3dec64"·name="1f23206f-965c-4597-b924-99f5932758d7"·type="radio">
 93 </input><label·class="tabbed-label"·for="0082b0b9-2682-429a-8f07-54658f3dec64">
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="38f6a9fa-eb4d-4dbe-8cd9-720aafc245f5"·name="4b28e72b-7b3f-4e61-a994-5883217dd182"·type="radio"> 
125 </input><label·class="tabbed-label"·for="38f6a9fa-eb4d-4dbe-8cd9-720aafc245f5">124 <input·id="086105f4-e629-4fd0-8fb5-42c61ace3dc1"·name="1f23206f-965c-4597-b924-99f5932758d7"·type="radio">
 125 </input><label·class="tabbed-label"·for="086105f4-e629-4fd0-8fb5-42c61ace3dc1">
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="8ca5da30-6dcc-40d7-8bad-5d84dc045151"·name="4cb53e66-0916-4e83-ae6b-e012b35e68be"·type="radio"> 
176 </input><label·class="tabbed-label"·for="8ca5da30-6dcc-40d7-8bad-5d84dc045151">175 <input·checked="checked"·id="2e7aa62d-a394-4b12-a630-3a876fc16a14"·name="2353ae9f-dcef-414b-aa04-867084a57878"·type="radio">
 176 </input><label·class="tabbed-label"·for="2e7aa62d-a394-4b12-a630-3a876fc16a14">
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="fffa16b8-3694-4ada-a8b1-9ae70ee72f21"·name="4cb53e66-0916-4e83-ae6b-e012b35e68be"·type="radio"> 
206 </input><label·class="tabbed-label"·for="fffa16b8-3694-4ada-a8b1-9ae70ee72f21">205 <input·id="389d9cfb-d3f6-4589-853f-c44b52c22ca8"·name="2353ae9f-dcef-414b-aa04-867084a57878"·type="radio">
 206 </input><label·class="tabbed-label"·for="389d9cfb-d3f6-4589-853f-c44b52c22ca8">
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="d4bfbb86-d32d-4a31-a8b3-9c835c64a62d"·name="99c2d14b-22d1-41b9-a04b-7e14e6717475"·type="radio"> 
80 </input><label·class="tabbed-label"·for="d4bfbb86-d32d-4a31-a8b3-9c835c64a62d">79 <input·checked="checked"·id="761d7ba9-c924-4875-9de9-b9a1e4634a73"·name="188f998c-88b5-400f-b5d3-c858354024b2"·type="radio">
 80 </input><label·class="tabbed-label"·for="761d7ba9-c924-4875-9de9-b9a1e4634a73">
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="6f2a07b9-c272-4860-97d6-e168f9e7c5ad"·name="99c2d14b-22d1-41b9-a04b-7e14e6717475"·type="radio"> 
110 </input><label·class="tabbed-label"·for="6f2a07b9-c272-4860-97d6-e168f9e7c5ad">109 <input·id="b6e681a7-3c0c-4174-bff8-58d01a130856"·name="188f998c-88b5-400f-b5d3-c858354024b2"·type="radio">
 110 </input><label·class="tabbed-label"·for="b6e681a7-3c0c-4174-bff8-58d01a130856">
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):