diff options
Diffstat (limited to 'src/frontend')
-rwxr-xr-x | src/frontend/cli/sisyphus-cli.py | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index 83818e8..1aa8aa8 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -12,7 +12,7 @@ getNews = typer.Typer() app.add_typer(mirrorSetup, name="mirror", help='List/Set the active binhost (binary repository) mirror.') app.add_typer(getNews, name="news", - help='Check/List/Mark Read/Mark Unread news articles.') + help='List/Mark Read/Mark Unread news articles.') @app.callback() @@ -349,18 +349,6 @@ def setmirror(index: int): sisyphus.setmirror.setActive(index) -@getNews.command("check") -def checknews(): - """ - Check for unread news articles,\n - \n - * Example:\n - sisyphus news check\n - """ - unread_count = sisyphus.checkenv.news() - print(f"\nThere are {unread_count} unread news article(s).\n") - - @getNews.command("list") def listnews(): """ |