<?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>Dev on 居其卜定 ｜ On the Fence</title>
    <link>https://blog.rbtreefence.xyz/tags/dev/</link>
    <description>Recent content in Dev on 居其卜定 ｜ On the Fence</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sun, 12 Apr 2026 13:09:40 -0700</lastBuildDate>
    <atom:link href="https://blog.rbtreefence.xyz/tags/dev/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CLI 迷思</title>
      <link>https://blog.rbtreefence.xyz/posts/2026-apr-cli-myth/</link>
      <pubDate>Sun, 12 Apr 2026 13:09:40 -0700</pubDate>
      <guid>https://blog.rbtreefence.xyz/posts/2026-apr-cli-myth/</guid>
      <description>&lt;p&gt;本文的出发点单纯是不爽拍脑袋的技术决策和AI FOMO的普遍心态，其中情绪化的表达仅代表个人观点。&lt;/p&gt;
&lt;h2 id=&#34;为什么是cli&#34;&gt;为什么是CLI&lt;/h2&gt;
&lt;p&gt;Command Line Interface，以前不懂计算机知识的我把他称为dos系统，大学以后不得不用nix系列以后才搞清楚了terminal，shell，console，tty之类的微妙区别。做了无聊的码农以后更是每天和iterm2打交道，除了编译，tmux那几个命令用的飞起，生怕断网休眠把一跑几十分钟的流程给断了。
而今因为各种code agent的出现，cli又来到了大众的前台。CLI成了ai原生界面的代名词。
好处当然是显而易见的：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;所见即所得的文字输入与输出&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--help&lt;/code&gt; 和 &lt;code&gt;man&lt;/code&gt; 解决自定义CLI程序的功能理解问题&lt;/li&gt;
&lt;li&gt;所有操作在一个界面内完成而不是调用系统，对信息安全顾虑解决得比较好&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Agent呼唤cli，产品（再次）拥抱cli，错过的公司因为落后封口遭到股市惩罚。你看到了G Suite cli，飞书cli，更不要提原本就支持的aws，azure之类。
CLI方便吗，当然方便！是不是所有产品都该做成CLI呢？&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
