Skip to content

Commit 4248b10

Browse files
committed
chore: show banner in cli
2 parents 62491de + 054d299 commit 4248b10

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "octosuite"
3-
version = "5.0.0"
3+
version = "5.1.0"
44
description = "Terminal-based toolkit for GitHub data analysis."
55
readme = "README.md"
66
license = "MIT"

src/octosuite/app/cli/main.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
import sys
44
import typing as t
55

6-
from ..lib import export_response, preview_response, console, check_updates
6+
from ..lib import (
7+
export_response,
8+
preview_response,
9+
console,
10+
check_updates,
11+
ascii_banner,
12+
)
713
from ...api.models import User, Org, Repo, Search
814
from ...meta import __pkg__, __version__
915

@@ -358,6 +364,7 @@ def output(
358364
def run_cli(args: argparse.Namespace):
359365
"""Run the CLI."""
360366

367+
ascii_banner(text=__pkg__)
361368
try:
362369
with console.status("Initialising…") as status:
363370
check_updates(is_cli=True, status=status)

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)