git-interactive-vlaqa
v1.0.2
Published
Interactive Git CLI
Downloads
403
Readme
git-interactive
A collection of interactive CLI commands for common Git workflows, built on Conventional Commits.
Prerequisites
- Node.js
Installation
npm install -g git-interactive-vlaqaCommands
gicm — Interactive Commit
Creates a Conventional Commit via guided prompts. Requires staged changes.
gicmInteractive Prompts
1. Commit type
| Type | Description |
|------|-------------|
| feat | New feature |
| test | Test additions or changes |
| fix | Bug fix |
| chore | Maintenance tasks |
| refactor | Code restructuring without behavior change |
| docs | Documentation changes |
| style | Formatting, whitespace, etc. |
2. Scope (optional)
| Option | Description |
|--------|-------------|
| branch | Uses the current branch name as scope |
| e2e | Literal scope e2e |
| api | Literal scope api |
| omit | No scope |
| custom | Prompts for a custom scope string |
3. Description
A short description of the change. Must be at least 5 characters. A live character counter ([n/75]) is shown while typing.
Output format
<type>(<scope>): <description>Examples:
feat(my-branch): add user authentication
fix: resolve null pointer on login
chore(api): update dependenciesAfter a successful commit, the short hash and subject are printed:
✔ Committed: a1b2c3d feat(my-branch): add user authenticationError handling
| Condition | Message |
|-----------|---------|
| Not inside a Git repository | Make sure you are calling commands from GIT project! |
| No staged files | No staged files. Stage your changes with \git add` first. |
| Prompt cancelled (Ctrl+C) | 👋 until next time!` |
