#1MinuteTip #SalesforceWinter21 You can now create a custom metadata from custom object with just a single command. Not only will this create the custom metadata but will also populate it with records from the custom object. This is possible using Salesforce CLI Plugin for Custom Metadata Types introduced in Winter ’21 release.
sfdx force:cmdt:generate -n MyCustomMetadata -s MyCustomObject__c
Reference URL: Video – Developer Preview Live – Release Readiness LIVE, Winter ’21 (jump to around 8:00 minutes on the video timeline for a demo of this)