mirror of
https://github.com/bellingcat/octosuite.git
synced 2026-06-07 19:08:36 +03:00
chore: show banner in cli
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "octosuite"
|
name = "octosuite"
|
||||||
version = "5.0.0"
|
version = "5.1.0"
|
||||||
description = "Terminal-based toolkit for GitHub data analysis."
|
description = "Terminal-based toolkit for GitHub data analysis."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -3,7 +3,13 @@ import json
|
|||||||
import sys
|
import sys
|
||||||
import typing as t
|
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 ...api.models import User, Org, Repo, Search
|
||||||
from ...meta import __pkg__, __version__
|
from ...meta import __pkg__, __version__
|
||||||
|
|
||||||
@@ -358,6 +364,7 @@ def output(
|
|||||||
def run_cli(args: argparse.Namespace):
|
def run_cli(args: argparse.Namespace):
|
||||||
"""Run the CLI."""
|
"""Run the CLI."""
|
||||||
|
|
||||||
|
ascii_banner(text=__pkg__)
|
||||||
try:
|
try:
|
||||||
with console.status("Initialising…") as status:
|
with console.status("Initialising…") as status:
|
||||||
check_updates(is_cli=True, status=status)
|
check_updates(is_cli=True, status=status)
|
||||||
|
|||||||
Reference in New Issue
Block a user