@salesforce/plugin-deploy-retrieve 1.8.4 → 1.8.5-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/lib/commands/deploy.d.ts +5 -0
  2. package/lib/commands/deploy.js +5 -0
  3. package/lib/commands/deploy.js.map +1 -1
  4. package/lib/commands/project/convert/mdapi.d.ts +32 -0
  5. package/lib/commands/project/convert/mdapi.js +173 -0
  6. package/lib/commands/project/convert/mdapi.js.map +1 -0
  7. package/lib/commands/project/convert/source.d.ts +29 -0
  8. package/lib/commands/project/convert/source.js +141 -0
  9. package/lib/commands/project/convert/source.js.map +1 -0
  10. package/lib/commands/project/delete/source.d.ts +69 -0
  11. package/lib/commands/project/delete/source.js +423 -0
  12. package/lib/commands/project/delete/source.js.map +1 -0
  13. package/lib/commands/project/delete/tracking.d.ts +19 -0
  14. package/lib/commands/project/delete/tracking.js +49 -0
  15. package/lib/commands/project/delete/tracking.js.map +1 -0
  16. package/lib/commands/{deploy/metadata → project/deploy}/cancel.d.ts +2 -0
  17. package/lib/commands/{deploy/metadata → project/deploy}/cancel.js +13 -3
  18. package/lib/commands/project/deploy/cancel.js.map +1 -0
  19. package/lib/commands/{deploy/metadata → project/deploy}/preview.d.ts +3 -0
  20. package/lib/commands/{deploy/metadata → project/deploy}/preview.js +9 -3
  21. package/lib/commands/project/deploy/preview.js.map +1 -0
  22. package/lib/commands/{deploy/metadata → project/deploy}/quick.d.ts +3 -0
  23. package/lib/commands/{deploy/metadata → project/deploy}/quick.js +10 -4
  24. package/lib/commands/project/deploy/quick.js.map +1 -0
  25. package/lib/commands/project/deploy/report.d.ts +22 -0
  26. package/lib/commands/{deploy/metadata → project/deploy}/report.js +25 -4
  27. package/lib/commands/project/deploy/report.js.map +1 -0
  28. package/lib/commands/{deploy/metadata → project/deploy}/resume.d.ts +5 -0
  29. package/lib/commands/{deploy/metadata → project/deploy}/resume.js +17 -2
  30. package/lib/commands/project/deploy/resume.js.map +1 -0
  31. package/lib/commands/{deploy/metadata.d.ts → project/deploy/start.d.ts} +10 -2
  32. package/lib/commands/{deploy/metadata.js → project/deploy/start.js} +40 -11
  33. package/lib/commands/project/deploy/start.js.map +1 -0
  34. package/lib/commands/{deploy/metadata → project/deploy}/validate.d.ts +2 -0
  35. package/lib/commands/{deploy/metadata → project/deploy}/validate.js +4 -4
  36. package/lib/commands/project/deploy/validate.js.map +1 -0
  37. package/lib/commands/project/manifest/create.d.ts +26 -0
  38. package/lib/commands/project/manifest/create.js +133 -0
  39. package/lib/commands/project/manifest/create.js.map +1 -0
  40. package/lib/commands/project/reset/tracking.d.ts +21 -0
  41. package/lib/commands/project/reset/tracking.js +64 -0
  42. package/lib/commands/project/reset/tracking.js.map +1 -0
  43. package/lib/commands/{retrieve/metadata → project/retrieve}/preview.d.ts +2 -0
  44. package/lib/commands/{retrieve/metadata → project/retrieve}/preview.js +2 -0
  45. package/lib/commands/project/retrieve/preview.js.map +1 -0
  46. package/lib/commands/{retrieve/metadata.d.ts → project/retrieve/start.d.ts} +3 -1
  47. package/lib/commands/{retrieve/metadata.js → project/retrieve/start.js} +8 -6
  48. package/lib/commands/project/retrieve/start.js.map +1 -0
  49. package/lib/utils/coverage.d.ts +9 -0
  50. package/lib/utils/coverage.js +111 -0
  51. package/lib/utils/coverage.js.map +1 -0
  52. package/lib/utils/deploy.d.ts +9 -5
  53. package/lib/utils/deploy.js +21 -24
  54. package/lib/utils/deploy.js.map +1 -1
  55. package/lib/utils/deployCache.d.ts +8 -2
  56. package/lib/utils/deployCache.js +11 -2
  57. package/lib/utils/deployCache.js.map +1 -1
  58. package/lib/utils/flags.js +1 -5
  59. package/lib/utils/flags.js.map +1 -1
  60. package/lib/utils/manifestCache.d.ts +5 -0
  61. package/lib/utils/manifestCache.js +38 -0
  62. package/lib/utils/manifestCache.js.map +1 -0
  63. package/lib/utils/metadataDeployer.js +1 -0
  64. package/lib/utils/metadataDeployer.js.map +1 -1
  65. package/lib/utils/output.d.ts +44 -4
  66. package/lib/utils/output.js +220 -38
  67. package/lib/utils/output.js.map +1 -1
  68. package/lib/utils/previewOutput.d.ts +2 -1
  69. package/lib/utils/previewOutput.js +14 -22
  70. package/lib/utils/previewOutput.js.map +1 -1
  71. package/lib/utils/types.d.ts +35 -0
  72. package/lib/utils/types.js +3 -1
  73. package/lib/utils/types.js.map +1 -1
  74. package/messages/convert.mdapi.md +78 -0
  75. package/messages/convert.source.md +64 -0
  76. package/messages/delete.source.md +122 -0
  77. package/messages/delete.tracking.md +34 -0
  78. package/messages/deploy.async.md +3 -3
  79. package/messages/deploy.md +5 -1
  80. package/messages/deploy.metadata.cancel.md +10 -6
  81. package/messages/deploy.metadata.md +33 -5
  82. package/messages/deploy.metadata.preview.md +7 -3
  83. package/messages/deploy.metadata.quick.md +11 -3
  84. package/messages/deploy.metadata.report.md +24 -4
  85. package/messages/deploy.metadata.resume.md +17 -5
  86. package/messages/deploy.metadata.validate.md +9 -5
  87. package/messages/manifest.create.md +61 -0
  88. package/messages/retrieve.metadata.md +1 -1
  89. package/messages/retrieve.metadata.preview.md +3 -3
  90. package/oclif.manifest.json +1673 -665
  91. package/package.json +45 -32
  92. package/schemas/project-convert-mdapi.json +29 -0
  93. package/schemas/project-delete-source.json +609 -0
  94. package/schemas/project-delete-tracking.json +19 -0
  95. package/schemas/project-manifest-create.json +19 -0
  96. package/schemas/project-reset-tracking.json +19 -0
  97. package/lib/commands/deploy/metadata/cancel.js.map +0 -1
  98. package/lib/commands/deploy/metadata/preview.js.map +0 -1
  99. package/lib/commands/deploy/metadata/quick.js.map +0 -1
  100. package/lib/commands/deploy/metadata/report.d.ts +0 -14
  101. package/lib/commands/deploy/metadata/report.js.map +0 -1
  102. package/lib/commands/deploy/metadata/resume.js.map +0 -1
  103. package/lib/commands/deploy/metadata/validate.js.map +0 -1
  104. package/lib/commands/deploy/metadata.js.map +0 -1
  105. package/lib/commands/retrieve/metadata/preview.js.map +0 -1
  106. package/lib/commands/retrieve/metadata.js.map +0 -1
  107. /package/schemas/{deploy-metadata-cancel.json → project-deploy-cancel.json} +0 -0
  108. /package/schemas/{deploy-metadata-preview.json → project-deploy-preview.json} +0 -0
  109. /package/schemas/{deploy-metadata-quick.json → project-deploy-quick.json} +0 -0
  110. /package/schemas/{deploy-metadata-report.json → project-deploy-report.json} +0 -0
  111. /package/schemas/{deploy-metadata-resume.json → project-deploy-resume.json} +0 -0
  112. /package/schemas/{deploy-metadata-validate.json → project-deploy-start.json} +0 -0
  113. /package/schemas/{deploy-metadata.json → project-deploy-validate.json} +0 -0
  114. /package/schemas/{retrieve-metadata-preview.json → project-retrieve-preview.json} +0 -0
  115. /package/schemas/{retrieve-metadata.json → project-retrieve-start.json} +0 -0
