Configuration
Config File
Section titled “Config File”Generate a starter configuration file:
prx --initThis creates a .promptext.yml in your project root with sensible defaults. Customize it as needed:
extensions: - .go - .js - .tsexcludes: - node_modules/ - vendor/ - "*.test.*"format: markdowngitignore: trueno-copy: falseOptions
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 xmlPriority
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