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

Function _cli_args

lib/cli/tests/test_create_crew.py:2617–2620  ·  view source on GitHub ↗

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

(line: str)

Source from the content-addressed store, hash-verified

2615
2616
2617def _cli_args(line: str) -> list[str]:
2618 """Arguments of a documented `crewai …` line, with `<placeholder>` values filled."""
2619 words = shlex.split(line.split("#", 1)[0])[1:]
2620 return ["value" if "<" in word else word for word in words]
2621
2622
2623def _parse_cli_args(args: list[str]) -> None:

Calls

no outgoing calls

Tested by

no test coverage detected