Currently when we issue the
sfdx force:source:pull -f command, SFDX only pulls the differences in components.
I want to know if there is a way to get a complete refreshed copy of "force-app" subfolders. [on the lines of a
eclipse project pull]
Ways I tried:
I authenticated my scratch org with
sfdx force:auth:web:login and then tried to retrieve the metadata with
sfdx force:mdapi:retrieve -s -r ./temp -u <authenticated user>. What I learnt is:
1) The mdapi retrieve command only packages/zips whatever is present in force-app [that is my already out of sync local copy] | if the force-app folder is missing, the command fails.
2) In scratch org you cannot create packages, so you cannot add the
-p parameters to the
sfdx force:mdapi:retrieve command.
Please help me to find a way to pull all my metadata.