@@ -26,10 +26,10 @@ Job ID of the deploy operation you want to cancel.
26
26
 
27
27
  These commands return a job ID if they time out or you specified the --async flag:
28
28
 
29
- - sf deploy metadata
30
- - sf deploy metadata validate
31
- - sf deploy metadata quick
32
- - sf deploy metadata cancel
29
+ - <%= config.bin %> project deploy start
30
+ - <%= config.bin %> project deploy validate
31
+ - <%= config.bin %> project deploy quick
32
+ - <%= config.bin %> project deploy cancel
33
33
 
34
34
  The job ID is valid for 10 days from when you started the deploy operation.
35
35
 
@@ -47,7 +47,7 @@ Number of minutes to wait for the command to complete and display results.
47
47
 
48
48
  # flags.wait.description
49
49
 
50
- If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the cancellation, run "sf deploy metadata resume". To check the status of the cancellation, run "sf deploy metadata report".
50
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the cancellation, run "sf project deploy resume". To check the status of the cancellation, run "<%= config.bin %> project deploy report".
51
51
 
52
52
  # flags.async.summary
53
53
 
@@ -55,8 +55,12 @@ Run the command asynchronously.
55
55
 
56
56
  # flags.async.description
57
57
 
58
- The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume watching the cancellation, run "sf deploy metadata resume". To check the status of the cancellation, run "sf deploy metadata report".
58
+ The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume watching the cancellation, run "sf project deploy resume". To check the status of the cancellation, run "<%= config.bin %> project deploy report".
59
59
 
