@salesforce/plugin-deploy-retrieve 1.8.5-beta.6 → 1.8.5-beta.8

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 (42) hide show
  1. package/lib/commands/project/deploy/cancel.js +1 -1
  2. package/lib/commands/project/deploy/cancel.js.map +1 -1
  3. package/lib/commands/project/deploy/quick.js +1 -1
  4. package/lib/commands/project/deploy/quick.js.map +1 -1
  5. package/lib/commands/project/deploy/report.d.ts +0 -3
  6. package/lib/commands/project/deploy/report.js +10 -11
  7. package/lib/commands/project/deploy/report.js.map +1 -1
  8. package/lib/commands/project/deploy/resume.js +4 -4
  9. package/lib/commands/project/deploy/resume.js.map +1 -1
  10. package/lib/commands/project/deploy/start.js +10 -10
  11. package/lib/commands/project/deploy/start.js.map +1 -1
  12. package/lib/commands/project/deploy/validate.js +2 -2
  13. package/lib/commands/project/deploy/validate.js.map +1 -1
  14. package/lib/commands/project/list/ignored.js +2 -2
  15. package/lib/commands/project/list/ignored.js.map +1 -1
  16. package/lib/commands/project/retrieve/start.js +1 -1
  17. package/lib/commands/project/retrieve/start.js.map +1 -1
  18. package/lib/formatters/asyncDeployCancelResultFormatter.d.ts +2 -1
  19. package/lib/formatters/asyncDeployCancelResultFormatter.js +4 -3
  20. package/lib/formatters/asyncDeployCancelResultFormatter.js.map +1 -1
  21. package/lib/formatters/asyncDeployResultFormatter.d.ts +2 -1
  22. package/lib/formatters/asyncDeployResultFormatter.js +5 -4
  23. package/lib/formatters/asyncDeployResultFormatter.js.map +1 -1
  24. package/lib/utils/deploy.d.ts +1 -1
  25. package/lib/utils/deploy.js +2 -2
  26. package/lib/utils/deploy.js.map +1 -1
  27. package/messages/convert.mdapi.md +4 -2
  28. package/messages/convert.source.md +4 -2
  29. package/messages/delete.source.md +5 -3
  30. package/messages/deploy.async.md +3 -3
  31. package/messages/deploy.md +1 -1
  32. package/messages/deploy.metadata.cancel.md +2 -2
  33. package/messages/deploy.metadata.md +17 -17
  34. package/messages/deploy.metadata.preview.md +5 -5
  35. package/messages/deploy.metadata.report.md +6 -14
  36. package/messages/deploy.metadata.resume.md +6 -6
  37. package/messages/list.ignored.md +17 -5
  38. package/messages/manifest.generate.md +7 -5
  39. package/messages/retrieve.metadata.md +4 -4
  40. package/messages/retrieve.metadata.preview.md +4 -4
  41. package/oclif.manifest.json +48 -64
  42. package/package.json +3 -3
@@ -10,6 +10,8 @@ To convert Metadata API–formatted files into the source format, run "<%= confi
10
10
 
11
11
  To specify a package name that includes spaces, enclose the name in single quotes.
12
12
 
13
+ To convert multiple components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir.
14
+
13
15
  # examples
14
16
 
15
17
  - Convert source-formatted files in the specified directory into metadata-formatted files; writes converted files into a new directory:
@@ -42,11 +44,11 @@ Path to the manifest (package.xml) file that specifies the metadata types to con
42
44
 
43
45
  # flags.source-dir.summary
44
46
 
45
- Comma-separated list of paths to the local source files to convert.
47
+ Paths to the local source files to convert.
46
48
 
47
49
  # flags.metadata.summary
48
50
 
49
- Comma-separated list of metadata component names to convert.
51
+ Metadata component names to convert.
50
52
 
51
53
  # flags.manifest.description
52
54
 
@@ -4,10 +4,12 @@ Delete source from your project and from a non-source-tracked org.
4
4
 
5
5
  # description
6
6
 
7
- Use this command to delete components from orgs that don’t have source tracking. To remove deleted items from orgs that have source tracking enabled, "sf project deploy start".
7
+ Use this command to delete components from orgs that don’t have source tracking. To remove deleted items from orgs that have source tracking enabled, "<%= config.bin %> project deploy start".
8
8
 
9
9
  When you run this command, both the local source file and the metadata component in the org are deleted.
10
10
 
11
+ To delete multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir.
12
+
11
13
  # examples
12
14
 
13
15
  - Delete all local Apex source files and all Apex classes from the org with alias "my-scratch":
@@ -32,11 +34,11 @@ When you run this command, both the local source file and the metadata component
32
34
 
33
35
  # flags.source-dir.summary
34
36
 
