erix
v1.0.6
Published
⚡ A sleek one-command Git automation CLI that commits, pushes, and manages repos effortlessly — built for developers who value speed and style.
Maintainers
Readme
⚡ ERIX — Git Automator CLI
Because you deserve one-command perfection.
Simplify your git workflow — commit, push, and sync your code with a single command.
🚀 Overview
ERIX is a smart, elegant Git automation CLI built to remove friction from your daily workflow.
No more typing git add ., git commit, and git push in sequence. ERIX does it all — from repo linking to smooth commits — in one swing.
It’s built for speed, simplicity, and sanity.
💡 Features
✅ Auto-detects Git repositories
✅ Initializes one if missing
✅ Auto-commits and pushes with style
✅ Handles rebases & conflicts gracefully
✅ Interactive prompts (via inquirer)
✅ Optional force-push (--f)
✅ Beautiful CLI with colors, emojis, and spinners
✅ Works globally or via NPX
🧰 Installation
🔸 Option 1 — Global Install (recommended)
npm install -g erixThen run from anywhere:
erix gitor pass arguments:
erix git --r https://github.com/yourname/project.git --m "Initial setup"🧠 Example:
erix git --r https://github.com/ecodrix/erix-cli-demo.git --m "Deploy update"🔹 Option 2 — Temporary Use (No Install)
npx erix gitOr inline:
npx erix git --r https://github.com/yourname/project.git --m "Quick push" --f🧠 Available Flags
| Flag | Description | Example |
| ----- | -------------- | -------------------------------------- |
| --r | Repository URL | --r https://github.com/user/repo.git |
| --m | Commit message | --m "Updated navbar and styles" |
| --f | Force push | --f |
If no repo URL is provided, ERIX will ask interactively.
💬 Example Workflow
# In any project folder
erix git🧩 ERIX will:
- Detect the current branch
- Add and commit all changes
- Set the remote if needed
- Push automatically
- Handle conflicts with grace
Sample:
Use Case - 1
npx erix --r https://github.com/yourname/project.git
# or
npx erix -r https://github.com/yourname/project.gitOutput
🚀 ERIX GIT AUTOMATOR v2
─────────────────────────────────────────────
✔ Repository initialized successfully.
✔ Main branch created successfully.
✔ Files added successfully.
✔ Changes committed successfully.
✔ Remote origin set successfully.
✔ Code pushed successfully!
✔ Git Automator Summary
─────────────────────────────
📦 Repo: https://github.com/yourname/project.git
🌿 Branch: main
📝 Commit: Auto commit from ERIX 🚀
⏰ Time: 11/3/2025, 8:12:26 PM
⚠️ Tip: Double-check your repository on GitHub to confirm your latest push is visible!
─────────────────────────────
✨ ERIX — Because you deserve one-command perfection.Use Case - 2
npx erix gitOutput
🚀 ERIX GIT AUTOMATOR v2
─────────────────────────────
✔ 🌐 Enter your repository URL:https://github.com/yourname/project.git
✔ Repository initialized successfully.
✔ Main branch created successfully.
✔ Files added successfully.
✔ Changes committed successfully.
✔ Remote origin verified successfully.
✔ Code pushed successfully!
💫 Summary
─────────────────────────────
📦 Repo: https://github.com/yourname/project.git
🌿 Branch: main
📝 Commit: Auto commit from ERIX 🚀
⏰ Time: 10/30/2025, 5:02:05 AM
⚠️ Tip: Double-check your repository on GitHub to confirm your latest push is visible!
─────────────────────────────
✨ ERIX — Because you deserve one-command perfection.🧱 Manual Recovery (if needed)
If you hit conflicts or permission issues, ERIX will guide you to run:
git pull origin main --rebase
git push origin main --forceOr follow its intelligent on-screen suggestions.
🧩 Tech Stack
- Node.js
- Chalk → Terminal colors
- Inquirer → Interactive prompts
- Ora → Elegant CLI spinners
- Child Process API → Executes Git commands under the hood
🛠 Development Setup (for contributors)
git clone https://github.com/yourname/erix-git-cli-automate.git
cd erix
npm install
npm link # Register globally for dev testingThen test with:
erix gitor:
npx ./bin/erix.js git📦 Publish to npm
npm version patch
npm publishOnce published, anyone can run:
npx erix git🪄 Author
Dhanesh Building SaaS tools, automation systems, and developer-friendly workflows. ✨ “Because one command should do it all.”
🧭 License
MIT License © 2025 ECOD Use freely, automate boldly.
💭 Next step:
Want me to make a README_HEADER.svg banner (a visual header image with your logo, name, and tagline — like “ERIX ⚡ Git Automator CLI — One Command. Infinite Power.”)?
That’ll make your GitHub page look premium and visually branded.
