<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CLI on Nalar</title>
    <link>https://nalar.dev/tags/cli/</link>
    <description>Recent content in CLI on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 09 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/cli/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Build Friendlier CLIs with Python 3.14 argparse Suggestions and Color</title>
      <link>https://nalar.dev/build-friendlier-clis-with-argparse-suggestions-and-color/</link>
      <pubDate>Wed, 09 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/build-friendlier-clis-with-argparse-suggestions-and-color/</guid>
      <description>&lt;p&gt;Command-line interfaces have an unusual usability constraint: when something goes wrong, the user is often staring at a terminal with no other interface to guide them.&lt;/p&gt;&#xA;&lt;p&gt;That makes small details matter. A typo in a subcommand should ideally produce a useful correction. Help output should be easy to scan interactively without becoming noisy when captured by scripts or logs.&lt;/p&gt;&#xA;&lt;p&gt;Python 3.14 adds two &lt;code&gt;argparse.ArgumentParser&lt;/code&gt; options aimed directly at those details: &lt;code&gt;suggest_on_error&lt;/code&gt; and &lt;code&gt;color&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
