Skip to content

Configuration

Create .promptext.yml in your project root:

extensions:
- .go
- .js
- .ts
excludes:
- node_modules/
- vendor/
- "*.test.*"
format: markdown
gitignore: true
no-copy: false
SettingDescriptionDefault
extensionsFile types to includeAuto-detect
excludesPatterns to skipCommon build dirs
formatOutput formatmarkdown
gitignoreRespect .gitignoretrue
no-copySkip clipboard copyfalse
verboseShow full outputfalse
debugEnable timing logsfalse

Override config file with command-line flags:

Terminal window
promptext -e .go,.js -x vendor/ -f xml
  1. Command flags (highest)
  2. Config file
  3. Defaults (lowest)

Example with mixed configuration:

Terminal window
# Config file sets extensions to [.go, .js]
# Command overrides to include only .go files
promptext -e .go