Giter VIP home page Giter VIP logo

mji's Introduction

mji

Table of content

Installation

From source

cargo build # to build or
cargo install  # to install 

From cargo binary

cargo install mji   

From AUR

yay -S mji 

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.

Custom emojis

The program will look for a configuration file called mji.toml in the system's default configuration location (e.g. $HOME/.config on Linux). The config location can also be changed using a command line parameter. The file should have the following structure (one line per emoji):

crab = {name = "crab", value = "๐Ÿฆ€", desc = "Made with Rust"} 

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.

mji's People

Contributors

steduk avatar unlink2 avatar

Watchers

 avatar  avatar

Forkers

steduk

mji's Issues

Tab completion

It would be nice for users to have tab completion for emojis when submitting a commit message.

Commit hook

It might be nice to have a commit hook installer that allows modifying commit messages by the tool

Custom emoji list

It should be possible to provide a configuration file with additional emoji entries.

Remove unwraps

Currently the codebase has uses a lot of unwraps all over the place. This should change in the near future.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.