60
60
  # error.CannotCancelDeploy
61
61
 
62
62
  Can't cancel deploy because it's already completed.
63
+
64
+ # error.CannotCancelDeployPre
65
+
66
+ Can't cancel deploy with Job Id %s because it's already completed (status is %s)
@@ -56,6 +56,18 @@ To deploy multiple metadata components, either set multiple --metadata <name> fl
56
56
 
57
57
  Login username or alias for the target org.
58
58
 
59
+ # flags.pre-destructive-changes
60
+
61
+ file path for a manifest (destructiveChangesPre.xml) of components to delete before the deploy
62
+
63
+ # flags.post-destructive-changes
64
+
65
+ file path for a manifest (destructiveChangesPost.xml) of components to delete after the deploy
66
+
67
+ # flags.purge-on-delete
68
+
69
+ specify that deleted components in the destructive changes manifest file are immediately eligible for deletion rather than being stored in the Recycle Bin
70
+
59
71
  # flags.target-org.description
60
72
 
61
73
  Overrides your default org.
@@ -98,7 +110,7 @@ Number of minutes to wait for command to complete and display results.
98
110
 
99
111
  # flags.wait.description
100
112
 
101
- If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume the deployment, run "sf deploy metadata resume". To check the status of the deployment, run "sf deploy metadata report".
113
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume the deployment, run "sf project deploy resume". To check the status of the deployment, run "sf project deploy report".
102
114
 
103
115
  # flags.manifest.summary
104
116
 
@@ -166,7 +178,7 @@ Run the command asynchronously.
166
178
 
167
179
  # flags.async.description
168
180
 
169
- The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run "sf deploy metadata resume". To check the status of the deployment, run "sf deploy metadata report".
181
+ The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run "sf project deploy resume". To check the status of the deployment, run "sf project deploy report".
170
182
 
171
183
  # flags.metadata-dir.summary
172
184
 
@@ -191,7 +203,7 @@ You must specify tests using the --tests flag if the --test-level flag is set to
191
203
 
192
204
  # error.ClientTimeout
193
205
 
194
- The command has timed out, although the deployment is still running. Use "sf deploy metadata resume" to resume watching the deployment.
206
+ The command has timed out, although the deployment is still running. Use "sf project deploy resume" to resume watching the deployment.
195
207
 
196
208
  # error.Conflicts
197
209
 
@@ -201,7 +213,7 @@ There are changes in the org that conflict with the local changes you're trying
201
213
 
202
214
  - To overwrite the remote changes, rerun this command with the --ignore-conflicts flag.
203
215
 
204
- - To overwrite the local changes, run the "sf retrieve metadata" command with the --ignore-conflicts flag.
216
+ - To overwrite the local changes, run the "sf project retrieve start" command with the --ignore-conflicts flag.
205
217
 
