docs: add section explaining how to run a Crew from CrewBase

This commit is contained in:
Lucas Gomide
2025-05-15 09:31:28 -03:00
parent 8f80c9fceb
commit ef5dc4517a

View File

@@ -117,6 +117,12 @@ class YourCrewName:
)
```
How to run the above code:
```python code
YourCrewName().crew().kickoff(inputs={"any": "input here"})
```
<Note>
Tasks will be executed in the order they are defined.
</Note>
@@ -184,6 +190,11 @@ class YourCrewName:
verbose=True
)
```
How to run the above code:
```python code
YourCrewName().crew().kickoff(inputs={})
```
In this example: