Skip to content

Commit ba95dab

Browse files
authored
feat(cli): show version in splash screen (#610)
Very helpful for dev
1 parent f26b978 commit ba95dab

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libs/deepagents-cli/deepagents_cli/config.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
import dotenv
1111
from rich.console import Console
1212

13+
from deepagents_cli._version import __version__
14+
1315
dotenv.load_dotenv()
1416

1517
# CRITICAL: Override LANGSMITH_PROJECT to route agent traces to separate project
@@ -35,7 +37,8 @@
3537
}
3638

3739
# ASCII art banner
38-
DEEP_AGENTS_ASCII = """
40+
41+
DEEP_AGENTS_ASCII = f"""
3942
██████╗ ███████╗ ███████╗ ██████╗
4043
██╔══██╗ ██╔════╝ ██╔════╝ ██╔══██╗
4144
██║ ██║ █████╗ █████╗ ██████╔╝
@@ -49,6 +52,7 @@
4952
██╔══██║ ██║ ██║ ██╔══╝ ██║╚██╗██║ ██║ ╚════██║
5053
██║ ██║ ╚██████╔╝ ███████╗ ██║ ╚████║ ██║ ███████║
5154
╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═══╝ ╚═╝ ╚══════╝
55+
v{__version__}
5256
"""
5357

5458
# Interactive commands

0 commit comments

Comments
 (0)