This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
gitmoji-cli with all
npm packages installed. Try it out:
gitmoji-cli lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
A gitmoji interactive client for using gitmojis on commit messages.
This project provides an easy solution for using gitmoji from your command line. Gitmoji-cli solves the hassle of searching through the gitmoji list. Includes a bunch of options you can play with! :tada:
$ npm i -g gitmoji-cli
$ gitmoji --help
A gitmoji interactive client for using gitmojis on commit messages. Usage $ gitmoji Options --init, -i Initialize gitmoji as a commit hook --remove, -r Remove a previously initialized commit hook --config, -g Setup gitmoji-cli preferences. --commit, -c Interactively commit using the prompts --list, -l List all the available gitmojis --search, -s Search gitmojis --version, -v Print gitmoji-cli installed version --update, -u Sync emoji list with the repo
You can use the commit functionality in two ways, directly or via a commit-hook.
Start the interactive commit client, to auto generate your commit based on your prompts.
$ gitmoji -c
Run the init option, add your changes and commit them, after that the prompts will begin and your commit message will be built.
$ gitmoji -i $ git add . $ git commit
⚠️ The hook should not be used with the
gitmoji -c command.
Search using specific keywords to find the right gitmoji.
$ gitmoji bug linter -s
Pretty print all the available gitmojis.
$ gitmoji -l
Update the gitmojis list, by default the first time you run gitmoji, the cli creates a cache to allow using this tool without internet connection.
$ gitmoji -u
gitmoji -g to setup some gitmoji-cli preferences, such as the auto
git add . feature.