diff --git a/src/teams_bot/pyinfra.py b/src/teams_bot/pyinfra.py index b2ab33b..4cec8b1 100644 --- a/src/teams_bot/pyinfra.py +++ b/src/teams_bot/pyinfra.py @@ -5,7 +5,13 @@ from pyinfra.operations import git, server, files, systemd def deploy_teams_bot(unix_user: str, bot_email: str, bot_passwd: str, dbdir: str = None): - """Deploy TeamsBot to a UNIX user""" + """Deploy TeamsBot to a UNIX user, with specified credentials + + :param unix_user: the existing UNIX user of the bot + :param bot_email: the email address for the bot account + :param bot_passwd: the password for the bot's email account + :param dbdir: the directory where the bot's data will be stored. default: ~/.config/teams-bot/email@example.org + """ clone_xdcget = git.repo( name="Pull the teams-bot repository",