206
218
  # error.nothingToDeploy
207
219
 
@@ -209,4 +221,20 @@ No local changes to deploy.
209
221
 
210
222
  # error.nothingToDeploy.Actions
211
223
 
212
- - To see conflicts and ignored files, run "sf deploy metadata preview" with any of the manifest, directory, or metadata flags.
224
+ - To see conflicts and ignored files, run "sf project deploy preview" with any of the manifest, directory, or metadata flags.
225
+
226
+ # flags.junit
227
+
228
+ output JUnit test results
229
+
230
+ # flags.coverage-formatters
231
+
232
+ format of the code coverage results
233
+
234
+ # flags.results-dir
235
+
236
+ output directory for code coverage and JUnit results; defaults to the deploy ID
237
+
238
+ # asyncCoverageJunitWarning
239
+
240
+ You requested an async deploy with code coverage or JUnit results. The reports will be available when the deploy completes.
@@ -6,7 +6,7 @@ Preview a deployment to see what will deploy to the org, the potential conflicts
6
6
 
7
7
  You must run this command from within a project.
8
8
 
9
- The command outputs a table that describes what will happen if you run the "sf deploy metadata" command. The table lists the metadata components that will be deployed and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be deployed because they're included in your .forceignore file.
9
+ The command outputs a table that describes what will happen if you run the "<%= config.bin %> project deploy start" command. The table lists the metadata components that will be deployed and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be deployed because they're included in your .forceignore file.
10
10
 
11
11
  If your org allows source tracking, then this command considers conflicts between the org and local. Some orgs, such as production orgs, never allow source tracking. Use the "--no-track-source" flag when you create a scratch or sandbox org to disable source tracking.
12
12
 
@@ -14,7 +14,7 @@ To preview the deployment of multiple metadata components, either set multiple -
14
14
 
15
15
  # examples
16
16
 
17
- - NOTE: The commands to preview a deployment and actually deploy it use similar flags. We provide a few preview examples here, but see the help for "sf deploy metadata" for more examples that you can adapt for previewing.
17
+ - NOTE: The commands to preview a deployment and actually deploy it use similar flags. We provide a few preview examples here, but see the help for "<%= config.bin %> project deploy start" for more examples that you can adapt for previewing.
18
18
 
19
19
  - Preview the deployment of source files in a directory, such as force-app:
20
20
 
@@ -36,6 +36,10 @@ To preview the deployment of multiple metadata components, either set multiple -
36
36
 
37
37
  Login username or alias for the target org.
38
38
 
39
+ # flags.only-ignored.summary
40
+
41
+ Preview files to be ignored in a deployment.
42
+
39
43
  # flags.target-org.description
40
44
 
41
45
  Overrides your default org.
@@ -90,4 +94,4 @@ There are changes in the org that conflict with the local changes you're trying
90
94
 
91
95
  - To overwrite the remote changes, rerun this command with the --ignore-conflicts flag.
92
96
 
93
- - To overwrite the local changes, run the "sf retrieve metadata" command with the --ignore-conflicts flag.
97
+ - To overwrite the local changes, run the "sf project retrieve start" command with the --ignore-conflicts flag.
@@ -4,7 +4,7 @@ Quickly deploy a validated deployment to an org.
4
4
 
5
5
  # description
6
6
 
7
- Before you run this command, first create a validated deployment with the "sf deploy metadata validate" command, which returns a job ID. Validated deployments haven't been deployed to the org yet; you deploy them with this command. Either pass the job ID to this command or use the --use-most-recent flag to use the job ID of the most recently validated deployment. For the quick deploy to succeed, the associated validated deployment must also have succeeded.
7
+ Before you run this command, first create a validated deployment with the "<%= config.bin %> project deploy validate" command, which returns a job ID. Validated deployments haven't been deployed to the org yet; you deploy them with this command. Either pass the job ID to this command or use the --use-most-recent flag to use the job ID of the most recently validated deployment. For the quick deploy to succeed, the associated validated deployment must also have succeeded.
8
8
 
