#commit #git-commit #commit-message #gitmoji #gif #prompt #command

nightly bin+lib mji

A tool for easily creating git commit messages using gitmoji

1 unstable release

0.1.0 Dec 27, 2022

#57 in #gif

MIT license

22KB
509 lines

mji

Table of content

Installation

This program requires the latest stable release of rust. Once rust is set up correclty simply clone the repository. Then run:

cargo build # to build or
cargo install  # to install 

Usage

Gif showing mji in action

Example usage:

mji --help # display all options 

mji # start interactive prompt 

mji --commit # start prompt mode and run commit command (defaults to git commit -e -am <mji output>)

mji :sparkles: message 1 - :sparkles: message 2 # run mji in non-interactive mode 

The default commands for the header and commits can be change using the enviornment variables MJI_HEADER_COMMAND and MJI_COMMIT_COMMAND.

License

This program is distributed under the terms of the MIT License.

Contributing

All contributions are welcome. Both pull requests and issue reports are always appreciated. Please make sure that all existing tests pass before submitting a pull request.

Dependencies

~7–20MB
~249K SLoC