35
- Comma-separated list of source file paths to delete.
37
+ Source file paths to delete.
36
38
 
37
39
  # flags.metadata.summary
38
40
 
39
- Comma-separated list of names of metadata components to delete.
41
+ Metadata components to delete.
40
42
 
41
43
  # flags.no-prompt.summary
42
44
 
@@ -8,12 +8,12 @@ Deploy has been queued for cancellation.
8
8
 
9
9
  # info.AsyncDeployCancel
10
10
 
11
- Run "sf project deploy cancel --job-id %s" to cancel the deploy.
11
+ Run "%s project deploy cancel --job-id %s" to cancel the deploy.
12
12
 
13
13
  # info.AsyncDeployStatus
14
14
 
15
- Run "sf project deploy report --job-id %s" to get the latest status.
15
+ Run "%s project deploy report --job-id %s" to get the latest status.
16
16
 
17
17
  # info.AsyncDeployResume
18
18
 
19
- Run "sf project deploy resume --job-id %s" to resume watching the deploy.
19
+ Run "%s project deploy resume --job-id %s" to resume watching the deploy.
@@ -12,7 +12,7 @@ For example, if your local project contains a source directory with metadata fil
12
12
 
13
13
  The command stores your responses in the "deploy-options.json" file in your local project directory and uses them as defaults when you rerun the command. Specify --interactive to force the command to reprompt.
14
14
 
15
- Use this command for quick and simple deploys. For more complicated deployments, use the environment-specific commands, such as "sf project deploy start", that provide additional flags.
15
+ Use this command for quick and simple deploys. For more complicated deployments, use the environment-specific commands, such as "<%= config.bin %> project deploy start", that provide additional flags.
16
16
 
17
17
  # examples
18
18
 
@@ -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 project deploy resume". To check the status of the cancellation, run "<%= config.bin %> project deploy 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 "<%= config.bin %> 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,7 +55,7 @@ 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 project deploy resume". To check the status of the cancellation, run "<%= config.bin %> project deploy 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 "<%= config.bin %> project deploy resume". To check the status of the cancellation, run "<%= config.bin %> project deploy report".
59
59
 
60
60
  # error.CannotCancelDeploy
61
61
 
@@ -56,17 +56,17 @@ 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
59
+ # flags.pre-destructive-changes.summary
60
60
 
61
- file path for a manifest (destructiveChangesPre.xml) of components to delete before the deploy
61
+ File path for a manifest (destructiveChangesPre.xml) of components to delete before the deploy
62
62
 
63
- # flags.post-destructive-changes
63
+ # flags.post-destructive-changes.summary
64
64
 
65
- file path for a manifest (destructiveChangesPost.xml) of components to delete after the deploy
65
+ File path for a manifest (destructiveChangesPost.xml) of components to delete after the deploy.
66
66
 
67
- # flags.purge-on-delete
67
+ # flags.purge-on-delete.summary
68
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
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
70
 
71
71
  # flags.target-org.description
72
72
 
@@ -110,7 +110,7 @@ Number of minutes to wait for command to complete and display results.
110
110
 
111
111
  # flags.wait.description
112
112
 
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".
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 "<%= config.bin %> project deploy resume". To check the status of the deployment, run "<%= config.bin %> project deploy report".
114
114
 
115
115
  # flags.manifest.summary
116
116
 
@@ -178,7 +178,7 @@ Run the command asynchronously.
178
178
 
179
179
  # flags.async.description
180
180
 
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".
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 "<%= config.bin %> project deploy resume". To check the status of the deployment, run "<%= config.bin %> project deploy report".
182
182
 
183
183
  # flags.metadata-dir.summary
184
184
 
@@ -203,7 +203,7 @@ You must specify tests using the --tests flag if the --test-level flag is set to
203
203
 
204
204
  # error.ClientTimeout
205
205
 
206
- The command has timed out, although the deployment is still running. Use "sf project deploy resume" to resume watching the deployment.
206
+ The command has timed out, although the deployment is still running. Use "%s project deploy resume" to resume watching the deployment.
207
207
 
208
208
  # error.Conflicts
209
209
 
@@ -213,7 +213,7 @@ There are changes in the org that conflict with the local changes you're trying
213
213
 
214
214
  - To overwrite the remote changes, rerun this command with the --ignore-conflicts flag.
215
215
 
216
- - To overwrite the local changes, run the "sf project retrieve start" command with the --ignore-conflicts flag.
216
+ - To overwrite the local changes, run the "%s project retrieve start" command with the --ignore-conflicts flag.
217
217
 
218
218
  # error.nothingToDeploy
219
219
 
@@ -221,19 +221,19 @@ No local changes to deploy.
221
221
 
222
222
  # error.nothingToDeploy.Actions
