forcedotcom / dependencies-cli

SFDX plugin for metadata dependencies tooling API
BSD 3-Clause "New" or "Revised" License
106 stars 18 forks source link

Can this cli extension generate a package.xml as output of the dependency analysis? #15

Open vekbote opened 4 years ago

vekbote commented 4 years ago

Can this cli extension generate a package.xml as output of the dependency analysis? It will be a very useful tool for developers to specify e.g. a lightning component or an apex class or VF page in command line and get a package.xml generated for all of its dependencies so they can just run retrieve using that package.xml and move those components from one org to the other.

pgonzaleznetwork commented 3 years ago

@vekbote What you are looking for is known as a "deployment boundary", which is supported by a similar open-source project HappySoup.io

https://github.com/pgonzaleznetwork/sfdc-happy-soup

If you want to use it in the command line you can use the NPM package version of the same

https://github.com/pgonzaleznetwork/sfdc-soup