From 3a56a63c2e5e28be22bf47d7993fb4507ece3c5e Mon Sep 17 00:00:00 2001 From: Niels Perfors Date: Sun, 22 Sep 2024 12:52:48 +0000 Subject: [PATCH] fix envvars --- src/sapcommissions/__main__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sapcommissions/__main__.py b/src/sapcommissions/__main__.py index 3ea83a5..d54a2f2 100644 --- a/src/sapcommissions/__main__.py +++ b/src/sapcommissions/__main__.py @@ -191,12 +191,14 @@ async def async_load_resource( "--tenant", prompt=True, help="Tenant to connect to, for example 'CALD-DEV'.", + envvar="SAP_TENANT", ) @click.option( "-u", "--username", prompt=True, help="Username for authentication.", + envvar="SAP_USERNAME", ) @click.option( "-p", @@ -204,6 +206,7 @@ async def async_load_resource( prompt=True, hide_input=True, help="Password for authentication.", + envvar="SAP_PASSWORD", ) @click.option( "--no-ssl",