惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Vercel News
Vercel News
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
雷峰网
雷峰网
有赞技术团队
有赞技术团队
罗磊的独立博客
博客园 - 叶小钗
Jina AI
Jina AI
博客园 - 司徒正美
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
Microsoft Security Blog
Microsoft Security Blog
大猫的无限游戏
大猫的无限游戏
量子位
MyScale Blog
MyScale Blog
V
Visual Studio Blog
博客园 - 聂微东
The Cloudflare Blog
Engineering at Meta
Engineering at Meta
小众软件
小众软件
宝玉的分享
宝玉的分享

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How I made Omarchy a 22+ command CLI
Muhammad Kashif Ilyas · 2026-06-25 · via DEV Community

Muhammad Kashif Ilyas

The Problem That Started It All
I was tired of switching between multiple commands just to understand what was happening in my projects:

bash
git status
find . -name "*.go" | wc -l
grep -r "TODO" .
du -sh .

Every time I wanted a quick overview, I'd have to remember and type all these commands. It was annoying, and I knew there had to be a better way.

So I built one.

Introducing Omarchy
Omarchy is a single Go binary that gives you instant insights into your project:

bash
omarchy info
And it outputs:

text
📊 Project Info
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📁 Files: 127
🧮 Lines: 8,452
🐛 TODOs: 3
🌿 Branch: main
⏰ Last commit: 2 hours ago
That's it. One command, instant clarity.

What Else Can It Do?
I kept adding features as I found more annoyances:

omarchy sync – Safe git orchestration with auto-commit and push

bash
omarchy sync -a # auto-commit + push
omarchy sync --tag v1.0 # commit + tag + push
omarchy cleanup – Recursive purge of build artifacts and logs

bash
omarchy cleanup --docker # remove dangling images too
omarchy doctor – Environment health diagnostics

bash
omarchy doctor # checks PATH, Go version, git config, etc.
omarchy use/save – Project templates

bash
omarchy save my-starter # save current project as template
omarchy use my-starter new-project # create new project from template
Why I Built It This Way

  1. It's fast – Written in Go, runs everywhere, no dependencies

  2. It's safe – Won't let you commit your home folder or drop a production DB without confirmation

  3. It's zero config – Works out of the box

  4. It's cross-platform – Windows, macOS, Linux

The Open-Core Model
Omarchy v1 is completely free and open source (MIT license). I believe good tools should be accessible to everyone.

But I also added a paid upgrade (Omarchy v2) for power users. It costs $5 one-time and adds a cross-shell shortcut manager:

bash
tap add dbreset "docker-compose down -v && docker-compose up -d"
tap add push "git add . && git commit -m '$1' && git push"
Now I can type dbreset instead of that long Docker command, and push "fix bug" instead of the whole git dance.

What I Learned Building This

  1. Go is perfect for CLIs The standard library is fantastic, cross-compilation is trivial, and the resulting binary is tiny. Here's how I structure my projects:

text
pkg/
cmd/ # command implementations
core/ # business logic
utils/ # helpers

  1. Start with a single command
    My first version of Omarchy only had info. Once that worked well, I added more commands. Don't try to build everything at once.

  2. Safety features matter
    Adding safety checks was the best decision I made. Users trust tools that won't accidentally delete their work.

  3. Open source is powerful
    I open-sourced v1 and got feedback that made v2 better. Users also contributed ideas I hadn't thought of.

The Tech Stack
Language: Go

Build: go build -o omarchy

Dependencies: None (uses Go standard library)

Cross-compilation: GOOS=windows GOARCH=amd64 go build

Distribution: GitHub Releases

Try It Out
Install Omarchy v1 (free):

bash
go install github.com/Taha95-dev/Omarchy-CLI-tool@latest
Or download from releases: https://github.com/Taha95-dev/Omarchy-CLI-tool/releases

Upgrade to v2 ($5): [Link to your Gumroad]

What's Next?
I'm working on:

More template commands (React, Next.js, Go projects)

A web dashboard for project analytics

Plugin support for custom commands

Questions for You
I'm genuinely curious:

What commands do you type most often that could be shortcuts?

What would make a CLI tool like this essential for your workflow?

What's the most annoying part of your dev setup right now?

I'm 13 and still learning. I'd love to hear your thoughts and feedback. Thanks for reading!

GitHub: https://github.com/Taha95-dev/Omarchy-CLI-Tool