simple-gitmoji-committer
v1.0.2
Published
A simple CLI tool for adding Gitmoji to commit messages.
Downloads
176
Readme
simple-gitmoji-committer
A simple CLI tool for adding Gitmoji to commit messages interactively. This tool allows you to search for and select a Gitmoji to add to your commit message, making it quick and easy to improve commit readability and expressiveness.
Installation
To install simple-gitmoji-committer
, you can use npm
:
npm install -g simple-gitmoji-committer
Usage
Stage your changes as usual:
git add .
Run
simple-gitmoji-committer
to start the interactive prompt:simple-gitmoji-committer
Follow the prompts:
- Select a Gitmoji by typing keywords to search or by scrolling through the options.
- Enter your commit message.
After confirming your message,
simple-gitmoji-committer
will generate a commit with the selected Gitmoji and message.
Example
$ git add .
$ simple-gitmoji-committer
? Choose a Gitmoji for this commit: ✨:sparkles: Introduce new features
? Enter your commit message: Add user authentication feature
The resulting commit message will look like this:
✨ Add user authentication feature
Commands
simple-gitmoji-committer
: Starts the CLI to select a Gitmoji and enter a commit message.
Scripts
The following npm scripts are available in the project:
npm run lint
: Runs Prettier and ESLint to check for code formatting and style issues.npm run fix
: Fixes any format and lint issues using Prettier and ESLint.
License
This project is licensed under the MIT License.