diff options
author | crupest <crupest@outlook.com> | 2022-11-29 12:24:47 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-29 12:24:47 +0800 |
commit | d171df1c5f71509c172fef4f8508e66c922554c9 (patch) | |
tree | cc403ee5984c3387b4c5d5628f6cc631778213b0 /tool/aio.py | |
parent | 4486ef93f49a55cb359bc9967b13cf1588633059 (diff) | |
download | crupest-d171df1c5f71509c172fef4f8508e66c922554c9.tar.gz crupest-d171df1c5f71509c172fef4f8508e66c922554c9.tar.bz2 crupest-d171df1c5f71509c172fef4f8508e66c922554c9.zip |
Move to alpine. Fix #6.
Diffstat (limited to 'tool/aio.py')
-rwxr-xr-x | tool/aio.py | 3 |
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: |