223
223
 
224
- - To see conflicts and ignored files, run "sf project deploy preview" with any of the manifest, directory, or metadata flags.
224
+ - To see conflicts and ignored files, run "%s project deploy preview" with any of the manifest, directory, or metadata flags.
225
225
 
226
- # flags.junit
226
+ # flags.junit.summary
227
227
 
228
- output JUnit test results
228
+ Output JUnit test results.
229
229
 
230
- # flags.coverage-formatters
230
+ # flags.coverage-formatters.summary
231
231
 
232
- format of the code coverage results
232
+ Format of the code coverage results.
233
233
 
234
- # flags.results-dir
234
+ # flags.results-dir.summary
235
235
 
236
- output directory for code coverage and JUnit results; defaults to the deploy ID
236
+ Output directory for code coverage and JUnit results; defaults to the deploy ID.
237
237
 
238
238
  # asyncCoverageJunitWarning
239
239
 
@@ -16,13 +16,13 @@ To preview the deployment of multiple metadata components, either set multiple -
16
16
 
17
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
- - Preview the deployment of source files in a directory, such as force-app:
19
+ - Preview the deployment of source files in a directory, such as force-app, to your default org:
20
20
 
21
21
  <%= config.bin %> <%= command.id %> --source-dir force-app
22
22
 
23
- - Preview the deployment of all Apex classes:
23
+ - Preview the deployment of all Apex classes to an org with alias "my-scratch":
24
24
 
25
- <%= config.bin %> <%= command.id %> --metadata ApexClass
25
+ <%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch
26
26
 
27
27
  - Preview deployment of a specific Apex class:
28
28
 
@@ -68,7 +68,7 @@ All child components are included. If you specify this flag, don’t specify --m
68
68
 
69
69
  # flags.ignore-conflicts.summary
70
70
 
71
- Ignore conflicts and deploy local files, even if they overwrite changes in the org.
71
+ Don't display conflicts in preview of the deployment.
72
72
 
73
73
  # flags.ignore-conflicts.description
74
74
 
@@ -94,4 +94,4 @@ There are changes in the org that conflict with the local changes you're trying
94
94
 
95
95
  - To overwrite the remote changes, rerun this command with the --ignore-conflicts flag.
96
96
 
97
- - To overwrite the local changes, run the "sf project retrieve start" command with the --ignore-conflicts flag.
97
+ - To overwrite the local changes, run the "%s project retrieve start" command with the --ignore-conflicts flag.
@@ -18,14 +18,6 @@ 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
-
29
21
  # flags.job-id.summary
30
22
 
31
23
  Job ID of the deploy operation you want to check the status of.
@@ -49,14 +41,14 @@ Use the job ID of the most recent deploy operation.
49
41
 
50
42
  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
43
 
52
- # flags.junit
44
+ # flags.junit.summary
53
45
 
54
- output JUnit test results
46
+ Output JUnit test results.
55
47
 
56
- # flags.coverage-formatters
48
+ # flags.coverage-formatters.summary
57
49
 
58
- format of the code coverage results
50
+ Format of the code coverage results
59
51
 
60
- # flags.results-dir
52
+ # flags.results-dir.summary
61
53
 
62
- output directory for code coverage and JUnit results; defaults to the deploy ID
54
+ Output directory for code coverage and JUnit results; defaults to the deploy ID.
@@ -61,14 +61,14 @@ Show concise output of the deploy operation result.
61
61
 
62
62
  Job ID %s is not resumable with status %s.
63
63
 
64
- # flags.junit
64
+ # flags.junit.summary
65
65
 
66
- output JUnit test results
66
+ Output JUnit test results.
67
67
 
68
- # flags.coverage-formatters
68
+ # flags.coverage-formatters.summary
69
69
 
70
- format of the code coverage results
70
+ Format of the code coverage results.
71
71
 
72
- # flags.results-dir
72
+ # flags.results-dir.summary
73
73
 
74
- output directory for code coverage and JUnit results; defaults to the deploy ID
74
+ Output directory for code coverage and JUnit results; defaults to the deploy ID.
@@ -1,16 +1,28 @@
1
+ # summary
2
+
3
+ Check your local project package directories for forceignored files.
4
+
1
5
  # description
2
6
 
3
- check your local project package directories for forceignored files
7
+ When deploying or retrieving metadata between your local project and an org, you can specify the source files you want to exclude with a .forceignore file. The .forceignore file structure mimics the .gitignore structure. Each line in .forceignore specifies a pattern that corresponds to one or more files. The files typically represent metadata components, but can be any files you want to exclude, such as LWC configuration JSON files or tests.
4
8
 
5
9
  # examples
6
10
 