9
9
  Executing this quick deploy command takes less time than a standard deploy because it skips running Apex tests. These tests were previously run as part of the validation. Validating first and then running a quick deploy is useful if the deployment to your production org take several hours and you don’t want to risk a failed deploy.
10
10
 
@@ -36,13 +36,21 @@ Use the job ID of the most recently validated deployment.
36
36
 
37
37
  For performance reasons, this flag uses only job IDs that were validated in the past 3 days or less. If your most recent deployment validation was more than 3 days ago, this flag won't find a job ID.
38
38
 
39
+ # flags.api-version.summary
40
+
41
+ Target API version for the deploy.
42
+
43
+ # flags.api-version.description
44
+
45
+ Use this flag to override the default API version with the API version of your package.xml file. The default API version is the latest version supported by the CLI.
46
+
39
47
  # flags.wait.summary
40
48
 
41
49
  Number of minutes to wait for the command to complete and display results.
42
50
 
43
51
  # flags.wait.description
44
52
 
45
- If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the deploy, run "sf deploy metadata resume". To check the status of the deploy, run "sf deploy metadata report".
53
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the deploy, run "<%= config.bin %> project deploy resume". To check the status of the deploy, run "<%= config.bin %> project deploy report".
46
54
 
47
55
  # flags.verbose.summary
48
56
 
@@ -58,7 +66,7 @@ Run the command asynchronously.
58
66
 
59
67
  # flags.async.description
60
68
 
61
- The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume watching the deploy, run "sf deploy metadata resume". To check the status of the deploy, run "sf deploy metadata report".
69
+ The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To resume watching the deploy, run "<%= config.bin %> project deploy resume". To check the status of the deploy, run "<%= config.bin %> project deploy report".
62
70
 
63
71
  # flags.target-org.summary
64
72
 
@@ -18,6 +18,14 @@ Run this command by either passing it a job ID or specifying the --use-most-rece
18
18
 
19
19
  <%= config.bin %> <%= command.id %> --use-most-recent
20
20
 
21
+ # flags.target-org.summary
22
+
23
+ Login username or alias for the target org.
24
+
25
+ # flags.api-version.summary
26
+
27
+ API version to use
28
+
21
29
  # flags.job-id.summary
22
30
 
23
31
  Job ID of the deploy operation you want to check the status of.
@@ -26,10 +34,10 @@ Job ID of the deploy operation you want to check the status of.
26
34
 
27
35
  These commands return a job ID if they time out or you specified the --async flag:
28
36
 
29
- - sf deploy metadata
30
- - sf deploy metadata validate
31
- - sf deploy metadata quick
32
- - sf deploy metadata cancel
37
+ - <%= config.bin %> project deploy start
38
+ - <%= config.bin %> project deploy validate
39
+ - <%= config.bin %> project deploy quick
40
+ - <%= config.bin %> project deploy cancel
33
41
 
34
42
  The job ID is valid for 10 days from when you started the deploy operation.
35
43
 
@@ -40,3 +48,15 @@ Use the job ID of the most recent deploy operation.
40
48
  # flags.use-most-recent.description
41
49
 
42
50
  For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less. If your most recent operation was more than 3 days ago, this flag won't find a job ID.
51
+
52
+ # flags.junit
53
+
54
+ output JUnit test results
55
+
56
+ # flags.coverage-formatters
57
+
58
+ format of the code coverage results
59
+
60
+ # flags.results-dir
61
+
62
+ output directory for code coverage and JUnit results; defaults to the deploy ID
@@ -26,10 +26,10 @@ Job ID of the deploy operation you want to resume.
26
26
 
27
27
  These commands return a job ID if they time out or you specified the --async flag:
28
28
 
29
- - sf deploy metadata
30
- - sf deploy metadata validate
31
- - sf deploy metadata quick
32
- - sf deploy metadata cancel
29
+ - <%= config.bin %> project deploy start
30
+ - <%= config.bin %> project deploy validate
31
+ - <%= config.bin %> project deploy quick
32
+ - <%= config.bin %> project deploy cancel
33
33
 
34
34
  The job ID is valid for 10 days from when you started the deploy operation.
35
35
 
@@ -47,7 +47,7 @@ Number of minutes to wait for the command to complete and display results.
47
47
 
48
48
  # flags.wait.description
49
49
 
