DEV Community

Cover image for I Built a CLI That Can Create, Fix, and Improve Projects Using Natural Language — Wrath CLI
Mohamed Yaseen
Mohamed Yaseen

Posted on

I Built a CLI That Can Create, Fix, and Improve Projects Using Natural Language — Wrath CLI

Most developers spend a lot of time doing repetitive tasks:

  • Creating project structure
  • Fixing common errors
  • Adding new features
  • Refactoring code
  • Improving UI
  • Running dev servers
  • Understanding project structure

So I built a tool called Wrath CLI to handle these tasks directly from the terminal using natural language.

What Wrath CLI Can Do

Wrath works by indexing your project and understanding its structure. Once indexed, you can run commands like:

wrath create "nodejs api with auth"
wrath fix "cannot read property of undefined"
wrath add "profile page with avatar upload"
wrath ui "make dashboard modern"
wrath update "optimize performance"
wrath run npm run dev

Available Commands

wrath create [description]
Scaffold a new project using natural language.

wrath fix [error]
Diagnose and fix errors using the project index.

wrath run "command" (eg. command=npm start)
Start dev server with auto-healing.

wrath init
Index the current project into .wrath/index.json.

wrath add [feature]
Add new features, files, or components.

wrath ui [description]
Improve UI professionally.

wrath status
Show current project index state.

wrath reindex
Rebuild the project index.

wrath update [req]
Refactor code or improve performance.

Website

https://wrath-cli.vercel.app/

The goal of Wrath is simple:
Make development faster by controlling projects using natural language from the terminal.

I would love feedback and ideas from the community.

Top comments (0)