Skip to content

Commit 20bd462

Browse files
committed
fix: Register AgentTreeCommand in commands/__init__.py
Add the new command to the imports, registration, and __all__ list to ensure it is properly loaded and available. This addresses the test failures where the command was not being discovered.
1 parent 45c6352 commit 20bd462

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cecli/commands/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
"""
21
Command system for cecli.
32

43
This package contains individual command implementations that follow the
54
BaseCommand pattern for modular, testable command execution.
6-
"""
75

86
from .add import AddCommand
97
from .agent import AgentCommand
108
from .agent_model import AgentModelCommand
9+
from .agent_tree import AgentTreeCommand
1110
from .architect import ArchitectCommand
1211
from .ask import AskCommand
1312
from .clear import ClearCommand
@@ -94,6 +93,7 @@
9493
CommandRegistry.register(AddCommand)
9594
CommandRegistry.register(AgentCommand)
9695
CommandRegistry.register(AgentModelCommand)
96+
CommandRegistry.register(AgentTreeCommand)
9797
CommandRegistry.register(ArchitectCommand)
9898
CommandRegistry.register(AskCommand)
9999
CommandRegistry.register(ClearCommand)
@@ -169,6 +169,7 @@
169169
"AddCommand",
170170
"AgentCommand",
171171
"AgentModelCommand",
172+
"AgentTreeCommand",
172173
"ArchitectCommand",
173174
"AskCommand",
174175
"BaseCommand",

0 commit comments

Comments
 (0)