Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Contributing

Matthias Rolke edited this page Jul 20, 2020 · 7 revisions

lib/describe-metadata-result.json is being used for offline operations (e.g. the changeset command) that are not related to any remote. Therefore i created a developer edition and enabled as many features as possible. To update lib/describe-metadata-result.json for a newer API version run:

$ # create a scratch org
$ sfdx force:org:create -f config/project-scratch-def.json -a force-dev-tool-dev -s
$ # list metadata and sort `metadataObjects` array by `xmlName` property
$ sfdx force:mdapi:describemetadata -u force-dev-tool-dev --json | jq '.result | .metadataObjects|=sort_by(.xmlName)' > ./lib/describe-metadata-result.json
$ npm run fmt
Clone this wiki locally