diff --git a/changelog.md b/changelog.md index d02a47e6..0fdae52d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,12 @@ -Unreleased +Upcoming Release (TBD) +====================== + +Bug Fixes +-------- +* Improve missing ssh-extras message. + + +1.37.1 (2025/07/28) ====================== Internal @@ -7,6 +15,7 @@ Internal * Align LICENSE with SPDX format. * Fix deprecated `license` specification format in `pyproject.toml`. + 1.37.0 (2025/07/28) ====================== diff --git a/mycli/packages/paramiko_stub/__init__.py b/mycli/packages/paramiko_stub/__init__.py index 7a8919f6..da2eca04 100644 --- a/mycli/packages/paramiko_stub/__init__.py +++ b/mycli/packages/paramiko_stub/__init__.py @@ -1,9 +1,8 @@ """A module to import instead of paramiko when it is not available (to avoid checking for paramiko all over the place). -When paramiko is first envoked, it simply shuts down mycli, telling -user they either have to install paramiko or should not use SSH -features. +When paramiko is first invoked, this simply shuts down mycli, telling the +user they either have to install paramiko or should not use SSH features. """ @@ -15,11 +14,16 @@ def __getattr__(self, name: str) -> None: print( dedent(""" - To enable certain SSH features you need to install paramiko and sshtunnel: + To enable certain SSH features you need to install ssh extras: - pip install paramiko sshtunnel + pip install 'mycli[ssh]' + + or + + pip install paramiko sshtunnel + + This is required for the following command-line arguments: - It is required for the following configuration options: --list-ssh-config --ssh-config-host --ssh-host