CrewAI CLI Scaffolding Questions

The project I’m building is a flow with sub flows and crews. The crewai cli commands are super useful but I’m getting very confused which directory I should run each create cli command. I want to make sure it’s generating the flows and crews in the right places relative to the main flow.

If it helps, my git hub repo is ~/git/ai-projects and I have a project root folder named pipeline, so I assume I should run the initial create flow command from pipeline, but then it gets murky. Any help would be super appreciated. Thanks!

Hi Great Question.

This is a good starting point to get setup right Installation - CrewAI

Then i tend to refer to this for Flows Build Your First Flow - CrewAI

I think the right solution after reading more about this is to use the cli to scaffold the main/outer flow, then just manually create needed sub-flows via the annotations.

1 Like

Good luck.. Keep us updated