docs: require explicit channel login command

This commit is contained in:
Xubin Ren
2026-03-23 17:00:19 +00:00
committed by Xubin Ren
parent d164548d9a
commit bef88a5ea1
2 changed files with 11 additions and 5 deletions

View File

@@ -616,3 +616,9 @@ def test_gateway_cli_port_overrides_configured_port(monkeypatch, tmp_path: Path)
assert isinstance(result.exception, _StopGatewayError)
assert "port 18792" in result.stdout
def test_channels_login_requires_channel_name() -> None:
result = runner.invoke(app, ["channels", "login"])
assert result.exit_code == 2