Deploying upstream@708d318b41f73c4e7004f914a7a838981f48ace2: Fix a broken link

This commit is contained in:
2026-01-19 17:06:33 -05:00
parent bbbf1e167d
commit 4c9c66b3cd
2 changed files with 3 additions and 3 deletions

View File

@@ -643,7 +643,7 @@ argv =>
<li>Using <a target="_blank" rel="noopener" href="https://github.com/akesterson/cmdarg?tab=readme-ov-file#helpers">helper functions</a> to control how arguments are described and how usage (<code>--help</code>) messages are constructed&#x2F;printed</li>
<li>Using <a target="_blank" rel="noopener" href="https://github.com/akesterson/cmdarg?tab=readme-ov-file#controlling-cmdargs-behavior-on-error">custom error handlers</a> to control what happens when the parser encounters an error in user input</li>
</ul>
<h2 id="Why-I-still-use-this-almost-two-decades-later"><a href="#Why-I-still-use-this-almost-two-decades-later" class="headerlink" title="Why I still use this almost two decades later"></a>Why I still use this almost two decades later</h2><p>A lot can change in 15 years. <a target="_blank" rel="noopener" href="https://github.com/akesterson">cmdarg</a> is not the only game in town anymore. So why am I still using something I wrote 15 years ago? Well obviously I know this one, because I wrote it, so thats an easy win. But also because, in 15 years, I have yet to find another library that meets all these requirements:</p>
<h2 id="Why-I-still-use-this-almost-two-decades-later"><a href="#Why-I-still-use-this-almost-two-decades-later" class="headerlink" title="Why I still use this almost two decades later"></a>Why I still use this almost two decades later</h2><p>A lot can change in 15 years. <a target="_blank" rel="noopener" href="https://github.com/akesterson/cmdarg/">cmdarg</a> is not the only game in town anymore. So why am I still using something I wrote 15 years ago? Well obviously I know this one, because I wrote it, so thats an easy win. But also because, in 15 years, I have yet to find another library that meets all these requirements:</p>
<ul>
<li>Written purely in bash. Some contemporaries <a target="_blank" rel="noopener" href="https://github.com/nhoffman/argparse-bash">actually call some other language like python behind your back</a>. Others <a target="_blank" rel="noopener" href="https://github.com/matejak/argbash/tree/master">rely on some complicated preprocessor</a> that compiles your script down into a new script.</li>
<li>Generate help messages that sufficiently document usage for the user, including all flags, optional vs required, array inputs, copyright, etc. Some contemporaries do this, but the formatting is kinda gross. Others simply omit it and still expect you to do it.</li>

View File

@@ -6,7 +6,7 @@
<link href="https://aklabs.net/atom.xml" rel="self"/>
<link href="https://aklabs.net/"/>
<updated>2026-01-19T22:05:14.836Z</updated>
<updated>2026-01-19T22:06:24.643Z</updated>
<id>https://aklabs.net/</id>
<author>
@@ -21,7 +21,7 @@
<link href="https://aklabs.net/2026/01/19/This-Old-Tool-cmdarg/"/>
<id>https://aklabs.net/2026/01/19/This-Old-Tool-cmdarg/</id>
<published>2026-01-19T19:37:26.000Z</published>
<updated>2026-01-19T22:05:14.836Z</updated>
<updated>2026-01-19T22:06:24.643Z</updated>