Configuration
Config File
Section titled “Config File”Create .promptext.yml
in your project root:
extensions: - .go - .js - .tsexcludes: - node_modules/ - vendor/ - "*.test.*"format: markdowngitignore: trueno-copy: false
Options
Section titled “Options”Setting | Description | Default |
---|---|---|
extensions | File types to include | Auto-detect |
excludes | Patterns to skip | Common build dirs |
format | Output format | markdown |
gitignore | Respect .gitignore | true |
no-copy | Skip clipboard copy | false |
verbose | Show full output | false |
debug | Enable timing logs | false |
Command Flags
Section titled “Command Flags”Override config file with command-line flags:
promptext -e .go,.js -x vendor/ -f xml
Priority
Section titled “Priority”- Command flags (highest)
- Config file
- Defaults (lowest)
Example with mixed configuration:
# Config file sets extensions to [.go, .js]# Command overrides to include only .go filespromptext -e .go