Configuration
awa can be configured via a .awa.toml file, CLI flags, or both. CLI arguments always override config file values.
.awa.toml Reference
Section titled “.awa.toml Reference”Place .awa.toml in your project root (or specify a path with --config).
# Output directory for generated filesoutput = ".github/agents"
# Template source (local path or Git repo)template = "owner/repo"
# Feature flags to enablefeatures = ["copilot", "claude"]
# Overwrite existing files without promptingforce = false
# Preview changes without writingdry-run = false
# Apply deletions from _delete.txtdelete = false
# Re-fetch cached remote templatesrefresh = false
# Include target-only files in diff outputlist-unknown = false
# Named preset definitions[presets]full = ["copilot", "claude", "cursor", "windsurf", "kilocode", "opencode", "gemini", "roo", "qwen", "codex", "agy", "agents-md"]lite = ["copilot", "claude"]Options Reference
Section titled “Options Reference”| Key | Type | Default | Description |
|---|---|---|---|
output | string | — | Output directory for generated files |
template | string | bundled default | Template source — local path or Git repo |
features | string[] | [] | Feature flags to enable |
force | boolean | false | Overwrite existing files without prompting |
dry-run | boolean | false | Preview changes without writing files |
delete | boolean | false | Apply deletions from _delete.txt |
refresh | boolean | false | Force re-fetch of cached remote templates |
list-unknown | boolean | false | Include target-only files in awa diff output |
Presets
Section titled “Presets”Define named bundles of feature flags in [presets]:
[presets]full = ["copilot", "claude", "cursor", "windsurf"]lite = ["copilot", "claude"]Use presets from the CLI:
awa generate . --preset fullawa generate . --preset full --remove-features windsurfOverride with CLI
Section titled “Override with CLI”CLI arguments take precedence over config file values:
# Even if .awa.toml has force = false, this will force overwriteawa generate . --force
# Even if .awa.toml has features = ["copilot"], this replaces itawa generate . --features claude cursorConfig File Location
Section titled “Config File Location”# Default: .awa.toml in current directoryawa generate .
# Custom pathawa generate . --config ./configs/my-project.tomlExample Configurations
Section titled “Example Configurations”Minimal
Section titled “Minimal”output = ".github/agents"features = ["copilot"]With Remote Template
Section titled “With Remote Template”output = ".github/agents"template = "myorg/awa-templates"features = ["copilot", "claude", "cursor"]With Presets and Deletion
Section titled “With Presets and Deletion”output = ".github/agents"template = "myorg/awa-templates"delete = true
[presets]full = ["copilot", "claude", "cursor", "windsurf"]