From 054d299a044d0a439506f397a9243dc9a79fe350 Mon Sep 17 00:00:00 2001 From: Ritchie Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Sat, 28 Feb 2026 03:20:48 +0200 Subject: [PATCH] chore: show banner in cli --- pyproject.toml | 2 +- src/octosuite/app/cli/main.py | 9 ++++++++- uv.lock | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 816a0c3..474d256 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "octosuite" -version = "5.0.0" +version = "5.1.0" description = "Terminal-based toolkit for GitHub data analysis." readme = "README.md" license = "MIT" diff --git a/src/octosuite/app/cli/main.py b/src/octosuite/app/cli/main.py index 8df4c5c..3417743 100644 --- a/src/octosuite/app/cli/main.py +++ b/src/octosuite/app/cli/main.py @@ -3,7 +3,13 @@ import json import sys import typing as t -from ..lib import export_response, preview_response, console, check_updates +from ..lib import ( + export_response, + preview_response, + console, + check_updates, + ascii_banner, +) from ...api.models import User, Org, Repo, Search from ...meta import __pkg__, __version__ @@ -358,6 +364,7 @@ def output( def run_cli(args: argparse.Namespace): """Run the CLI.""" + ascii_banner(text=__pkg__) try: with console.status("Initialising…") as status: check_updates(is_cli=True, status=status) diff --git a/uv.lock b/uv.lock index 5929796..35bf2f2 100644 --- a/uv.lock +++ b/uv.lock @@ -141,7 +141,7 @@ wheels = [ [[package]] name = "octosuite" -version = "5.0.0" +version = "5.1.0" source = { editable = "." } dependencies = [ { name = "pyfiglet" },