aboutsummaryrefslogtreecommitdiff
path: root/tool/aio.py
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-29 12:24:47 +0800
committercrupest <crupest@outlook.com>2022-11-29 12:24:47 +0800
commit90df2d999c0fd3153ad697b1b49161106b007b43 (patch)
treecc403ee5984c3387b4c5d5628f6cc631778213b0 /tool/aio.py
parent9e3603bf1935e26d775487d84b7d48fdc995e345 (diff)
downloadcrupest-90df2d999c0fd3153ad697b1b49161106b007b43.tar.gz
crupest-90df2d999c0fd3153ad697b1b49161106b007b43.tar.bz2
crupest-90df2d999c0fd3153ad697b1b49161106b007b43.zip
Move to alpine. Fix #6.
Diffstat (limited to 'tool/aio.py')
-rwxr-xr-xtool/aio.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/aio.py b/tool/aio.py
index 467b7ca..3d44310 100755
--- a/tool/aio.py
+++ b/tool/aio.py
@@ -186,6 +186,7 @@ def run():
install_docker()
console.print(
"Succeeded to install docker. Please re-login to take effect.", style="green")
+
case "docker":
docker_action = args.docker_action
@@ -226,6 +227,7 @@ def run():
domains = list_domains(domain)
for domain in domains:
console.print(domain)
+
case "nginx":
domain = check_domain_is_defined()
nginx(domain, console)
@@ -265,6 +267,7 @@ def run():
test_crupest_api(console)
case _:
console.print("Test action invalid.", style="red")
+
case "dns":
domain = check_domain_is_defined()
if domain is not None: