Crates.io | mji |
lib.rs | mji |
version | 0.1.0 |
source | src |
created_at | 2022-12-27 14:12:04.596353 |
updated_at | 2022-12-27 14:12:04.596353 |
description | A tool for easily creating git commit messages using gitmoji |
homepage | |
repository | https://github.com/unlink2/mji |
max_upload_size | |
id | 746251 |
size | 38,763 |
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
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
.
This program is distributed under the terms of the MIT License.
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.