Skip to content

Commit

Permalink
Merge pull request #24 from niro1987:fix-envvar
Browse files Browse the repository at this point in the history
fix envvars
  • Loading branch information
niro1987 authored Sep 22, 2024
2 parents 968993c + 3a56a63 commit ae20a31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sapcommissions/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,19 +191,22 @@ 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",
"--password",
prompt=True,
hide_input=True,
help="Password for authentication.",
envvar="SAP_PASSWORD",
)
@click.option(
"--no-ssl",
Expand Down

0 comments on commit ae20a31

Please sign in to comment.