feat: add aic alias (#148)

This commit is contained in:
hiroki osame
2023-03-10 09:15:20 -05:00
committed by GitHub
parent 69e24709c5
commit 1b01c2d95a
2 changed files with 6 additions and 1 deletions

View File

@@ -62,6 +62,8 @@ aicommits
aicommits --dry-run
```
> 👉 **Tip:** Use the `aic` alias if `aicommits` is too long for you.
### Git hook
You can also integrate _aicommits_ with Git via the [`prepare-commit-msg`](https://git-scm.com/docs/githooks#_prepare_commit_msg) hook. This lets you use Git like you normally would, and edit the commit message before committing.

View File

@@ -14,7 +14,10 @@
"files": [
"dist"
],
"bin": "./dist/cli.mjs",
"bin": {
"aicommits": "./dist/cli.mjs",
"aic": "./dist/cli.mjs"
},
"scripts": {
"prepare": "simple-git-hooks",
"build": "pkgroll --minify",