Getting parameters from command line

Hi all, I’m a complete newbie making my first steps. I’m following the training at Multi AI Agent Systems with crewAI - DeepLearning.AI and I just completed the first run of the first crew I created :muscle:

The project send a couple of agents to search the internet and write a report on LLMs.

Instead, I’d like the research subject to be passed using the CLI command.

I tried a few methods to get the topic from the cli but failed. I tried using click (@click.option('--topic', default='AI LLMs', help='Topic to research about')
and also using inputs

but both methods failed.

The only thing that works is the non-elegant use of os like
'topic': os.getenv('CREW_TOPIC', 'AI LLMs'),
which forces me to run crew as CREW_TOPIC="carpets" crewai run

Is this something I could get help with here or should I go somewhere else? :slight_smile: