salesforce sfdx mdapi retrieve code example
Example 1: salesforce sfdx mdapi deploy
sfdx force:mdapi:deploy -d <directory> -u TARGETUSERNAME -w 20
Example 2: salesforce sfdx mdapi retrieve
sfdx force:mdapi:retrieve -u TARGETUSERNAME -k package.xml -r .