0.1.12 • Published 4 years ago
@jondotsoy/commit-help v0.1.12
Commit-Help
Features:
- Shell alias
feat: helper to commit a featurefeat(scope): <message>orfeat: <message> - Shell alias
fix: helper to commit a fixfix(scope): <message>orfix: <message> - Shell alias
refactor: helper to commit a refactorrefactor(scope): <message>orrefactor: <message> - Auto detect scope from change files using the
.mmrc.jsonfile
Example mmrc file:
{
"scopes": [
{
"name": "user",
"match": "$CWD/apps/user/**"
},
{
"name": "products",
"match": "$CWD/apps/products/**"
},
{
"name": "settings",
"match": "$CWD/configs/**"
}
]
}How to use
How to install
npm install -g @jondotsoy/commit-helpand run add the next line to your shell config (.alias, .bashrc, .zshrc, etc):
eval $(commit-help -)You can use wthout install. Just add into your shell config:
eval $(npx @jondotsoy/commit-help -)⚠️ This can delay to the shell startup.