How is the app/etc/config.php file generated on the module:enable console command?

See also: