Generate a full Package.xml using the Salesforce CLI new mdapi commands
$ GenerateFullPackageXML.sh <APIVERSION> <OUTPUTFILE>
Example
$ GenerateFullPackageXML.sh 45.0 ./Package.xml
Check out my article on Medium : Generate a full Package.xml using the Salesforce CLI