MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / parse_patterns

Function parse_patterns

codewiki/cli/commands/generate.py:35–39  ·  view source on GitHub ↗

Parse comma-separated patterns into a list.

(patterns_str: str)

Source from the content-addressed store, hash-verified

33from codewiki.cli.models.config import AgentInstructions
34
35
36def parse_patterns(patterns_str: str) -> List[str]:
37 """Parse comma-separated patterns into a list."""
38 if not patterns_str:
39 return []
40 return [p.strip() for p in patterns_str.split(',') if p.strip()]
41
42

Callers 1

generate_commandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected