easier cli command name

This commit is contained in:
Lorenze Jay
2024-07-12 13:46:30 -07:00
parent b47d0c48a2
commit 010db7790a
3 changed files with 5 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ def train(n_iterations: int):
type=str,
help="Replay the crew from this task ID, including all subsequent tasks.",
)
def replay_from_task(task_id: str) -> None:
def replay(task_id: str) -> None:
"""
Replay the crew execution from a specific task.

View File

@@ -11,7 +11,7 @@ crewai = { extras = ["tools"], version = "^0.35.8" }
[tool.poetry.scripts]
{{folder_name}} = "{{folder_name}}.main:run"
train = "{{folder_name}}.main:train"
replay_from_task = "{{folder_name}}.main:replay_from_task"
replay = "{{folder_name}}.main:replay_from_task"
[build-system]
requires = ["poetry-core"]