Let there be emoji
This commit is contained in:
parent
e5df45650d
commit
2c894b5d1d
@ -3,6 +3,7 @@
|
||||
import os
|
||||
|
||||
import click
|
||||
import emoji
|
||||
from PyInquirer import prompt
|
||||
|
||||
from autonomic import logger
|
||||
@ -60,9 +61,14 @@ def ask_to_login():
|
||||
"filter": lambda val: val.lower(),
|
||||
}
|
||||
]
|
||||
|
||||
answer = prompt(question)
|
||||
add_to_config(answer)
|
||||
|
||||
msg = "Welcome comrade {} :kissing:".format(answer["username"])
|
||||
emojized = emoji.emojize(msg, use_aliases=True)
|
||||
log.info(emojized)
|
||||
|
||||
|
||||
def create_configuration_file():
|
||||
"""Create toolbelt config file."""
|
||||
|
@ -44,6 +44,7 @@ zip_safe = False
|
||||
install_requires =
|
||||
click >= 7.1.1, <= 8.0
|
||||
colorama >= 0.4.3, <= 0.5
|
||||
emoji >= 0.5.4, <= 0.6
|
||||
pyinquirer >= 1.0.3, <= 1.1
|
||||
ruamel.yaml >= 0.16.10, <= 0.17
|
||||
|
||||
|
Reference in New Issue
Block a user