carloscuesta / gitmoji-cli

A gitmoji interactive cli tool for using emojis on commits. 💻
https://www.npmjs.com/package/gitmoji-cli
MIT License
4.63k stars 206 forks source link

Precise the aim of gitmoji-cli #3

Closed welcoMattic closed 7 years ago

welcoMattic commented 7 years ago

IMHO gitmoji-cli got for aim to make gitmojis data available for programatic purpose (like a git hook).

In this case, the option --init is not a the right place, I think it should be in gitmoji-commit-hook.

What do you think @carloscuesta?

carloscuesta commented 7 years ago

By default If you use gitmoji it will run the questions and auto create the commit with the answer options.

The option --init it's for automatically creating the git hook template that you need to create manually when using a git hook. This option enables you to commit with git commit without using the gitmoji command. And "install" the hook into the repository.

Some other options that are available:

The purpose of gitmoji-cli is to act as a client for using gitmojis in commit messages, searching and listing them 👍

welcoMattic commented 7 years ago

Oh alright, you want further than me and my gitmoji-commit-hook package ^^' I'll keep mine because I like KISS principle, but you did really good job! 👍

carloscuesta commented 7 years ago

Yes of course you can keep yours no problem 😄 it's always great to have different approaches. Thanks for your time @welcoMattic