lipstick

command module
v0.0.0-...-88a1c6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2016 License: MIT Imports: 15 Imported by: 0

README

Lipstick

💄 A simple app to make your git commit messages more expressive. Instead of remembering complicated and unrelated emoji names you can write things like:

:tests: Added testing

and it'll get turned into:

:white_check_mark: Added testing

Which will show up as ✅ Added testing

Install

go get github.com/jesusrmoreno/lipstick

After go getting the package cd into a git repo and run

lipstick install

This will add the git commit message hook to turn your keywords into github emoji.

Setup

By default lipstick uses the following mappings

[commitKinds]
format = ":art:"
performance = ":racehorse:"
docs = ":books:"
bugfix = ":bug:"
crucial = ":ambulance:"
remove = ":fire:"
tests = ":white_check_mark:"
security = ":lock:"
ui = ":lipstick:"
wip = ":construction:"
tags = ":bookmark:"
initial = ":tada:"
logging = ":speaker:"
removeLogging = ":mute:"
feature = ":sparkles:"
configuration = ":snowflake:"

To override these you can create a .lipstickrc file (this file must follow toml syntax) in the same directory as your git folder. For instance the file used in this app is as follows:

[commitKinds]
format = ":art:"
performance = ":racehorse:"
docs = ":books:"
bugfix = ":bug:"
crucial = ":ambulance:"
remove = ":fire:"
tests = ":white_check_mark:"
security = ":lock:"
ui = ":lipstick:"
wip = ":construction:"
tags = ":bookmark:"
init = ":tada:"
initial = ":tada:"
logging = ":speaker:"
removeLogging = ":mute:"
feature = ":sparkles:"
configuration = ":snowflake:"
license = ":copyright:"
release = ":gem:"
vendor = ":package:"
chore = ":information_source:"

Uninstall

To remove the hook simply run:

lipstick uninstall

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL