WP CLI tool can get information from style.css like the domain. https://developer.wordpress.org/themes/basics/main-stylesheet-style-css/