GitHub
04/10/2025, 12:21 PMconfig generate command to generate airflow.cfg configuration file
Pull request opened by DTyvoniuk
Description
This PR addresses an issue with generating the airflow.cfg configuration file. Specifically, it updates the command used to generate the configuration from airflow --help to airflow config generate, ensuring that the correct command is executed to generate the configuration.
Changes include:
• Replacing the --help argument with config generate to correctly invoke the configuration generation.
• Redirecting the output from subprocess.PIPE instead of subprocess.DEVNULL to capture the configuration content.
• Saving the generated configuration to the appropriate file path (config_file_path).
• Updating the configuration file after it has been generated.
Related Issues
Closes #9177
meltano/meltanoGitHub
04/10/2025, 4:06 PM