mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-12 15:50:01 -08:00
feat(cli): alert the user that the cli is checking for updates
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user