Skip to content

Commit 2117712

Browse files
committed
Cli: Echo URL used for requests on stderr
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent b4d2ef4 commit 2117712

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/frequenz/client/dispatch/__main__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ async def cli(ctx: click.Context, url: str, key: str) -> None:
5858
if ctx.obj is None:
5959
ctx.obj = {}
6060

61+
click.echo(f"Using API URL: {url}", err=True)
62+
6163
ctx.obj["client"] = Client(
6264
server_url=url,
6365
key=key,

0 commit comments

Comments
 (0)