diff --git a/.gitignore b/.gitignore index 29c6762..27ebebe 100644 --- a/.gitignore +++ b/.gitignore @@ -121,6 +121,8 @@ celerybeat.pid # SageMath parsed files *.sage.py +pdm.lock + # Environments .env .venv diff --git a/main.py b/main.py index e0dbc9e..f4f1a46 100644 --- a/main.py +++ b/main.py @@ -1,4 +1,7 @@ +import sys + from server_status.__main__ import main if __name__ == "__main__": + print(sys.argv) main() diff --git a/server_status/__main__.py b/server_status/__main__.py index 89ed3ee..a5014fb 100644 --- a/server_status/__main__.py +++ b/server_status/__main__.py @@ -6,6 +6,7 @@ from server_status.cmd_parser import server_status_alc def main(): raw_msg = "server_status " + " ".join(sys.argv[1:]) + print(raw_msg) arp = server_status_alc.parse(raw_msg) if arp.query("run"):