<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Cli on Nicola Iarocci</title>
    <link>https://nicolaiarocci.com/tags/cli/</link>
    <description>Recent content in Cli on Nicola Iarocci</description>
    <generator>Hugo -- 0.143.1</generator>
    <language>en</language>
    <copyright>Produced / Written / Maintained by Nicola Iarocci since 2010</copyright>
    <lastBuildDate>Wed, 13 Apr 2022 07:05:25 +0100</lastBuildDate>
    <atom:link href="https://nicolaiarocci.com/tags/cli/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>If you know your user is asking for help show them the damn help</title>
      <link>https://nicolaiarocci.com/if-you-know-your-user-is-asking-for-help-show-them-the-damn-help/</link>
      <pubDate>Wed, 13 Apr 2022 07:05:25 +0100</pubDate>
      <guid>https://nicolaiarocci.com/if-you-know-your-user-is-asking-for-help-show-them-the-damn-help/</guid>
      <description>&lt;p&gt;One of my pet peeves has always been the many different, sometimes very
original ways in which CLI tools handle help requests. POSIX sets the canon:
&lt;code&gt;-h&lt;/code&gt; or &lt;code&gt;--help&lt;/code&gt; is how we ask for help. But no, some tools&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; want to be
original at the worst moment: when their users are struggling, looking for
guidance.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s somewhat consolatory to learn that I&amp;rsquo;m not alone in this fight. The other
day I landed on Clayton Craft&amp;rsquo;s blog. His [rant on the topic][2] splendidly
concludes with the following assessment:&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>One of my pet peeves has always been the many different, sometimes very
original ways in which CLI tools handle help requests. POSIX sets the canon:
<code>-h</code> or <code>--help</code> is how we ask for help. But no, some tools<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup> want to be
original at the worst moment: when their users are struggling, looking for
guidance.</p>
<p>It&rsquo;s somewhat consolatory to learn that I&rsquo;m not alone in this fight. The other
day I landed on Clayton Craft&rsquo;s blog. His [rant on the topic][2] splendidly
concludes with the following assessment:</p>
<blockquote>
<p>If you know your user is asking for help, show them the damn help. It serves
no one to chide them for not guessing the specific way your app wants them to
ask for help. Better yet, support a more &ldquo;common&rdquo; way to allow users to ask
for help if your app doesn&rsquo;t already.</p></blockquote>
<p>I agree wholeheartedly.</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>I&rsquo;m looking at you, NuGet.
[2]: <a href="https://blog.craftyguy.net/cmdline-help/">https://blog.craftyguy.net/cmdline-help/</a>
[rss]: <a href="https://nicolaiarocci.com/index.xml">https://nicolaiarocci.com/index.xml</a>
[tw]: <a href="http://twitter.com/nicolaiarocci">http://twitter.com/nicolaiarocci</a>
[nl]: <a href="https://buttondown.email/nicolaiarocci">https://buttondown.email/nicolaiarocci</a>&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>
]]></content:encoded>
    </item>
    <item>
      <title>Conquering the Command Line</title>
      <link>https://nicolaiarocci.com/conquering-the-command-line/</link>
      <pubDate>Sun, 12 Jan 2014 00:00:00 +0000</pubDate>
      <guid>https://nicolaiarocci.com/conquering-the-command-line/</guid>
      <description>&lt;p&gt;This is a very good ebook, and is free for reading online.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This book is for new developers, experienced developers, and everyone in between who wants to master Unix and Linux commands. This book was designed to showcase some of the most useful commands that a developer can know to help them in their daily tasks.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;via &lt;a href=&#34;http://conqueringthecommandline.com/book/frontmatter#preface&#34;&gt;Softcover | Conquering the Command Line&lt;/a&gt;.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>This is a very good ebook, and is free for reading online.</p>
<blockquote>
<p>This book is for new developers, experienced developers, and everyone in between who wants to master Unix and Linux commands. This book was designed to showcase some of the most useful commands that a developer can know to help them in their daily tasks.</p></blockquote>
<p>via <a href="http://conqueringthecommandline.com/book/frontmatter#preface">Softcover | Conquering the Command Line</a>.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
