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
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
- Create a local directory
mkdir python-applications - Create a virtualenv
python3 -m venv emoji - Activate the environment
source emoji/bin/activate - Download latest
.whlversion from releases and installpip install emoji_cmd-1.0-py3-none-any.whl - Link binary to PATH
ln -s $(which emoji) ~/.local/bin - Deactivate virtualenv
deactivate
From source
- Follow steps 1-3 above
- Download
requirements.txt - Download the latest
tar.gzfrom releases and extract. - Do
pip install -r requirements.txt - Go into the extracted tar folder and do
pip install -e . - Link binary to PATH
ln -s $(which emoji) ~/.local/bin - 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: | 🧁 |
+-------------+-------+