Parse comma-separated patterns into a list.
(patterns_str: str)
| 26 | """Parse comma-separated patterns into a list.""" |
| 27 | if not patterns_str: |
| 28 | return [] |
| 29 | return [p.strip() for p in patterns_str.split(",") if p.strip()] |
| 30 | |
| 31 | |
| 32 | @click.group(name="config") |
| 33 | def config_group(): |
| 34 | """Manage CodeWiki configuration (API credentials and settings).""" |
| 35 | pass |