Skip to content

Commit

Permalink
deploy: c4db493
Browse files Browse the repository at this point in the history
  • Loading branch information
c-blake committed Oct 28, 2024
1 parent fbe8f52 commit ff55ac4
Show file tree
Hide file tree
Showing 35 changed files with 131 additions and 121 deletions.
2 changes: 1 addition & 1 deletion all.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h1><a class="toc-backref" href="#6">Imports</a></h1>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-10-28 13:06:30 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-10-28 20:25:25 UTC</small>
</div>
</div>
</div>
Expand Down
16 changes: 11 additions & 5 deletions cligen.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ <h1 class="title">cligen</h1>
render*: proc (s: string): string ## string-&gt;string help transformer
widthEnv*: string ## name of environment var for width override
sigPIPE*: ClSIGPIPE ## `dispatch` use allows end-user SIGPIPE ctrl
minStrQuoting*: bool ## Only quote string defaults when necessary">ClCfg</a></li>
minStrQuoting*: bool ## Only quote string defaults when necessary
trueDefault*: string ## How to render a default value of &quot;true&quot;
falseDefault*: string ## How to render a default value of &quot;false&quot;">ClCfg</a></li>
<li><a class="reference" href="#ClHelpCol" title="ClHelpCol = enum
clOptKeys, clValType, clDflVal, clDescrip">ClHelpCol</a></li>
<li><a class="reference" href="#ClParse" title="ClParse = tuple[paramName: string, ## Parse status for param
Expand Down Expand Up @@ -123,7 +125,8 @@ <h1 class="title">cligen</h1>
'&gt;', '?'}, longPfxOk: true, stopPfxOk: true, hTabSuppress: &quot;CLIGEN-NOHELP&quot;,
helpAttr: initTable(32), helpAttrOff: initTable(32),
helpSyntax: syntaxHelp, render: descape, widthEnv: &quot;CLIGEN_WIDTH&quot;,
sigPIPE: spIsOk)">clCfg</a></li>
sigPIPE: spIsOk, minStrQuoting: false, trueDefault: &quot;true&quot;,
falseDefault: &quot;false&quot;)">clCfg</a></li>

</ul>
</details>
Expand Down Expand Up @@ -409,7 +412,9 @@ <h1><a class="toc-backref" href="#7">Types</a></h1>
<span class="Identifier">render</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> <span class="Comment">## string-&gt;string help transformer</span>
<span class="Identifier">widthEnv</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span> <span class="Comment">## name of environment var for width override</span>
<span class="Identifier">sigPIPE</span><span class="Operator">*</span><span class="Other">:</span> <a href="cligen.html#ClSIGPIPE"><span class="Identifier">ClSIGPIPE</span></a> <span class="Comment">## `dispatch` use allows end-user SIGPIPE ctrl</span>
<span class="Identifier">minStrQuoting</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Comment">## Only quote string defaults when necessary</span></pre></dt>
<span class="Identifier">minStrQuoting</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Comment">## Only quote string defaults when necessary</span>
<span class="Identifier">trueDefault</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span> <span class="Comment">## How to render a default value of &quot;true&quot;</span>
<span class="Identifier">falseDefault</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">string</span> <span class="Comment">## How to render a default value of &quot;false&quot;</span></pre></dt>
<dd>

Settings tending to be program- or CLI-author-global
Expand Down Expand Up @@ -517,7 +522,8 @@ <h1><a class="toc-backref" href="#8">Vars</a></h1>
<span class="CharLit">'&gt;'</span><span class="Other">,</span> <span class="CharLit">'?'</span><span class="Other">}</span><span class="Other">,</span> <span class="Identifier">longPfxOk</span><span class="Other">:</span> <span class="Identifier">true</span><span class="Other">,</span> <span class="Identifier">stopPfxOk</span><span class="Other">:</span> <span class="Identifier">true</span><span class="Other">,</span> <span class="Identifier">hTabSuppress</span><span class="Other">:</span> <span class="StringLit">&quot;CLIGEN-NOHELP&quot;</span><span class="Other">,</span>
<span class="Identifier">helpAttr</span><span class="Other">:</span> <span class="Identifier">initTable</span><span class="Other">(</span><span class="DecNumber">32</span><span class="Other">)</span><span class="Other">,</span> <span class="Identifier">helpAttrOff</span><span class="Other">:</span> <span class="Identifier">initTable</span><span class="Other">(</span><span class="DecNumber">32</span><span class="Other">)</span><span class="Other">,</span>
<span class="Identifier">helpSyntax</span><span class="Other">:</span> <span class="Identifier">syntaxHelp</span><span class="Other">,</span> <span class="Identifier">render</span><span class="Other">:</span> <span class="Identifier">descape</span><span class="Other">,</span> <span class="Identifier">widthEnv</span><span class="Other">:</span> <span class="StringLit">&quot;CLIGEN_WIDTH&quot;</span><span class="Other">,</span>
<span class="Identifier">sigPIPE</span><span class="Other">:</span> <span class="Identifier">spIsOk</span><span class="Other">)</span></pre></dt>
<span class="Identifier">sigPIPE</span><span class="Other">:</span> <span class="Identifier">spIsOk</span><span class="Other">,</span> <span class="Identifier">minStrQuoting</span><span class="Other">:</span> <span class="Identifier">false</span><span class="Other">,</span> <span class="Identifier">trueDefault</span><span class="Other">:</span> <span class="StringLit">&quot;true&quot;</span><span class="Other">,</span>
<span class="Identifier">falseDefault</span><span class="Other">:</span> <span class="StringLit">&quot;false&quot;</span><span class="Other">)</span></pre></dt>
<dd>


Expand Down Expand Up @@ -1029,7 +1035,7 @@ <h1><a class="toc-backref" href="#18">Templates</a></h1>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-10-28 13:06:30 UTC</small>
<small style="color: var(--hint);">Made with Nim. Generated: 2024-10-28 20:25:24 UTC</small>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit ff55ac4

Please sign in to comment.