<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Bhaviraj</title>
    <description>The latest articles on DEV Community by Bhaviraj (@bhavi_raj).</description>
    <link>https://dev.to/bhavi_raj</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3935871%2F7ed82e0e-ddeb-4651-92e2-847535c17b6a.png</url>
      <title>DEV Community: Bhaviraj</title>
      <link>https://dev.to/bhavi_raj</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bhavi_raj"/>
    <language>en</language>
    <item>
      <title>I built a CLI tool that fixes the most annoying thing about the `touch` command</title>
      <dc:creator>Bhaviraj</dc:creator>
      <pubDate>Mon, 18 May 2026 04:29:32 +0000</pubDate>
      <link>https://dev.to/bhavi_raj/i-built-a-cli-tool-that-fixes-the-most-annoying-thing-about-the-touch-command-33c7</link>
      <guid>https://dev.to/bhavi_raj/i-built-a-cli-tool-that-fixes-the-most-annoying-thing-about-the-touch-command-33c7</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fle6k44wfwiia8fqw0ab8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fle6k44wfwiia8fqw0ab8.png" alt=" " width="800" height="439"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Every time I'm working on a NestJS (or any Node) project and try to create &lt;br&gt;
a deeply nested file:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;touch src/client/dto/create-client.dto.ts
# ❌ Error: no such file or directory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;I have to first mkdir -p the folders, then touch the file. Every. Single. Time.&lt;/p&gt;

&lt;p&gt;So I built nestfile — a tiny zero-dependency CLI that just works:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nestfile src/client/dto/create-client.dto.ts
# ✔ Created: src/client/dto/create-client.dto.ts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;It auto-creates any missing folders (like mkdir -p) and works on &lt;br&gt;
Windows, Mac &amp;amp; Linux.&lt;/p&gt;

&lt;p&gt;You can also create multiple files at once:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nestfile src/user/user.service.ts src/user/user.controller.ts src/user/dto/create-user.dto.ts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Install:&lt;br&gt;
    npm install -g nestfile&lt;/p&gt;

&lt;p&gt;It's tiny, zero dependencies, MIT licensed. Would love any feedback!&lt;/p&gt;

&lt;p&gt;npm: &lt;a href="https://www.npmjs.com/package/nestfile" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/nestfile&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cli</category>
      <category>productivity</category>
      <category>showdev</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
