@salesforce/plugin-deploy-retrieve 1.3.0 → 1.4.0

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 (60) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +385 -7
  3. package/lib/commands/deploy/metadata/cancel.d.ts +18 -0
  4. package/lib/commands/deploy/metadata/cancel.js +86 -0
  5. package/lib/commands/deploy/metadata/cancel.js.map +1 -0
  6. package/lib/commands/deploy/metadata/quick.d.ts +23 -0
  7. package/lib/commands/deploy/metadata/quick.js +116 -0
  8. package/lib/commands/deploy/metadata/quick.js.map +1 -0
  9. package/lib/commands/deploy/metadata/report.d.ts +14 -0
  10. package/lib/commands/deploy/metadata/report.js +54 -0
  11. package/lib/commands/deploy/metadata/report.js.map +1 -0
  12. package/lib/commands/deploy/metadata/resume.d.ts +21 -0
  13. package/lib/commands/deploy/metadata/resume.js +89 -0
  14. package/lib/commands/deploy/metadata/resume.js.map +1 -0
  15. package/lib/commands/deploy/metadata/validate.d.ts +27 -0
  16. package/lib/commands/deploy/metadata/validate.js +136 -0
  17. package/lib/commands/deploy/metadata/validate.js.map +1 -0
  18. package/lib/commands/deploy/metadata.d.ts +7 -9
  19. package/lib/commands/deploy/metadata.js +40 -15
  20. package/lib/commands/deploy/metadata.js.map +1 -1
  21. package/lib/commands/deploy.js.map +1 -1
  22. package/lib/commands/retrieve/metadata.d.ts +4 -6
  23. package/lib/commands/retrieve/metadata.js +11 -25
  24. package/lib/commands/retrieve/metadata.js.map +1 -1
  25. package/lib/configMeta.d.ts +17 -0
  26. package/lib/configMeta.js +31 -0
  27. package/lib/configMeta.js.map +1 -0
  28. package/lib/utils/deploy.d.ts +26 -7
  29. package/lib/utils/deploy.js +114 -24
  30. package/lib/utils/deploy.js.map +1 -1
  31. package/lib/utils/errorCodes.d.ts +3 -0
  32. package/lib/utils/errorCodes.js +26 -0
  33. package/lib/utils/errorCodes.js.map +1 -0
  34. package/lib/utils/metadataDeployer.js +7 -4
  35. package/lib/utils/metadataDeployer.js.map +1 -1
  36. package/lib/utils/output.d.ts +65 -8
  37. package/lib/utils/output.js +319 -169
  38. package/lib/utils/output.js.map +1 -1
  39. package/lib/utils/types.d.ts +11 -5
  40. package/lib/utils/types.js.map +1 -1
  41. package/messages/cache.md +7 -0
  42. package/messages/config.md +7 -0
  43. package/messages/deploy.async.md +19 -0
  44. package/messages/deploy.metadata.cancel.md +62 -0
  45. package/messages/deploy.metadata.md +17 -3
  46. package/messages/deploy.metadata.quick.md +81 -0
  47. package/messages/deploy.metadata.report.md +42 -0
  48. package/messages/deploy.metadata.resume.md +58 -0
  49. package/messages/deploy.metadata.validate.md +123 -0
  50. package/messages/errorCodes.md +27 -0
  51. package/oclif.manifest.json +1 -1
  52. package/package.json +15 -9
  53. package/schemas/deploy-metadata-cancel.json +664 -0
  54. package/schemas/deploy-metadata-quick.json +664 -0
  55. package/schemas/deploy-metadata-report.json +664 -0
  56. package/schemas/deploy-metadata-resume.json +664 -0
  57. package/schemas/deploy-metadata-validate.json +664 -0
  58. package/schemas/deploy-metadata.json +592 -29
  59. package/schemas/hooks/sf-deploy.json +15 -5
  60. package/schemas/retrieve-metadata.json +178 -11
