@@ -51,6 +51,14 @@ To retrieve multiple metadata components, either use multiple --metadata <name>
51
51
<%= config.bin %> <%= command.id %> --package-name Package1 "PackageName With Spaces" Package3
52
52
<%= config.bin %> <%= command.id %> --package-name Package1 --package-name "PackageName With Spaces" --package-name Package3
53
53
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
+
54
62
# flags.api-version.summary
55
63
56
64
Target API version for the retrieve.
@@ -65,7 +73,7 @@ Ignore conflicts and retrieve and save files to your local filesystem, even if t
65
73
66
74
# flags.ignore-conflicts.description
67
75
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.
69
77
70
78
# flags.manifest.summary
71
79
@@ -107,6 +115,26 @@ Number of minutes to wait for the command to complete and display results to the
107
115
108
116
If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
109
117
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
+
110
138
# spinner.start
111
139
112
140
Preparing retrieve request
@@ -128,3 +156,11 @@ There are changes in your local files that conflict with the org changes you're
128
156
- To overwrite the local changes, rerun this command with the --ignore-conflicts flag.
129
157
130
158
- 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