Problem
The /discover command only finds profiles.yml at ~/.dbt/profiles.yml. Teams that keep profiles.yml in their project repo (common for CI/CD) or use DBT_PROFILES_DIR cannot have their profiles auto-discovered.
Expected behavior
Support dbt's standard resolution order:
- Explicit path (tool parameter)
DBT_PROFILES_DIR environment variable
- Project-local
profiles.yml (next to dbt_project.yml)
~/.dbt/profiles.yml (default fallback)
Context
Reported by user Garrett McClintock: "Is there a way to point to a different dbt profile path rather than ~/.dbt/profiles.yml? Ours is in our project repo, but discover is only finding the global one."