codespeak whitelist

Add file paths or glob patterns to the whitelist in codespeak.json.

Synopsis

codespeak whitelist <patterns...> [--no-interactive]

Description

Whitelisted files can be modified by any spec during builds without triggering managed files notifications. This is useful for shared files like project configuration, __init__.py files, or test registries.

Patterns are added to the whitelisted_files array in codespeak.json. The list is always kept sorted alphabetically. Duplicate patterns are ignored.

Flags

FlagDescription
patternsFile paths or glob patterns to whitelist. **Required**. Examples: config.toml, 'src/*.py', '**/*.go'
--no-interactiveRun in non-interactive mode without real-time progress updates

Examples

Whitelist a single file:

codespeak whitelist pyproject.toml

Whitelist with glob patterns:

codespeak whitelist 'src/**/__init__.py' 'config/*.yaml'

See also