@@ -51,6 +51,14 @@ To retrieve multiple metadata components, either use multiple --metadata <name>
5151 <%= config.bin %> <%= command.id %> --package-name Package1 "PackageName With Spaces" Package3
5252 <%= config.bin %> <%= command.id %> --package-name Package1 --package-name "PackageName With Spaces" --package-name Package3
5353
54+ - Retrieve using Metadata API
55+
56+ <%= config.bin %> <%= command.id %> --source-dir force-app --target-metadata-dir output
57+
58+ - Retrieve using Metadata API and automatically unzip the contents
59+
60+ <%= config.bin %> <%= command.id %> --source-dir force-app --target-metadata-dir output --unzip
61+
5462# flags.api-version.summary
5563
5664Target API version for the retrieve.
@@ -65,7 +73,7 @@ Ignore conflicts and retrieve and save files to your local filesystem, even if t
6573
6674# flags.ignore-conflicts.description
6775
68- This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.
76+ This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as production orgs.
6977
7078# flags.manifest.summary
7179
@@ -107,6 +115,26 @@ Number of minutes to wait for the command to complete and display results to the
107115
108116If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
109117
118+ # flags.metadata-dir.summary
119+
120+ Root of directory or zip file of metadata formatted files to retrieve.
121+
122+ # flags.single-package.summary
123+
124+ Indicates that the zip file points to a directory structure for a single package.
125+
126+ # flags.target-metadata-dir.summary
127+
128+ Directory root for the retrieved files.
129+
130+ # flags.unzip.summary
131+
132+ Extract all files from the retrieved zip file.
133+
134+ # flags.zip-file-name.summary
135+
136+ File name to use for the retrieved zip file.
137+
110138# spinner.start
111139
112140Preparing retrieve request
@@ -128,3 +156,11 @@ There are changes in your local files that conflict with the org changes you're
128156- To overwrite the local changes, rerun this command with the --ignore-conflicts flag.
129157
130158- To overwrite the remote changes, run the "sf deploy metadata" command with the --ignore-conflicts flag.
159+
160+ # info.WroteZipFile
161+
162+ Wrote retrieve zip file to %s.
163+
164+ # info.ExtractedZipFile
165+
166+ Extracted %s to %s.
0 commit comments