@@ -1,3 +1,4 @@
1
+ import { FileResponse, MetadataApiDeployStatus, MetadataApiRetrieveStatus, RequestStatus } from '@salesforce/source-deploy-retrieve';
1
2
  export declare enum TestLevel {
2
3
  NoTestRun = "NoTestRun",
3
4
  RunSpecifiedTests = "RunSpecifiedTests",
@@ -8,9 +9,14 @@ export declare enum API {
8
9
  SOAP = "SOAP",
9
10
  REST = "REST"
10
11
  }
11
- export declare type TestResults = {
12
- passing: number;
13
- failing: number;
14
- total: number;
15
- time?: string;
12
+ export declare type Verbosity = 'verbose' | 'concise' | 'normal';
13
+ export declare type AsyncDeployResultJson = Omit<Partial<MetadataApiDeployStatus>, 'status'> & {
14
+ status: RequestStatus | 'Queued';
15
+ files: FileResponse[];
16
+ };
17
+ export declare type DeployResultJson = (MetadataApiDeployStatus & {
18
+ files: FileResponse[];
19
+ }) | AsyncDeployResultJson;
20
+ export declare type RetrieveResultJson = MetadataApiRetrieveStatus & {
21
+ files: FileResponse[];
16
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/utils/types.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,oDAAuC,CAAA;IACvC,4CAA+B,CAAA;IAC/B,kDAAqC,CAAA;AACvC,CAAC,EALW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAKpB;AAED,IAAY,GAGX;AAHD,WAAY,GAAG;IACb,oBAAa,CAAA;IACb,oBAAa,CAAA;AACf,CAAC,EAHW,GAAG,GAAH,WAAG,KAAH,WAAG,QAGd"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/utils/types.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AASH,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,oDAAuC,CAAA;IACvC,4CAA+B,CAAA;IAC/B,kDAAqC,CAAA;AACvC,CAAC,EALW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAKpB;AAED,IAAY,GAGX;AAHD,WAAY,GAAG;IACb,oBAAa,CAAA;IACb,oBAAa,CAAA;AACf,CAAC,EAHW,GAAG,GAAH,WAAG,KAAH,WAAG,QAGd"}
@@ -0,0 +1,7 @@
1
+ # error.InvalidJobId
2
+
3
+ No job found for ID: %s.
4
+
5
+ # error.NoRecentJobId
6
+
7
+ There are no recent job IDs available.
@@ -0,0 +1,7 @@
1
+ # error.invalidBooleanConfigValue
2
+
3
+ The config value can only be set to true or false
4
+
5
+ # org-metadata-rest-deploy
6
+
7
+ Whether deployments use the Metadata REST API (true) or SOAP API (false, default value).
@@ -0,0 +1,19 @@
1
+ # info.AsyncDeployQueued
2
+
3
+ Deploy has been queued.
4
+
5
+ # info.AsyncDeployCancelQueued
6
+
7
+ Deploy has been queued for cancellation.
8
+
9
+ # info.AsyncDeployCancel
10
+
11
+ Run "sf deploy metadata cancel --job-id %s" to cancel the deploy.
12
+
13
+ # info.AsyncDeployStatus
14
+
15
+ Run "sf deploy metadata report --job-id %s" to get the latest status.
16
+
17
+ # info.AsyncDeployResume
18
+
19
+ Run "sf deploy metadata resume --job-id %s" to resume watching the deploy.
@@ -0,0 +1,62 @@
1
+ # summary
2
+
3
+ Cancel a deploy operation.
4
+
5
+ # description
6
+
7
+ Use this command to cancel a deploy operation that hasn't yet completed in the org. Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.
8
+
9
+ Run this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.
10
+
11
+ # examples
12
+
13
+ - Cancel a deploy operation using a job ID:
14
+
15
+ <%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2
16
+
17
+ - Cancel the most recent deploy operation:
18
+
19
+ <%= config.bin %> <%= command.id %> --use-most-recent
20
+
21
+ # flags.job-id.summary
22
+
23
+ Job ID of the deploy operation you want to cancel.
24
+
25
+ # flags.job-id.description
26
+
27
+ These commands return a job ID if they time out or you specified the --async flag:
28
+
29
+ - sf deploy metadata
30
+ - sf deploy metadata validate
31
+ - sf deploy metadata quick
32
+ - sf deploy metadata cancel
33
+
34
+ The job ID is valid for 10 days from when you started the deploy operation.
35
+
36
+ # flags.use-most-recent.summary
37
+
38
+ Use the job ID of the most recent deploy operation.
39
+
40
+ # flags.use-most-recent.description
41
+
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 deploy operations was more than 3 days ago, this flag won't find a job ID.
43
+
44
+ # flags.wait.summary
45
+
46
+ Number of minutes to wait for the command to complete and display results.
47
+
48
+ # flags.wait.description
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".
51
+
52
+ # flags.async.summary
53
+
54
+ Run the command asynchronously.
55
+
56
+ # flags.async.description
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".
59
+
60
+ # error.CannotCancelDeploy
61
+
62
+ Can't cancel deploy because it's already completed.
@@ -8,8 +8,6 @@ You must run this command from within a project.
8
8
 
9
9
  This command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org. This command doesn’t attempt to merge your source with the versions in your org.
10
10
 
11
- To run the command asynchronously, set --wait to 0, which immediately returns the job ID. This way, you can continue to use the CLI.
12
-
13
11
  To deploy 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.
14
12
 
15
13
  # examples
@@ -94,7 +92,7 @@ Number of minutes to wait for command to complete and display results.
94
92
 
95
93
  # flags.wait.description
96
94
 
97
- If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
95
+ 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".
98
96
 
99
97
  # flags.manifest.summary
100
98
 
@@ -136,6 +134,10 @@ Separate multiple test names with commas, and enclose the entire flag value in d
136
134
 
137
135
  Show verbose output of the deploy result.
138
136
 
137
+ # flags.concise.summary
138
+
139
+ Show concise output of the deploy result.
140
+
139
141
  # flags.api-version.summary
140
142
 
141
143
  Target API version for the deploy.
@@ -144,6 +146,14 @@ Target API version for the deploy.
144
146
 
145
147
  Use this flag to override the default API version, which is the latest version supported the CLI, with the API version of your package.xml file.
146
148
 
149
+ # flags.async.summary
150
+
151
+ Run the command asynchronously.
152
+
153
+ # flags.async.description
154
+
155
+ 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".
156
+
147
157
  # save.as.default
148
158
 
149
159
  Save %s as default target-org?
@@ -161,6 +171,10 @@ The target-org found in the configuration is expired. The user terminated the de
161
171
 
162
172
  You must specify tests using the --tests flag if the --test-level flag is set to RunSpecifiedTests.
163
173
 
174
+ # error.ClientTimeout
175
+
176
+ The client has timed out. Use sf deploy metadata resume to resume watching this deploy.
177
+
164
178
  # warning.TargetOrgIsExpired
165
179
 
166
180
  The target-org, "%s", is expired. Do you want to pick another org?
@@ -0,0 +1,81 @@
1
+ # summary
2
+
3
+ Quickly deploy a validated deployment to an org.
4
+
5
+ # description
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.
8
+
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
+
11
+ This command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org. This command doesn’t attempt to merge your source with the versions in your org.
12
+
13
+ # examples
14
+
15
+ - Run a quick deploy to your default org using a job ID:
16
+
17
+ <%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2
18
+
19
+ - Asynchronously run a quick deploy of the most recently validated deployment to an org with alias "my-prod-org":
20
+
21
+ <%= config.bin %> <%= command.id %> --async --use-most-recent --target-org my-prod-org
22
+
23
+ # flags.job-id.summary
24
+
25
+ Job ID of the deployment you want to quick deploy.
26
+
27
+ # flags.job-id.description
28
+
29
+ The job ID is valid for 10 days from when you started the validation.
30
+
31
+ # flags.use-most-recent.summary
32
+
33
+ Use the job ID of the most recently validated deployment.
34
+
35
+ # flags.use-most-recent.description
36
+
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
+
39
+ # flags.wait.summary
40
+
41
+ Number of minutes to wait for the command to complete and display results.
42
+
43
+ # flags.wait.description
44
+
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".
46
+
47
+ # flags.verbose.summary
48
+
49
+ Show verbose output of the deploy result.
50
+
51
+ # flags.concise.summary
52
+
53
+ Show concise output of the deploy result.
54
+
55
+ # flags.async.summary
56
+
57
+ Run the command asynchronously.
58
+
59
+ # flags.async.description
60
+
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".
62
+
63
+ # flags.target-org.summary
64
+
65
+ Login username or alias for the target org.
66
+
67
+ # flags.target-org.description
68
+
69
+ Overrides your default org.
70
+
71
+ # error.CannotQuickDeploy
72
+
73
+ Job ID can't be used for quick deployment. Possible reasons include the deployment hasn't been validated or the validation expired because you ran it more than 10 days ago.
74
+
75
+ # error.QuickDeployFailure
76
+
77
+ Deployment %s exited with status code: %s.
78
+
79
+ # info.QuickDeploySuccess
80
+
81
+ Successfully deployed (%s).
@@ -0,0 +1,42 @@
1
+ # summary
2
+
3
+ Check the status of a deploy operation.
4
+
5
+ # description
6
+
7
+ Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.
8
+
9
+ Run this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.
10
+
11
+ # examples
12
+
13
+ - Check the status using a job ID:
14
+
15
+ <%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2
16
+
17
+ - Check the status of the most recent deploy operation:
18
+
19
+ <%= config.bin %> <%= command.id %> --use-most-recent
20
+
21
+ # flags.job-id.summary
22
+
23
+ Job ID of the deploy operation you want to check the status of.
24
+
25
+ # flags.job-id.description
26
+
27
+ These commands return a job ID if they time out or you specified the --async flag:
28
+
29
+ - sf deploy metadata
30
+ - sf deploy metadata validate
31
+ - sf deploy metadata quick
32
+ - sf deploy metadata cancel
33
+
34
+ The job ID is valid for 10 days from when you started the deploy operation.
35
+
36
+ # flags.use-most-recent.summary
37
+
38
+ Use the job ID of the most recent deploy operation.
39
+
40
+ # flags.use-most-recent.description
41
+
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.
@@ -0,0 +1,58 @@
1
+ # summary
2
+
3
+ Resume watching a deploy operation.
4
+
5
+ # description
6
+
7
+ Use this command to resume watching a deploy operation if the original command times out or you specified the --async flag. Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations. This command doesn't resume the original operation itself, because the operation always continues after you've started it, regardless of whether you're watching it or not.
8
+
9
+ Run this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.
10
+
11
+ # examples
12
+
13
+ - Resume watching a deploy operation using a job ID:
14
+
15
+ <%= config.bin %> <%= command.id %> --job-id 0Af0x000017yLUFCA2
16
+
17
+ - Resume watching the most recent deploy operation:
18
+
19
+ <%= config.bin %> <%= command.id %> --use-most-recent
20
+
21
+ # flags.job-id.summary
22
+
23
+ Job ID of the deploy operation you want to resume.
24
+
25
+ # flags.job-id.description
26
+
27
+ These commands return a job ID if they time out or you specified the --async flag:
28
+
29
+ - sf deploy metadata
30
+ - sf deploy metadata validate
31
+ - sf deploy metadata quick
32
+ - sf deploy metadata cancel
33
+
34
+ The job ID is valid for 10 days from when you started the deploy operation.
35
+
36
+ # flags.use-most-recent.summary
37
+
38
+ Use the job ID of the most recent deploy operation.
39
+
40
+ # flags.use-most-recent.description
41
+
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.
43
+
44
+ # flags.wait.summary
45
+
46
+ Number of minutes to wait for the command to complete and display results.
47
+
48
+ # flags.wait.description
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".
51
+
52
+ # flags.verbose.summary
53
+
54
+ Show verbose output of the deploy operation result.
55
+
56
+ # flags.concise.summary
57
+
58
+ Show concise output of the deploy operation result.
@@ -0,0 +1,123 @@
1
+ # summary
2
+
3
+ Validate a metadata deployment without actually executing it.
4
+
5
+ # description
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.
8
+
9
+ You must run this command from within a project.
10
+
11
+ This command doesn't support source-tracking. When you quick deploy with the resulting job ID, the source you deploy overwrites the corresponding metadata in your org.
12
+
13
+ To validate the deployment of 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.
14
+
15
+ # examples
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.
18
+
19
+ - Validate the deployment of all source files in a directory to the default org:
20
+
21
+ <%= config.bin %> <%= command.id %> --source-dir path/to/source
22
+
23
+ - Asynchronously validate the deployment and run all tests in the org with alias "my-prod-org"; command immediately returns the job ID:
24
+
25
+ <%= config.bin %> <%= command.id %> --source-dir path/to/source --async --test-level RunAllTestsInOrg --target-org my-prod-org
26
+
27
+ - Validate the deployment of all components listed in a manifest:
28
+
29
+ <%= config.bin %> <%= command.id %> --manifest path/to/package.xml
30
+
31
+ # flags.target-org.summary
32
+
33
+ Login username or alias for the target org.
34
+
35
+ # flags.target-org.description
36
+
37
+ Overrides your default org.
38
+
39
+ # flags.metadata.summary
40
+
41
+ Metadata component names to validate for deployment.
42
+
43
+ # flags.test-level.summary
44
+
45
+ Deployment Apex testing level.
46
+
47
+ # flags.test-level.description
48
+
49
+ Valid values are:
50
+
51
+ - RunSpecifiedTests — Runs only the tests that you specify with the --run-tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.
52
+
53
+ - RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.
54
+
55
+ - RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.
56
+
57
+ If you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more information, see [Running Tests in a Deployment](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) in the "Metadata API Developer Guide".
58
+
59
+ # flags.source-dir.summary
60
+
61
+ Path to the local source files to validate for deployment.
62
+
63
+ # flags.source-dir.description
64
+
65
+ The supplied path can be to a single file (in which case the operation is applied to only one file) or to a folder (in which case the operation is applied to all metadata types in the directory and its subdirectories).
66
+
67
+ If you specify this flag, don’t specify --metadata or --manifest.
68
+
69
+ # flags.wait.summary
70
+
71
+ Number of minutes to wait for the command to complete and display results.
72
+
73
+ # flags.wait.description
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".
76
+
77
+ # flags.manifest.summary
78
+
79
+ Full file path for manifest (package.xml) of components to validate for deployment.
80
+
81
+ # flags.manifest.description
82
+
83
+ All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
84
+
85
+ # flags.api.summary
86
+
87
+ The API to use for validating the deployment.
88
+
89
+ # flags.tests.summary
90
+
91
+ Apex tests to run when --test-level is RunSpecifiedTests.
92
+
93
+ # flags.verbose.summary
94
+
95
+ Show verbose output of the validation result.
96
+
97
+ # flags.concise.summary
98
+
99
+ Show concise output of the validation result.
100
+
101
+ # flags.api-version.summary
102
+
103
+ Target API version for the validation.
104
+
105
+ # flags.api-version.description
106
+
107
+ Use this flag to override the default API version, which is the latest version supported the CLI, with the API version in your package.xml file.
108
+
109
+ # flags.async.summary
110
+
111
+ Run the command asynchronously.
112
+
113
+ # flags.async.description
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".
116
+
117
+ # info.SuccessfulValidation
118
+
119
+ Successfully validated the deployment (%s).
120
+
121
+ # error.FailedValidation
122
+
123
+ Falied to validate the deployment (%s).
@@ -0,0 +1,27 @@
1
+ # errorCode.deploy.Succeeded
2
+
3
+ The deploy succeeded.
4
+
5
+ # errorCode.deploy.Canceled
6
+
7
+ The deploy was canceled.
8
+
9
+ # errorCode.deploy.Failed
10
+
11
+ The deploy failed.
12
+
13
+ # errorCode.deploy.SucceededPartial
14
+
15
+ The deploy partially succeeded.
16
+
17
+ # errorCode.deploy.InProgress
18
+
19
+ The deploy is in progress.
20
+
21
+ # errorCode.deploy.Pending
22
+
23
+ The deploy is pending.
24
+
25
+ # errorCode.deploy.Canceling
26
+
27
+ The deploy is being canceled.