I'm trying to create a small custom tool to quickly deploy between a couple of orgs with NodeJS and this package.
The issue I have is that I don't really know how to create/setup the package.xml and the metadata around it. The specific questions regarding the setup would be:
When deploying a set of custom objects and fields, for example, how should I set/create the package as well as the package.xml? I have seen I can point either a directory or a .zip file, but I don't know how these should look like.
When creating the package.xml, is there a standard way to do it or do I have to construct the file line by line myself?