@salesforce/plugin-deploy-retrieve 1.8.5-beta.5 → 1.8.6

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 (155) hide show
  1. package/lib/commands/{project/deploy → deploy/metadata}/cancel.d.ts +0 -2
  2. package/lib/commands/{project/deploy → deploy/metadata}/cancel.js +6 -17
  3. package/lib/commands/deploy/metadata/cancel.js.map +1 -0
  4. package/lib/commands/{project/deploy → deploy/metadata}/preview.d.ts +0 -2
  5. package/lib/commands/{project/deploy → deploy/metadata}/preview.js +1 -3
  6. package/lib/commands/deploy/metadata/preview.js.map +1 -0
  7. package/lib/commands/{project/deploy → deploy/metadata}/quick.d.ts +0 -3
  8. package/lib/commands/{project/deploy → deploy/metadata}/quick.js +6 -14
  9. package/lib/commands/deploy/metadata/quick.js.map +1 -0
  10. package/lib/commands/deploy/metadata/report.d.ts +14 -0
  11. package/lib/commands/{project/deploy → deploy/metadata}/report.js +5 -26
  12. package/lib/commands/deploy/metadata/report.js.map +1 -0
  13. package/lib/commands/{project/deploy → deploy/metadata}/resume.d.ts +0 -5
  14. package/lib/commands/{project/deploy → deploy/metadata}/resume.js +3 -19
  15. package/lib/commands/deploy/metadata/resume.js.map +1 -0
  16. package/lib/commands/{project/deploy → deploy/metadata}/validate.d.ts +0 -2
  17. package/lib/commands/{project/deploy → deploy/metadata}/validate.js +6 -8
  18. package/lib/commands/deploy/metadata/validate.js.map +1 -0
  19. package/lib/commands/{project/deploy/start.d.ts → deploy/metadata.d.ts} +2 -10
  20. package/lib/commands/{project/deploy/start.js → deploy/metadata.js} +13 -44
  21. package/lib/commands/deploy/metadata.js.map +1 -0
  22. package/lib/commands/deploy.d.ts +0 -5
  23. package/lib/commands/deploy.js +0 -5
  24. package/lib/commands/deploy.js.map +1 -1
  25. package/lib/commands/{project/retrieve → retrieve/metadata}/preview.d.ts +0 -2
  26. package/lib/commands/{project/retrieve → retrieve/metadata}/preview.js +0 -2
  27. package/lib/commands/retrieve/metadata/preview.js.map +1 -0
  28. package/lib/commands/{project/retrieve/start.d.ts → retrieve/metadata.d.ts} +1 -3
  29. package/lib/commands/{project/retrieve/start.js → retrieve/metadata.js} +8 -11
  30. package/lib/commands/retrieve/metadata.js.map +1 -0
  31. package/lib/utils/conflicts.js +1 -1
  32. package/lib/utils/conflicts.js.map +1 -1
  33. package/lib/utils/deploy.d.ts +5 -9
  34. package/lib/utils/deploy.js +24 -21
  35. package/lib/utils/deploy.js.map +1 -1
  36. package/lib/utils/deployCache.d.ts +2 -8
  37. package/lib/utils/deployCache.js +2 -11
  38. package/lib/utils/deployCache.js.map +1 -1
  39. package/lib/utils/errorCodes.d.ts +1 -3
  40. package/lib/utils/errorCodes.js +4 -4
  41. package/lib/utils/errorCodes.js.map +1 -1
  42. package/lib/utils/flags.js +8 -3
  43. package/lib/utils/flags.js.map +1 -1
  44. package/lib/utils/metadataDeployer.js +2 -3
  45. package/lib/utils/metadataDeployer.js.map +1 -1
  46. package/lib/utils/output.d.ts +83 -6
  47. package/lib/utils/output.js +385 -3
  48. package/lib/utils/output.js.map +1 -1
  49. package/lib/utils/previewOutput.d.ts +0 -1
  50. package/lib/utils/previewOutput.js +14 -4
  51. package/lib/utils/previewOutput.js.map +1 -1
  52. package/lib/utils/types.d.ts +0 -39
  53. package/lib/utils/types.js +1 -3
  54. package/lib/utils/types.js.map +1 -1
  55. package/messages/deploy.async.md +3 -3
  56. package/messages/deploy.md +1 -5
  57. package/messages/deploy.metadata.cancel.md +6 -10
  58. package/messages/deploy.metadata.md +5 -33
  59. package/messages/deploy.metadata.preview.md +3 -7
  60. package/messages/deploy.metadata.quick.md +3 -11
  61. package/messages/deploy.metadata.report.md +4 -24
  62. package/messages/deploy.metadata.resume.md +5 -17
  63. package/messages/deploy.metadata.validate.md +5 -9
  64. package/messages/retrieve.metadata.md +1 -1
  65. package/messages/retrieve.metadata.preview.md +3 -3
  66. package/oclif.manifest.json +446 -1486
  67. package/package.json +39 -54
  68. package/lib/commands/project/convert/mdapi.d.ts +0 -32
  69. package/lib/commands/project/convert/mdapi.js +0 -170
  70. package/lib/commands/project/convert/mdapi.js.map +0 -1
  71. package/lib/commands/project/convert/source.d.ts +0 -29
  72. package/lib/commands/project/convert/source.js +0 -141
  73. package/lib/commands/project/convert/source.js.map +0 -1
  74. package/lib/commands/project/delete/source.d.ts +0 -69
  75. package/lib/commands/project/delete/source.js +0 -424
  76. package/lib/commands/project/delete/source.js.map +0 -1
  77. package/lib/commands/project/delete/tracking.d.ts +0 -19
  78. package/lib/commands/project/delete/tracking.js +0 -49
  79. package/lib/commands/project/delete/tracking.js.map +0 -1
  80. package/lib/commands/project/deploy/cancel.js.map +0 -1
  81. package/lib/commands/project/deploy/preview.js.map +0 -1
  82. package/lib/commands/project/deploy/quick.js.map +0 -1
  83. package/lib/commands/project/deploy/report.d.ts +0 -22
  84. package/lib/commands/project/deploy/report.js.map +0 -1
  85. package/lib/commands/project/deploy/resume.js.map +0 -1
  86. package/lib/commands/project/deploy/start.js.map +0 -1
  87. package/lib/commands/project/deploy/validate.js.map +0 -1
  88. package/lib/commands/project/list/ignored.d.ts +0 -24
  89. package/lib/commands/project/list/ignored.js +0 -85
  90. package/lib/commands/project/list/ignored.js.map +0 -1
  91. package/lib/commands/project/manifest/create.d.ts +0 -26
  92. package/lib/commands/project/manifest/create.js +0 -133
  93. package/lib/commands/project/manifest/create.js.map +0 -1
  94. package/lib/commands/project/reset/tracking.d.ts +0 -21
  95. package/lib/commands/project/reset/tracking.js +0 -64
  96. package/lib/commands/project/reset/tracking.js.map +0 -1
  97. package/lib/commands/project/retrieve/preview.js.map +0 -1
  98. package/lib/commands/project/retrieve/start.js.map +0 -1
  99. package/lib/formatters/asyncDeployCancelResultFormatter.d.ts +0 -9
  100. package/lib/formatters/asyncDeployCancelResultFormatter.js +0 -28
  101. package/lib/formatters/asyncDeployCancelResultFormatter.js.map +0 -1
  102. package/lib/formatters/asyncDeployResultFormatter.d.ts +0 -9
  103. package/lib/formatters/asyncDeployResultFormatter.js +0 -30
  104. package/lib/formatters/asyncDeployResultFormatter.js.map +0 -1
  105. package/lib/formatters/deleteResultFormatter.d.ts +0 -13
  106. package/lib/formatters/deleteResultFormatter.js +0 -72
  107. package/lib/formatters/deleteResultFormatter.js.map +0 -1
  108. package/lib/formatters/deployCancelResultFormatter.d.ts +0 -8
  109. package/lib/formatters/deployCancelResultFormatter.js +0 -29
  110. package/lib/formatters/deployCancelResultFormatter.js.map +0 -1
  111. package/lib/formatters/deployReportResultFormatter.d.ts +0 -4
  112. package/lib/formatters/deployReportResultFormatter.js +0 -52
  113. package/lib/formatters/deployReportResultFormatter.js.map +0 -1
  114. package/lib/formatters/deployResultFormatter.d.ts +0 -46
  115. package/lib/formatters/deployResultFormatter.js +0 -296
  116. package/lib/formatters/deployResultFormatter.js.map +0 -1
  117. package/lib/formatters/metadataConvertResultFormatter.d.ts +0 -9
  118. package/lib/formatters/metadataConvertResultFormatter.js +0 -59
  119. package/lib/formatters/metadataConvertResultFormatter.js.map +0 -1
  120. package/lib/formatters/metadataRetrieveResultFormatter.d.ts +0 -17
  121. package/lib/formatters/metadataRetrieveResultFormatter.js +0 -38
  122. package/lib/formatters/metadataRetrieveResultFormatter.js.map +0 -1
  123. package/lib/formatters/retrieveResultFormatter.d.ts +0 -13
  124. package/lib/formatters/retrieveResultFormatter.js +0 -66
  125. package/lib/formatters/retrieveResultFormatter.js.map +0 -1
  126. package/lib/formatters/sourceConvertResultFormatter.d.ts +0 -10
  127. package/lib/formatters/sourceConvertResultFormatter.js +0 -37
  128. package/lib/formatters/sourceConvertResultFormatter.js.map +0 -1
  129. package/lib/utils/coverage.d.ts +0 -9
  130. package/lib/utils/coverage.js +0 -109
  131. package/lib/utils/coverage.js.map +0 -1
  132. package/lib/utils/manifestCache.d.ts +0 -5
  133. package/lib/utils/manifestCache.js +0 -38
  134. package/lib/utils/manifestCache.js.map +0 -1
  135. package/messages/convert.mdapi.md +0 -66
  136. package/messages/convert.source.md +0 -63
  137. package/messages/delete.source.md +0 -134
  138. package/messages/delete.tracking.md +0 -39
  139. package/messages/list.ignored.md +0 -17
  140. package/messages/manifest.create.md +0 -72
  141. package/schemas/project-convert-mdapi.json +0 -29
  142. package/schemas/project-delete-source.json +0 -609
  143. package/schemas/project-delete-tracking.json +0 -19
  144. package/schemas/project-list-ignored.json +0 -19
  145. package/schemas/project-manifest-create.json +0 -19
  146. package/schemas/project-reset-tracking.json +0 -19
  147. /package/schemas/{project-deploy-cancel.json → deploy-metadata-cancel.json} +0 -0
  148. /package/schemas/{project-deploy-preview.json → deploy-metadata-preview.json} +0 -0
  149. /package/schemas/{project-deploy-quick.json → deploy-metadata-quick.json} +0 -0
  150. /package/schemas/{project-deploy-report.json → deploy-metadata-report.json} +0 -0
  151. /package/schemas/{project-deploy-resume.json → deploy-metadata-resume.json} +0 -0
  152. /package/schemas/{project-deploy-start.json → deploy-metadata-validate.json} +0 -0
  153. /package/schemas/{project-deploy-validate.json → deploy-metadata.json} +0 -0
  154. /package/schemas/{project-retrieve-preview.json → retrieve-metadata-preview.json} +0 -0
  155. /package/schemas/{project-retrieve-start.json → retrieve-metadata.json} +0 -0
