Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.61 KB

README.md

File metadata and controls

62 lines (45 loc) · 1.61 KB

emojiterm

A simple cli tool that encodes words into emojis and echos them to the terminal. use this in your scripts.

using emojiterm

Installation

With homebrew

brew tap wunderkind2k1/tap
brew install emojiterm

installing emojiterm

Go standard: Through go install

go install github.com/wunderkind2k1/emojiterm@latest

Usage

emojiterm beer sushi bento
 🍺  🍣  🍱

or (since v.0.0.2)

# to copy into clipboard. Needs pbcopy or xclip installed though
emojiterm -c beer sushi bento

Of course pipes are going to work like before

# use pipes and don't eat sushi - note: -c is optional
emojiterm -c beer bento sushi | cut -c 1,4
> 🍺🍱
# your clipboard still has the sushi

or try to help yourself

emojiterm help                                                                  
NAME:
   emojiterm - text to emoji converter - Use underscore instead of space in emoji names - emojiterm "<space separeted list of tokens>" | Example: emojiterm "sun wine_glass beer)"
                                                                                          Names are based on this file: https://raw.githubusercontent.com/iamcal/emoji-data/master/emoji.json

USAGE:
   emojiterm - text to emoji converter - Use underscore instead of space in emoji names [global options] command [command options] [arguments...]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --clipboard, -c  write emojis to clipboard
   --help, -h  show help