7
- - $ <%= config.bin %> <%= command.id %>
11
+ - List all the files in all package directories that are ignored:
12
+
13
+ <%= config.bin %> <%= command.id %>
14
+
15
+ - List all the files in a specific directory that are ignored:
16
+
17
+ <%= config.bin %> <%= command.id %> --source-dir force-app
18
+
19
+ - Check if a particular file is ignored:
8
20
 
9
- - $ <%= config.bin %> <%= command.id %> --source-dir force-app
21
+ <%= config.bin %> <%= command.id %> --source-dir package.xml
10
22
 
11
- # flags.source-dir
23
+ # flags.source-dir.summary
12
24
 
13
- file or directory of files that the command checks for foreceignored files
25
+ File or directory of files that the command checks for foreceignored files.
14
26
 
15
27
  # invalidSourceDir
16
28
 
@@ -17,11 +17,13 @@ See https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/met
17
17
 
18
18
  Use --name to specify a custom name for the generated manifest if the pre-defined ones don’t suit your needs. You can specify either --type or --name, but not both.
19
19
 
20
+ To include multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --include-packages and --source-dir.
21
+
20
22
  # examples
21
23
 
22
- - Create a manifest for deploying or retrieving all Apex classes:
24
+ - Create a manifest for deploying or retrieving all Apex classes and custom objects:
23
25
 
24
- $ <%= config.bin %> <%= command.id %> --metadata ApexClass
26
+ $ <%= config.bin %> <%= command.id %> --metadata ApexClass --metadata CustomObject
25
27
 
26
28
  - Create a manifest for deleting the specified Apex class:
27
29
 
@@ -37,7 +39,7 @@ Use --name to specify a custom name for the generated manifest if the pre-define
37
39
 
38
40
  # flags.include-packages.summary
39
41
 
40
- Comma-separated list of package types (managed, unlocked) whose metadata is included in the manifest; by default, metadata in packages is ignored.
42
+ Package types (managed, unlocked) whose metadata is included in the manifest; by default, metadata in packages is ignored.
41
43
 
42
44
  # flags.from-org.summary
43
45
 
@@ -57,11 +59,11 @@ Directory to save the created manifest.
57
59
 
58
60
  # flags.source-dir.summary
59
61
 
60
- Comma-separated list of paths to the local source files to include in the manifest.
62
+ Paths to the local source files to include in the manifest.
61
63
 
62
64
  # flags.metadata.summary
63
65
 
64
- Comma-separated list of names of metadata components to include in the manifest.
66
+ Names of metadata components to include in the manifest.
65
67
 
66
68
  # success
67
69
 
@@ -14,13 +14,13 @@ To retrieve multiple metadata components, either use multiple --metadata <name>
14
14
 
15
15
  # examples
16
16
 
17
- - Retrieve remote changes:
17
+ - Retrieve remote changes from your default org:
18
18
 
19
19
  <%= config.bin %> <%= command.id %>
20
20
 
21
- - Retrieve the source files in a directory:
21
+ - Retrieve the source files in a directory from an org with alias "my-scratch":
22
22
 
23
- <%= config.bin %> <%= command.id %> --source-dir path/to/source
23
+ <%= config.bin %> <%= command.id %> --source-dir path/to/source --target-org my-scratch
24
24
 
25
25
  - Retrieve a specific Apex class and the objects whose source is in a directory (both examples are equivalent):
26
26
 
@@ -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 project deploy start" command with the --ignore-conflicts flag.
160
+ - To overwrite the remote changes, run the "%s project deploy start" command with the --ignore-conflicts flag.
161
161
 
162
162
  # info.WroteZipFile
163
163
 
@@ -12,13 +12,13 @@ If your org allows source tracking, then this command considers conflicts betwee
12
12
 
13
13
  # examples
14
14
 
15
- - Preview the retrieve of all changes from the org:
15
+ - Preview the retrieve of all changes from your default org:
16
16
 
17
17
  <%= config.bin %> <%= command.id %>
18
18
 
19
- - Preview the retrieve when ignoring any conflicts:
19
+ - Preview the retrieve when ignoring any conflicts from an org with alias "my-scratch":
20
20
 
21
- <%= config.bin %> <%= command.id %> --ignore-conflicts
21
+ <%= config.bin %> <%= command.id %> --ignore-conflicts --target-org my-scratch
22
22
 
23
23
  # flags.target-org.summary
24
24
 
@@ -30,7 +30,7 @@ Overrides your default org.
30
30
 
31
31
  # flags.ignore-conflicts.summary
32
32
 
33
- Ignore conflicts and preview the retrieve of remote components, even if they will overwrite local changes.
33
+ Don't display conflicts in the preview of the retrieval.
34
34
 
35
35
  # flags.ignore-conflicts.description
36
36