Skip to content

Commit 06a7adc

Browse files
committed
modernize missing-ssh-extras message
1 parent b3385a1 commit 06a7adc

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

changelog.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
Unreleased
1+
Upcoming Release (TBD)
2+
======================
3+
4+
Bug Fixes
5+
--------
6+
* Improve missing ssh-extras message.
7+
8+
9+
1.37.1 (2025/07/28)
210
======================
311

412
Internal
@@ -7,6 +15,7 @@ Internal
715
* Align LICENSE with SPDX format.
816
* Fix deprecated `license` specification format in `pyproject.toml`.
917

18+
1019
1.37.0 (2025/07/28)
1120
======================
1221

mycli/packages/paramiko_stub/__init__.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
"""A module to import instead of paramiko when it is not available (to avoid
22
checking for paramiko all over the place).
33
4-
When paramiko is first envoked, it simply shuts down mycli, telling
5-
user they either have to install paramiko or should not use SSH
6-
features.
4+
When paramiko is first invoked, this simply shuts down mycli, telling the
5+
user they either have to install paramiko or should not use SSH features.
76
87
"""
98

@@ -15,11 +14,11 @@ def __getattr__(self, name: str) -> None:
1514

1615
print(
1716
dedent("""
18-
To enable certain SSH features you need to install paramiko and sshtunnel:
17+
To enable certain SSH features you need to install ssh extras:
1918
20-
pip install paramiko sshtunnel
19+
pip install 'mycli[ssh]'
2120
22-
It is required for the following configuration options:
21+
This is required for the following command-line arguments:
2322
--list-ssh-config
2423
--ssh-config-host
2524
--ssh-host

0 commit comments

Comments
 (0)