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