@@ -1,6 +1,4 @@
1
1
  import { FileResponse, MetadataApiDeployStatus, MetadataApiRetrieveStatus, RequestStatus, SourceComponent, FileResponseFailure, FileResponseSuccess } from '@salesforce/source-deploy-retrieve';
2
- import { DefaultReportOptions, CoverageReporterOptions } from '@salesforce/apex-node';
3
- export declare const reportsFormatters: string[];
4
2
  export declare enum TestLevel {
5
3
  NoTestRun = "NoTestRun",
6
4
  RunSpecifiedTests = "RunSpecifiedTests",
@@ -20,38 +18,6 @@ export type AsyncDeployResultJson = Omit<Partial<MetadataApiDeployStatus>, 'stat
20
18
  status: RequestStatus | 'Queued';
21
19
  files: FileResponse[];
22
20
  };
23
- type ConvertEntry = {
24
- fullName: string;
25
- type: string;
26
- filePath: string;
27
- state: 'Add';
28
- };
29
- export type ConvertMdapiJson = ConvertEntry[];
30
- export type ConvertResultJson = {
31
- location: string;
32
- };
33
- export interface DeleteFormatterOptions {
34
- verbose?: boolean;
35
- quiet?: boolean;
36
- waitTime?: number;
37
- concise?: boolean;
38
- username?: string;
39
- coverageOptions?: CoverageReporterOptions;
40
- junitTestResults?: boolean;
41
- resultsDir?: string;
42
- testsRan?: boolean;
43
- }
44
- export type DeleteSourceJson = {
45
- deletedSource?: FileResponse[];
46
- deployedSource: FileResponse[];
47
- outboundFiles: string[];
48
- deploys?: MetadataApiDeployStatus[];
49
- deletes?: MetadataApiDeployStatus[];
50
- replacements?: Record<string, string[]>;
51
- coverage?: CoverageResultsFileInfo;
52
- junit?: string;
53
- } & MetadataApiDeployStatus;
54
- export type CoverageResultsFileInfo = Record<keyof Partial<typeof DefaultReportOptions>, string>;
55
21
  export type DeployResultJson = (MetadataApiDeployStatus & {
56
22
  files: FileResponse[];
57
23
  } & {
@@ -64,14 +30,9 @@ export type MetadataRetrieveResultJson = Omit<MetadataApiRetrieveStatus, 'zipFil
64
30
  export type RetrieveResultJson = (Omit<MetadataApiRetrieveStatus, 'zipFile'> & {
65
31
  files: FileResponse[];
66
32
  }) | MetadataRetrieveResultJson;
67
- export type Formatter<T> = {
68
- getJson: () => T;
69
- display: () => void;
70
- };
71
33
  /** validates source component with fullname, type, and xml props */
72
34
  export declare const isSourceComponent: (sc: unknown) => sc is SourceComponent & {
73
35
  xml: string;
74
36
  };
75
37
  export declare const isSdrFailure: (fileResponse: FileResponse) => fileResponse is FileResponseFailure;
76
38
  export declare const isSdrSuccess: (fileResponse: FileResponse) => fileResponse is FileResponseSuccess;
77
- export {};
@@ -6,11 +6,9 @@
6
6
  * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.isSdrSuccess = exports.isSdrFailure = exports.isSourceComponent = exports.API = exports.TestLevel = exports.reportsFormatters = void 0;
9
+ exports.isSdrSuccess = exports.isSdrFailure = exports.isSourceComponent = exports.API = exports.TestLevel = void 0;
10
10
  const source_deploy_retrieve_1 = require("@salesforce/source-deploy-retrieve");
11
11
  const ts_types_1 = require("@salesforce/ts-types");
12
- const apex_node_1 = require("@salesforce/apex-node");
13
- exports.reportsFormatters = Object.keys(apex_node_1.DefaultReportOptions);
14
12
  var TestLevel;
15
13
  (function (TestLevel) {
16
14
  TestLevel["NoTestRun"] = "NoTestRun";
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/utils/types.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,+EAS4C;AAC5C,mDAAgD;AAChD,qDAAsF;AAEzE,QAAA,iBAAiB,GAAG,MAAM,CAAC,IAAI,CAAC,gCAAoB,CAAC,CAAC;AAEnE,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;AAsED,oEAAoE;AAC7D,MAAM,iBAAiB,GAAG,CAAC,EAAW,EAA2C,EAAE,CACxF,IAAA,mBAAQ,EAAC,EAAE,CAAC,IAAI,UAAU,IAAI,EAAE,IAAI,MAAM,IAAI,EAAE,IAAI,KAAK,IAAI,EAAE,CAAC;AADrD,QAAA,iBAAiB,qBACoC;AAE3D,MAAM,YAAY,GAAG,CAAC,YAA0B,EAAuC,EAAE,CAC9F,YAAY,CAAC,KAAK,KAAK,wCAAe,CAAC,MAAM,CAAC;AADnC,QAAA,YAAY,gBACuB;AAEzC,MAAM,YAAY,GAAG,CAAC,YAA0B,EAAuC,EAAE,CAC9F,YAAY,CAAC,KAAK,KAAK,wCAAe,CAAC,MAAM,CAAC;AADnC,QAAA,YAAY,gBACuB"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/utils/types.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,+EAS4C;AAC5C,mDAAgD;AAEhD,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;AA2BD,oEAAoE;AAC7D,MAAM,iBAAiB,GAAG,CAAC,EAAW,EAA2C,EAAE,CACxF,IAAA,mBAAQ,EAAC,EAAE,CAAC,IAAI,UAAU,IAAI,EAAE,IAAI,MAAM,IAAI,EAAE,IAAI,KAAK,IAAI,EAAE,CAAC;AADrD,QAAA,iBAAiB,qBACoC;AAE3D,MAAM,YAAY,GAAG,CAAC,YAA0B,EAAuC,EAAE,CAC9F,YAAY,CAAC,KAAK,KAAK,wCAAe,CAAC,MAAM,CAAC;AADnC,QAAA,YAAY,gBACuB;AAEzC,MAAM,YAAY,GAAG,CAAC,YAA0B,EAAuC,EAAE,CAC9F,YAAY,CAAC,KAAK,KAAK,wCAAe,CAAC,MAAM,CAAC;AADnC,QAAA,YAAY,gBACuB"}
@@ -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 "sf deploy metadata 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 "sf deploy metadata 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 "sf deploy metadata 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 "sf deploy metadata", that provide additional flags.
16
16
 
17
17
  # examples
18
18
 
@@ -84,7 +84,3 @@ Deployer "%s" exited with code %d.
84
84
  # save.as.default
85
85
 
86
86
  Save username %s as default?
87
-
88
- # deprecation
89
-
90
- The top-level deploy command is deprecated. You should use `functions deploy` to deploy functions, and use `project deploy start` to deploy metadata to Salesforce orgs.
@@ -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
- - <%= config.bin %> project deploy start
30
- - <%= config.bin %> project deploy validate
31
- - <%= config.bin %> project deploy quick
32
- - <%= config.bin %> project deploy cancel
29
+ - sf deploy metadata
30
+ - sf deploy metadata validate
31
+ - sf deploy metadata quick
32
+ - sf deploy metadata 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 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 "sf deploy metadata resume". To check the status of the cancellation, run "sf deploy metadata report".
51
51
 
52
52
  # flags.async.summary
53
53
 
@@ -55,12 +55,8 @@ 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 "sf deploy metadata resume". To check the status of the cancellation, run "sf deploy metadata 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,18 +56,6 @@ 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
-
71
59
  # flags.target-org.description
72
60
 
73
61
  Overrides your default org.
@@ -110,7 +98,7 @@ Number of minutes to wait for command to complete and display results.
110
98
 
111
99
  # flags.wait.description
112
100
 
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".
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".
114
102
 
115
103
  # flags.manifest.summary
116
104
 
@@ -178,7 +166,7 @@ Run the command asynchronously.
178
166
 
179
167
  # flags.async.description
180
168
 
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".
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".
182
170
 
183
171
  # flags.metadata-dir.summary
184
172
 
@@ -203,7 +191,7 @@ You must specify tests using the --tests flag if the --test-level flag is set to
203
191
 
204
192
  # error.ClientTimeout
205
193
 
206
- The command has timed out, although the deployment is still running. Use "sf project deploy resume" to resume watching the deployment.
194
+ The command has timed out, although the deployment is still running. Use "sf deploy metadata resume" to resume watching the deployment.
207
195
 
208
196
  # error.Conflicts
209
197
 
@@ -213,7 +201,7 @@ There are changes in the org that conflict with the local changes you're trying
213
201
 
214
202
  - To overwrite the remote changes, rerun this command with the --ignore-conflicts flag.
215
203
 
216
- - To overwrite the local changes, run the "sf project retrieve start" command with the --ignore-conflicts flag.
204
+ - To overwrite the local changes, run the "sf retrieve metadata" command with the --ignore-conflicts flag.
217
205
 
218
206
  # error.nothingToDeploy
219
207
 
@@ -221,20 +209,4 @@ No local changes to deploy.
221
209
 
222
210
  # error.nothingToDeploy.Actions
223
211
 
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.
212
+ - To see conflicts and ignored files, run "sf deploy metadata preview" with any of the manifest, directory, or metadata flags.
@@ -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 "<%= 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.
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.
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 "<%= config.bin %> project deploy start" 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 "sf deploy metadata" 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,10 +36,6 @@ 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
-
43
39
  # flags.target-org.description
44
40
 
45
41
  Overrides your default org.
@@ -94,4 +90,4 @@ There are changes in the org that conflict with the local changes you're trying
94
90
 
95
91
  - To overwrite the remote changes, rerun this command with the --ignore-conflicts flag.
96
92
 
97
- - To overwrite the local changes, run the "sf project retrieve start" command with the --ignore-conflicts flag.
93
+ - To overwrite the local changes, run the "sf retrieve metadata" 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 "<%= 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.
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
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,21 +36,13 @@ 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
-
47
39
  # flags.wait.summary
48
40
 
49
41
  Number of minutes to wait for the command to complete and display results.
50
42
 
51
43
  # flags.wait.description
52
44
 
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".
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".
54
46
 
55
47
  # flags.verbose.summary
56
48
 
@@ -66,7 +58,7 @@ Run the command asynchronously.
66
58
 
67
59
  # flags.async.description
68
60
 
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".
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".
70
62
 
71
63
  # flags.target-org.summary
72
64
 
@@ -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.
@@ -34,10 +26,10 @@ Job ID of the deploy operation you want to check the status of.
34
26
 
35
27
  These commands return a job ID if they time out or you specified the --async flag:
36
28
 
37
- - <%= config.bin %> project deploy start
38
- - <%= config.bin %> project deploy validate
39
- - <%= config.bin %> project deploy quick
40
- - <%= config.bin %> project deploy cancel
29
+ - sf deploy metadata
30
+ - sf deploy metadata validate
31
+ - sf deploy metadata quick
32
+ - sf deploy metadata cancel
41
33
 
42
34
  The job ID is valid for 10 days from when you started the deploy operation.
43
35
 
@@ -48,15 +40,3 @@ Use the job ID of the most recent deploy operation.
48
40
  # flags.use-most-recent.description
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
-
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
- - <%= config.bin %> project deploy start
30
- - <%= config.bin %> project deploy validate
31
- - <%= config.bin %> project deploy quick
32
- - <%= config.bin %> project deploy cancel
29
+ - sf deploy metadata
30
+ - sf deploy metadata validate
31
+ - sf deploy metadata quick
32
+ - sf deploy metadata 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 "<%= 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 deploy operation, run this command again. To check the status of the deploy operation, run "sf deploy metadata report".
51
51
 
52
52
  # flags.verbose.summary
53
53
 
@@ -60,15 +60,3 @@ 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 "<%= 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.
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
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 "<%= config.bin %> project deploy start" 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 "sf deploy metadata" 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 "<%= config.bin %> project deploy resume". To check the status of the validation, run "<%= config.bin %> project deploy 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 "sf deploy metadata resume". To check the status of the validation, run "sf deploy metadata 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 "<%= config.bin %> project deploy resume". To check the status of the validation, run "<%= config.bin %> project deploy 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 "sf deploy metadata resume". To check the status of the validation, run "sf deploy metadata report".
116
116
 
117
117
  # flags.metadata-dir.summary
118
118
 
@@ -126,10 +126,6 @@ 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
-
133
129
  # error.FailedValidation
134
130
 
135
- Failed to validate the deployment (%s).
131
+ Falied to validate the deployment (%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 project deploy start" command with the --ignore-conflicts flag.
160
+ - To overwrite the remote changes, run the "sf deploy metadata" 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 "<%= 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.
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.
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 "project deploy start" command with the --ignore-conflicts flag.
57
+ - To overwrite the remote changes, run the "sf deploy metadata" command with the --ignore-conflicts flag.
58
58
 
59
- - To overwrite the local changes, run the "project retrieve start" command with the --ignore-conflicts flag.
59
+ - To overwrite the local changes, run the "sf retrieve metadata" command with the --ignore-conflicts flag.