50
- If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the deploy operation, run this command again. To check the status of the deploy operation, run "sf deploy metadata report".
50
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To resume watching the deploy operation, run this command again. To check the status of the deploy operation, run "<%= config.bin %> project deploy report".
51
51
 
52
52
  # flags.verbose.summary
53
53
 
@@ -60,3 +60,15 @@ Show concise output of the deploy operation result.
60
60
  # error.DeployNotResumable
61
61
 
62
62
  Job ID %s is not resumable with status %s.
63
+
64
+ # flags.junit
65
+
66
+ output JUnit test results
67
+
68
+ # flags.coverage-formatters
69
+
70
+ format of the code coverage results
71
+
72
+ # flags.results-dir
73
+
74
+ output directory for code coverage and JUnit results; defaults to the deploy ID
@@ -4,7 +4,7 @@ Validate a metadata deployment without actually executing it.
4
4
 
5
5
  # description
6
6
 
7
- Use this command to verify whether a deployment will succeed without actually deploying the metadata to your org. This command is similar to "sf deploy metadata", except you're required to run Apex tests, and the command returns a job ID rather than executing the deployment. If the validation succeeds, then you pass this job ID to the "sf deploy metadata quick" command to actually deploy the metadata. This quick deploy takes less time because it skips running Apex tests. The job ID is valid for 10 days from when you started the validation. Validating first is useful if the deployment to your production org take several hours and you don’t want to risk a failed deploy.
7
+ Use this command to verify whether a deployment will succeed without actually deploying the metadata to your org. This command is similar to "<%= config.bin %> project deploy start", except you're required to run Apex tests, and the command returns a job ID rather than executing the deployment. If the validation succeeds, then you pass this job ID to the "<%= config.bin %> project deploy quick" command to actually deploy the metadata. This quick deploy takes less time because it skips running Apex tests. The job ID is valid for 10 days from when you started the validation. Validating first is useful if the deployment to your production org take several hours and you don’t want to risk a failed deploy.
8
8
 
9
9
  You must run this command from within a project.
10
10
 
@@ -14,7 +14,7 @@ To validate the deployment of multiple metadata components, either set multiple
14
14
 
15
15
  # examples
16
16
 
17
- - NOTE: These examples focus on validating large deployments. See the help for "sf deploy metadata" for examples of deploying smaller sets of metadata which you can also use to validate.
17
+ - NOTE: These examples focus on validating large deployments. See the help for "<%= config.bin %> project deploy start" for examples of deploying smaller sets of metadata which you can also use to validate.
18
18
 
19
19
  - Validate the deployment of all source files in a directory to the default org:
20
20
 
@@ -72,7 +72,7 @@ Number of minutes to wait for the command to complete and display results.
72
72
 
73
73
  # flags.wait.description
74
74
 
75
- If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume watching the validation, run "sf deploy metadata resume". To check the status of the validation, run "sf deploy metadata report".
75
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume watching the validation, run "<%= config.bin %> project deploy resume". To check the status of the validation, run "<%= config.bin %> project deploy report".
76
76
 
77
77
  # flags.manifest.summary
78
78
 
@@ -112,7 +112,7 @@ Run the command asynchronously.
112
112
 
113
113
  # flags.async.description
114
114
 
115
- The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume watching the validation, run "sf deploy metadata resume". To check the status of the validation, run "sf deploy metadata report".
115
+ The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume watching the validation, run "<%= config.bin %> project deploy resume". To check the status of the validation, run "<%= config.bin %> project deploy report".
116
116
 
117
117
  # flags.metadata-dir.summary
118
118
 
@@ -126,6 +126,10 @@ Indicates that the metadata zip file points to a directory structure for a singl
126
126
 
127
127
  Successfully validated the deployment (%s).
128
128
 
129
+ # info.suggestedQuickDeploy
130
+
131
+ Run "%s project deploy quick --job-id %s" to execute this deploy
132
+
129
133
  # error.FailedValidation
130
134
 
