pass_typer: Add matching rule for TSRC Pidgey servers

This commit is contained in:
Adam Goldsmith 2022-07-06 23:25:31 -04:00
parent bb68fea1b4
commit f2c68a5f17
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ def alias(server_name):
return f"cms/{user}{at}ipads"
case [user, at, ("octopi-taz-6" | "octopi-lulzbot-mini")]:
return f"cms/{user}{at}octopi"
case [user, at, server] if re.match(".*-pidgey(.vpn)?", server):
return f"tsrc/pidgey"
case _:
return f"**/{server_name}"