feat(cli): alert the user that the cli is checking for updates

This commit is contained in:
benex
2024-11-18 17:09:56 +03:00
parent cfbbabf898
commit 30babf2d69

View File

@@ -229,6 +229,11 @@ def run_cli(
if ctx.obj.check_for_updates: if ctx.obj.check_for_updates:
from .app_updater import check_for_updates from .app_updater import check_for_updates
print("Checking for updates...")
print("So you can enjoy the latest features and bug fixes")
print(
"You can disable this by setting check_for_updates to False in the config"
)
is_latest, github_release_data = check_for_updates() is_latest, github_release_data = check_for_updates()
if not is_latest: if not is_latest:
from rich.console import Console from rich.console import Console