DEV Community

Dev For
Dev For

Posted on

I built a landing page for my CLI tool! and used the CLI tool itself to manage the workspace

I built a landing page for my own CLI tool, and I ended up using the CLI itself to keep everything organized. Felt worth sharing.

Last week I made Progflow, a workspace manager for Linux and Termux. You give it a project and it opens your editor, opens URLs, sets environment variables, all in one command. I'd been using it for my other stuff but hadn't really put it through its paces on a single focused project. Last week I decided to make a simple site for the tool, so I dogfooded it.

I opened a terminal, created a flow called "site" with progflow new site. I told it the directory, set nvim as my editor, added the GitHub repo URL and the live Netlify preview. Then I ran progflow on site. Instantly nvim opened in the right folder, my browser popped up with the repo and the deploy preview. No setup, no typing the same paths over and over. I just started coding.

Whenever I stopped for the day, I'd run progflow off site. It asked for a quick note. I wrote things like "fixed copy button" or "mobile nav wraps weirdly". No to-do file, no trying to remember what I was debugging at 2am. Next session, progflow on site and I was right back where I left off, mentally and literally.

I'm not writing this to sell you on the tool. Honestly, I didn't expect it to be this useful for a single static page. But it was. Most of the time I'd just been jumping between terminal windows and losing mental state. This thing removed that whole loop.

The website itself is nothing fancy. Plain HTML, no frameworks, no gradients because I'm tired of those. It has an install command with a copy button, a quick guide to the CLI, an architecture SVG, that's about it. I did spend a silly amount of time debugging why Google Search Console wouldn't fetch my sitemap even though it was perfectly fine. And a base tag leftover from a GitHub Pages template broke all my nav links until I spotted it. Normal stuff.

After everything was live, I just used the same flow to revisit it whenever a thought popped up. It still works. It feels stupidly nice to type a few letters and have your entire workspace appear.

If you built something that you ended up using yourself way more than expected, I'd love to hear about it. That's the whole reason I'm posting this, not to get you to star the repo, just to tell you about that little surprise.

Site: progflowcli.netlify.app

CLI repo: github.com/Rehanasharmin/Progflow

Top comments (0)