New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

erix

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

erix

⚡ A sleek one-command Git automation CLI that commits, pushes, and manages repos effortlessly — built for developers who value speed and style.

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

⚡ ERIX — Git Automator CLI

npm version license Node.js Made by ECOD

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

npm install -g erix

Then run from anywhere:

```bash
erix git
```

or pass arguments:

```bash
erix git --r https://github.com/yourname/project.git --m "Initial setup"
```

🧠 Example:

```bash
erix git --r https://github.com/ecodrix/erix-cli-demo.git --m "Deploy update"
```

---

### 🔹 Option 2 — Temporary Use (No Install)

```bash
npx erix git
```

Or inline:

```bash
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

```bash
# In any project folder
erix git
```

🧩 ERIX will:

1. Detect the current branch
2. Add and commit all changes
3. Set the remote if needed
4. Push automatically
5. Handle conflicts with grace

Output sample:

🚀 ERIX GIT AUTOMATOR v2
─────────────────────────────

✔ 🌐 Enter your repository URL:
https://github.com/yourname/project.git
✅ 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
─────────────────────────────
✨ 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 --force

Or 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 testing

Then test with:

erix git

or:

npx ./bin/erix.js git

📦 Publish to npm

npm version patch
npm publish

Once 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.”

GitHub Website

🧭 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.

Keywords

git

FAQs

Package last updated on 30 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts