MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / _cli_args

Function _cli_args

lib/cli/tests/test_create_crew.py:2684–2687  ·  view source on GitHub ↗

Arguments of a documented `crewai …` line, with ` ` values filled.

(line: str)

Source from the content-addressed store, hash-verified

2682
2683
2684def _cli_args(line: str) -> list[str]:
2685 """Arguments of a documented `crewai …` line, with `<placeholder>` values filled."""
2686 words = shlex.split(line.split("#", 1)[0])[1:]
2687 return ["value" if "<" in word else word for word in words]
2688
2689
2690def _parse_cli_args(args: list[str]) -> None:

Calls

no outgoing calls

Tested by

no test coverage detected