131
- Falied to validate the deployment (%s).
135
+ Failed to validate the deployment (%s).
@@ -0,0 +1,61 @@
1
+ # description
2
+
3
+ create a project manifest that lists the metadata components you want to deploy or retrieve
4
+ Create a manifest from a list of metadata components (--metadata) or from one or more local directories that contain source files (--source-path). You can specify either of these parameters, not both.
5
+
6
+ Use --manifest-type to specify the type of manifest you want to create. The resulting manifest files have specific names, such as the standard package.xml or destructiveChanges.xml to delete metadata. Valid values for this parameter, and their respective file names, are:
7
+
8
+ package : package.xml (default)
9
+ pre : destructiveChangesPre.xml
10
+ post : destructiveChangesPost.xml
11
+ destroy : destructiveChanges.xml
12
+
13
+ See https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_deleting_files.htm for information about these destructive manifest files.
14
+
15
+ Use --manifest-name to specify a custom name for the generated manifest if the pre-defined ones don’t suit your needs. You can specify either --manifest-type or --manifest-name, but not both.
16
+
17
+ # examples
18
+
19
+ - $ <%= config.bin %> <%= command.id %> -m ApexClass
20
+
21
+ - $ <%= config.bin %> <%= command.id %> -m ApexClass:MyApexClass --manifest-type destroy
22
+
23
+ - $ <%= config.bin %> <%= command.id %> --source-path force-app --manifest-name myNewManifest
24
+
25
+ - $ <%= config.bin %> <%= command.id %> --from-org test@myorg.com --include-packages unlocked
26
+
27
+ # flags.include-packages
28
+
29
+ comma-separated list of package types (managed, unlocked) whose metadata is included in the manifest; by default, metadata in packages is ignored
30
+
31
+ # flags.from-org
32
+
33
+ username or alias of the org that contains the metadata components from which to build a manifest
34
+
35
+ # flags.manifest-type
36
+
37
+ type of manifest to create; the type determines the name of the created file
38
+
39
+ # flags.manifest-name
40
+
41
+ name of a custom manifest file to create
42
+
43
+ # flags.output-dir
44
+
45
+ directory to save the created manifest
46
+
47
+ # flags.source-path
48
+
49
+ comma-separated list of paths to the local source files to include in the manifest
50
+
51
+ # flags.metadata
52
+
53
+ comma-separated list of names of metadata components to include in the manifest
54
+
55
+ # success
56
+
57
+ successfully wrote %s
58
+
59
+ # successOutputDir
60
+
61
+ successfully wrote %s to %s
@@ -157,7 +157,7 @@ There are changes in your local files that conflict with the org changes you're
157
157
 
158
158
  - To overwrite the local changes, rerun this command with the --ignore-conflicts flag.
159
159
 
160
- - To overwrite the remote changes, run the "sf deploy metadata" command with the --ignore-conflicts flag.
160
+ - To overwrite the remote changes, run the "sf project deploy start" command with the --ignore-conflicts flag.
161
161
 
162
162
  # info.WroteZipFile
163
163
 
@@ -6,7 +6,7 @@ Preview a retrieval to see what will be retrieved from the org, the potential co
6
6
 
7
7
  You must run this command from within a project.
8
8
 
9
- The command outputs a table that describes what will happen if you run the "sf retrieve metadata" command. The table lists the metadata components that will be retrieved and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be retrieved because they're included in your .forceignore file.
9
+ The command outputs a table that describes what will happen if you run the "<%= config.bin %> project retrieve start" command. The table lists the metadata components that will be retrieved and deleted. The table also lists the current conflicts between files in your local project and components in the org. Finally, the table lists the files that won't be retrieved because they're included in your .forceignore file.
10
10
 
11
11
  If your org allows source tracking, then this command considers conflicts between the org and local. Some orgs, such as production orgs, never allow source tracking. Use the "--no-track-source" flag when you create a scratch or sandbox org to disable source tracking.
12
12
 
@@ -54,6 +54,6 @@ There are local changes that conflict with the remote changes that would be retr
54
54
 
55
55
  # error.Conflicts.Actions
56
56
 
57
- - To overwrite the remote changes, run the "sf deploy metadata" command with the --ignore-conflicts flag.
57
+ - To overwrite the remote changes, run the "project deploy start" command with the --ignore-conflicts flag.
58
58
 
59
- - To overwrite the local changes, run the "sf retrieve metadata" command with the --ignore-conflicts flag.
59
+ - To overwrite the local changes, run the "project retrieve start" command with the --ignore-conflicts flag.