mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 08:38:30 +00:00
fix: fix crewai-tools cli command
This commit is contained in:
@@ -27,7 +27,7 @@ def version(tools):
|
|||||||
|
|
||||||
if tools:
|
if tools:
|
||||||
try:
|
try:
|
||||||
tools_version = pkg_resources.get_distribution("crewai[tools]").version
|
tools_version = pkg_resources.get_distribution("crewai-tools").version
|
||||||
click.echo(f"crewai tools version: {tools_version}")
|
click.echo(f"crewai tools version: {tools_version}")
|
||||||
except pkg_resources.DistributionNotFound:
|
except pkg_resources.DistributionNotFound:
|
||||||
click.echo("crewai tools not installed")
|
click.echo("crewai tools not installed")
|
||||||
|
|||||||
Reference in New Issue
Block a user