mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 00:02:36 +00:00
adding initial CLI support
This commit is contained in:
8
src/crewai/cli/templates/main.py
Normal file
8
src/crewai/cli/templates/main.py
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env python
|
||||
from .crew import {{crew_name}}Crew
|
||||
|
||||
|
||||
def run():
|
||||
# Replace with your inputs, it will automatically interpolate any tasks and agents information
|
||||
inputs = {'topic': 'AI LLMs'}
|
||||
{{crew_name}}Crew().crew().kickoff(inputs=inputs)
|
||||
Reference in New Issue
Block a user