From 8769cf0622307a1d6581011a2625930c450e008b Mon Sep 17 00:00:00 2001
From: sinavir <sinavir@sinavir.fr>
Date: Sun, 21 Apr 2024 17:35:57 +0200
Subject: [PATCH] fix: change password env var

---
 stateless_uptime_kuma/cli.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/stateless_uptime_kuma/cli.py b/stateless_uptime_kuma/cli.py
index 7fb37c8..43c3227 100644
--- a/stateless_uptime_kuma/cli.py
+++ b/stateless_uptime_kuma/cli.py
@@ -59,6 +59,7 @@ def cli():
     "--password",
     prompt=True,
     hide_input=True,
+    envvar="UPTIME_KUMA_PASSWORD",
 )
 def apply_json(
     file,
@@ -88,4 +89,4 @@ def apply_json(
 
 
 if __name__ == "__main__":
-    cli(auto_envvar_prefix="STATELESS_UPTIME_KUMA")
+    cli()