Skip to content

Commit

Permalink
feat: add aic alias (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Mar 10, 2023
1 parent 69e2470 commit 1b01c2d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1b01c2d

Please sign in to comment.