2.2.2 • Published 1 year ago

test-gitemo-cli v2.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

gitemo-cli

Build Status Code Climate Codecov npm version npm downloads gitmoji badge

A interactive client cli tool for using gitmojis on commit messages.

About

This project provides an easy solution for developing production level commit messages. Whats more? Includes a bunch of options you can play with! :tada:

Install

npm

npm i -g gitemo-cli

Usage

gitemo --help
    Usage
      $ gitemo [option] [command]
    Options
      --${FLAGS.COMMIT}, -c    Interactively commit using the prompts
      --${FLAGS.LIST}, -l      List all the available git emojis
      --${FLAGS.VERSION}, -v   Print gitemo-cli installed version
    Commands
      commit          Interactively commit using the prompts
      list            List all the available gitmojis
      version         Print gitemo-cli installed version
    Examples
      $ gitemo -c

Commit

You can use the commit functionality to develop your commits message based on prompts given to it. The final message will be mapped to emoji accordingly.

Start the interactive commit client, to auto generate your commit based on your prompts.

gitemo -c
Options

You can pass default values to the prompts using the following flags:

  • title: For setting the commit title.
  • message: For setting the commit message.

Those flags should be used like this:

gitemo -c --title="Commit" --message="Message" --scope="Scope"

List

Pretty print all the available git emojis.

gitmoji -l

Version

List down the current version of the cli

gitmoji -v