feat: mark which of the default_config_files exist in the verbose output

This commit is contained in:
Paul Gauthier (aider) 2024-08-14 10:05:55 -07:00
parent e55513bd79
commit cdab3fd17f

View file

@ -330,7 +330,8 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
if args.verbose:
print("Config files search order, if no --config:")
for file in default_config_files:
print(f" - {file}")
exists = "[EXISTS]" if Path(file).exists() else ""
print(f" - {file} {exists}")
default_config_files.reverse()