Skip to content

Commit

Permalink
Cli: Echo URL used for requests on stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
Marenz committed Sep 12, 2024
1 parent b4d2ef4 commit e4a0559
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/frequenz/client/dispatch/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ async def cli(ctx: click.Context, url: str, key: str) -> None:
if ctx.obj is None:
ctx.obj = {}

click.echo(f"Using API URL: {url}", err=True)

ctx.obj["client"] = Client(
server_url=url,
key=key,
Expand Down

0 comments on commit e4a0559

Please sign in to comment.