2.4.4 • Published 12 months ago

gitemo-cli v2.4.4

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

gitemo-cli

GitHub Actions Workflow Status NPM Version

A interactive client cli tool for using git emojis on commit messages.

About

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

https://github.com/SySagar/gitemo-cli/assets/93787385/824cbf02-f88f-4db7-9eb6-1e7161767487

Install

npm

npm i -g gitemo-cli

Usage

gitemo --help
    Usage
      $ gitemo [option] [command]
    Options
     --commit, -c        Interactively commit using the prompts
     --aiCommit, --aic   Use ai for generating commits
     --config, --g       To change configuration
     --list, -l          List all the available git emojis
     --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
      config             Change configuration
      login              To login into the cli
    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 aldo 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.

gitemo --l

Version

List down the current version of the cli

gitemo --v

Config

You can use the default configs or customize your own configurations.

Some of the default settings are:

  • Automatic git add: Enable or disable the automatic git add . every time you use the commit command.
  • Message prompt: Enable or disable the message prompt.
  • Capitalize title: Capitalize Title

You can configure these options via (in order of precedence):

  • A gitemo key in your package.json file
  • A .gitemorc.json file.
  • Using the global cli configuration.

If no user configuration is found, a set of default values will be used.

package.json

{
  "gitemo": {
    "autoAdd": false,
    "messagePrompt": false,
    "capitalizeTitle": true,
  }
}

.gitemorc.json

{
  "autoAdd": false,
  "messagePrompt": false,
  "capitalizeTitle": true,
}

Local configuration

Run gitemo --g to setup some gitemo-cli preferences.

2.3.0

12 months ago

2.2.1

12 months ago

2.2.0

12 months ago

2.1.1

12 months ago

2.4.1

12 months ago

2.2.3

12 months ago

2.4.0

12 months ago

2.2.2

12 months ago

2.4.3

12 months ago

2.2.5

12 months ago

2.4.2

12 months ago

2.2.4

12 months ago

2.4.4

12 months ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago