GithubHelp home page GithubHelp logo

hnq90 / gitmoji-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carloscuesta/gitmoji-cli

0.0 2.0 0.0 1.53 MB

A gitmoji interactive command line tool for using emojis on commits. ๐Ÿ’ป

Home Page: https://www.npmjs.com/package/gitmoji-cli

License: MIT License

JavaScript 100.00%

gitmoji-cli's Introduction

gitmoji-cli

Travis Build Status Code Climate Codecov David Dependencies npm version npm downloads gitmoji badge

gitmoji-cli

A gitmoji interactive client for using gitmojis on commit messages.

About

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! ๐ŸŽ‰

Install

npm

$ npm i -g gitmoji-cli

brew

$ brew install gitmoji

Usage

$ 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

Commit

You can use the commit functionality in two ways, directly or via a commit-hook.

Client

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

$ gitmoji -c

Hook

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.

gitmoji commit

Search

Search using specific keywords to find the right gitmoji.

$ gitmoji bug linter -s

gitmoji list

List

Pretty print all the available gitmojis.

$ gitmoji -l

gitmoji list

Update

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

Config

Run gitmoji -g to setup some gitmoji-cli preferences, such as the auto git add . feature.

gitmoji config

gitmoji-cli's People

Contributors

carloscuesta avatar dependabot-preview[bot] avatar dependabot[bot] avatar greenkeeperio-bot avatar adriencaccia avatar cga1123 avatar nathan818fr avatar jeremie-chauvel avatar addono avatar me-shaon avatar andrressliz avatar randompixel avatar david-mears-2 avatar posva avatar grdryn avatar geniusgordon avatar hlerebours avatar jackatomix avatar jakehamilton avatar kykungz avatar lludol avatar anxolerd avatar tuxmachine avatar rishichawda avatar moseb avatar thibmaek avatar thomasgroch avatar hobbit-vt avatar wayneashleyberry avatar theyahya avatar

Watchers

James Cloos avatar  avatar

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.