Merge branch 'main' into mixpanel

This commit is contained in:
Paul Gauthier 2024-08-16 10:42:55 -07:00
commit 93b8cb9cec
24 changed files with 2527 additions and 313 deletions

View file

@ -328,6 +328,17 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
parser = get_parser(default_config_files, git_root)
args, unknown = parser.parse_known_args(argv)
if args.verbose:
print("Config files search order, if no --config:")
for file in default_config_files:
exists = "(exists)" if Path(file).exists() else ""
print(f" - {file} {exists}")
default_config_files.reverse()
parser = get_parser(default_config_files, git_root)
args, unknown = parser.parse_known_args(argv)
# Load the .env file specified in the arguments
loaded_dotenvs = load_dotenv_files(git_root, args.env_file)