Files
2019-11-25 18:13:52 +00:00
..
2019-11-25 18:13:52 +00:00
2019-11-25 18:13:52 +00:00
2019-11-25 18:13:52 +00:00
2019-11-25 18:13:52 +00:00
2019-11-25 18:13:52 +00:00
2019-11-25 18:13:52 +00:00
2019-11-25 18:13:52 +00:00
2019-11-25 18:13:52 +00:00
2019-11-25 18:13:52 +00:00
2019-11-25 18:13:52 +00:00

Emojis on the command line

Author

Daniel Tomlinson dtomlinson@panaetius.co.uk

Requires

python3.7+

Python requirements:

argparse 1.4.0 Python command-line parsing library
click 7.0 Composable command line interface toolkit
emojis 0.5.1 Emojis for Python
texttable 1.6.2 module for creating simple ASCII tables

Documentation

Read the documentation

Installation

Easy Way

Run curl -LSs https://raw.githubusercontent.com/dtomlinson91/emoji-cmd/master/install.sh | bash

Python

From pip

coming soon

From local wheel

  1. Create a local directory mkdir python-applications
  2. Create a virtualenv python3 -m venv emoji
  3. Activate the environment source emoji/bin/activate
  4. Download latest .whl version from releases and install pip install emoji_cmd-1.0-py3-none-any.whl
  5. Link binary to PATH ln -s $(which emoji) ~/.local/bin
  6. Deactivate virtualenv deactivate

From source

  1. Follow steps 1-3 above
  2. Download requirements.txt
  3. Download the latest tar.gz from releases and extract.
  4. Do pip install -r requirements.txt
  5. Go into the extracted tar folder and do pip install -e .
  6. Link binary to PATH ln -s $(which emoji) ~/.local/bin
  7. Deactivate virtualenv deactivate

Example Usage

emoji --help

Usage: emoji [OPTIONS]

  Emojis on the command line 🥳!

  Search for an emoji with --search EMOJI

Options:
  --help             Show this message and exit.
  --version          Show the version and exit.
  -s, --search TEXT  Prints all emojis matching TEXT

emoji --search cake

I found 5 emojis for cake! 🥳
+-------------+-------+
|  tag/alias  | emoji |
+=============+=======+
| :pancakes:  | 🥞    |
+-------------+-------+
| :fish_cake: | 🍥    |
+-------------+-------+
| :moon_cake: | 🥮    |
+-------------+-------+
| :cake:      | 🍰    |
+-------------+-------+
| :cupcake:   | 🧁    |
+-------------+-------+