@salesforce/plugin-deploy-retrieve 1.8.5-beta.3 → 1.8.5-beta.5
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.
- package/lib/commands/project/convert/mdapi.js +8 -11
- package/lib/commands/project/convert/mdapi.js.map +1 -1
- package/lib/commands/project/convert/source.js +8 -8
- package/lib/commands/project/convert/source.js.map +1 -1
- package/lib/commands/project/delete/source.js +16 -15
- package/lib/commands/project/delete/source.js.map +1 -1
- package/lib/commands/project/delete/tracking.js +2 -2
- package/lib/commands/project/delete/tracking.js.map +1 -1
- package/lib/commands/project/deploy/preview.d.ts +0 -1
- package/lib/commands/project/deploy/preview.js +2 -6
- package/lib/commands/project/deploy/preview.js.map +1 -1
- package/lib/commands/project/list/ignored.d.ts +24 -0
- package/lib/commands/project/list/ignored.js +85 -0
- package/lib/commands/project/list/ignored.js.map +1 -0
- package/lib/commands/project/manifest/create.js +8 -8
- package/lib/commands/project/manifest/create.js.map +1 -1
- package/lib/commands/project/reset/tracking.js +3 -3
- package/lib/commands/project/reset/tracking.js.map +1 -1
- package/lib/utils/previewOutput.d.ts +1 -1
- package/lib/utils/previewOutput.js +8 -10
- package/lib/utils/previewOutput.js.map +1 -1
- package/messages/convert.mdapi.md +22 -34
- package/messages/convert.source.md +24 -25
- package/messages/delete.source.md +57 -45
- package/messages/delete.tracking.md +17 -12
- package/messages/list.ignored.md +17 -0
- package/messages/manifest.create.md +34 -23
- package/oclif.manifest.json +107 -76
- package/package.json +7 -4
- package/schemas/project-list-ignored.json +19 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tracking.js","sourceRoot":"","sources":["../../../../src/commands/project/reset/tracking.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2CAA4C;AAC5C,+BAA+B;AAC/B,iEAA6D;AAC7D,iEAMqC;AAErC,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ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,EAAE,CAAC;SACpB,CAAC;IACJ,CAAC;;AApDH,sCAqDC;AApDwB,8BAAgB,GAAG,IAAI,CAAC;AACxB,qBAAO,GAAG,CAAC,kCAAkC,EAAE,6BAA6B,CAAC,CAAC;AAC9E,qBAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;AAC9C,yBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC;AACtD,6BAAe,GAAG,IAAI,CAAC;AACvB,sBAAQ,GAAG,EAAE,CAAC;AAEd,mBAAK,GAAG;IAC7B,YAAY,EAAE,iDAA+B;IAC7C,aAAa,EAAE,mDAAiC;IAChD,QAAQ,EAAR,0BAAQ;IACR,0DAA0D;IAC1D,QAAQ,EAAE,uBAAK,CAAC,OAAO,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC;QACtD,GAAG,EAAE,CAAC;KACP,CAAC;IACF,WAAW,EAAE,uBAAK,CAAC,OAAO,CAAC;QACzB,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;QACvD,OAAO,EAAE,CAAC,UAAU,CAAC;QACrB,gBAAgB,EAAE,IAAI;KACvB,CAAC;CACH,CAAC"}
|
|
@@ -26,6 +26,6 @@ export declare const compileResults: ({ componentSet, projectPath, filesWithConf
|
|
|
26
26
|
remoteDeletes?: SourceComponent[] | undefined;
|
|
27
27
|
}) => PreviewResult;
|
|
28
28
|
export declare const printIgnoredTable: (files: PreviewFile[], baseOperation: BaseOperation) => void;
|
|
29
|
-
export declare const printTables: (result: PreviewResult, baseOperation: BaseOperation
|
|
29
|
+
export declare const printTables: (result: PreviewResult, baseOperation: BaseOperation) => void;
|
|
30
30
|
export declare const getConflictFiles: (stl?: SourceTracking, ignore?: boolean) => Promise<Set<string>>;
|
|
31
31
|
export {};
|
|
@@ -175,16 +175,14 @@ const printIgnoredTable = (files, baseOperation) => {
|
|
|
175
175
|
}
|
|
176
176
|
};
|
|
177
177
|
exports.printIgnoredTable = printIgnoredTable;
|
|
178
|
-
const printTables = (result, baseOperation
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
printRetrieveTable(result.toRetrieve);
|
|
187
|
-
}
|
|
178
|
+
const printTables = (result, baseOperation) => {
|
|
179
|
+
printConflictsTable(result.conflicts);
|
|
180
|
+
printDeleteTable(result.toDelete);
|
|
181
|
+
if (baseOperation === 'deploy') {
|
|
182
|
+
printDeployTable(result.toDeploy);
|
|
183
|
+
}
|
|
184
|
+
else if (baseOperation === 'retrieve') {
|
|
185
|
+
printRetrieveTable(result.toRetrieve);
|
|
188
186
|
}
|
|
189
187
|
(0, exports.printIgnoredTable)(result.ignored, baseOperation);
|
|
190
188
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"previewOutput.js","sourceRoot":"","sources":["../../src/utils/previewOutput.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,6BAA6B;AAC7B,sCAAiC;AACjC,iEAA6D;AAC7D,iCAAkC;AAClC,2CAA4C;AAC5C,+EAQ4C;AAC5C,0GAAoH;AAGpH,mCAA4C;AAE5C,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,oCAAoC,EAAE,iBAAiB,CAAC,CAAC;AAwBhG,MAAM,kBAAkB,GAAG,CAAC,CAAS,EAAU,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;AAE7F,wCAAwC;AACxC,gCAAgC;AAChC,MAAM,YAAY,GAAG,CAAC,SAAmB,EAA0D,EAAE;IACnG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vF,mBAAmB,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACtC,gBAAgB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAClC,IAAI,aAAa,KAAK,QAAQ,EAAE;QAC9B,gBAAgB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;KACnC;SAAM,IAAI,aAAa,KAAK,UAAU,EAAE;QACvC,kBAAkB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;KACvC;IAED,IAAA,yBAAiB,EAAC,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AACnD,CAAC,CAAC;AAVW,QAAA,WAAW,eAUtB;AAEK,MAAM,gBAAgB,GAAG,KAAK,EAAE,GAAoB,EAAE,MAAM,GAAG,KAAK,EAAwB,EAAE,CACnG,CAAC,GAAG,IAAI,MAAM;IACZ,CAAC,CAAC,IAAI,GAAG,EAAU;IACnB,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAH3G,QAAA,gBAAgB,oBAG2F"}
|
|
@@ -1,64 +1,52 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Convert metadata retrieved via Metadata API into the source format used in Salesforce DX projects.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
To use Salesforce CLI to work with components that you retrieved via Metadata API, first convert your files from the metadata format to the source format using this command.
|
|
8
8
|
|
|
9
|
-
To
|
|
10
|
-
|
|
11
|
-
To convert files from the source format back to the metadata format, so that you can deploy them using "<%= config.bin %> project deploy", run "<%= config.bin %> project convert source".
|
|
9
|
+
To convert files from the source format back to the metadata format, run "<%= config.bin %> project convert source".
|
|
12
10
|
|
|
13
11
|
# examples
|
|
14
12
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
- $ <%= config.bin %> <%= command.id %> -r path/to/metadata -d path/to/outputdir
|
|
18
|
-
|
|
19
|
-
# flags.root-dir
|
|
20
|
-
|
|
21
|
-
the root directory containing the Metadata API–formatted metadata
|
|
22
|
-
|
|
23
|
-
# flags.output-dir
|
|
24
|
-
|
|
25
|
-
the output directory to store the source–formatted files
|
|
13
|
+
- Convert metadata formatted files in the specified directory into source formatted files; writes converted files to your default package directory:
|
|
26
14
|
|
|
27
|
-
|
|
15
|
+
$ <%= config.bin %> <%= command.id %> --root-dir path/to/metadata
|
|
28
16
|
|
|
29
|
-
|
|
17
|
+
- Similar to previous example, but writes converted files to the specified output directory:
|
|
30
18
|
|
|
31
|
-
|
|
19
|
+
$ <%= config.bin %> <%= command.id %> --root-dir path/to/metadata --output-dir path/to/outputdir
|
|
32
20
|
|
|
33
|
-
|
|
21
|
+
# flags.root-dir.summary
|
|
34
22
|
|
|
35
|
-
|
|
23
|
+
Root directory that contains the Metadata API–formatted metadata.
|
|
36
24
|
|
|
37
|
-
|
|
25
|
+
# flags.output-dir.summary
|
|
38
26
|
|
|
39
|
-
|
|
27
|
+
Directory to store your files in after they’re converted to source format; can be an absolute or relative path.
|
|
40
28
|
|
|
41
|
-
|
|
29
|
+
# flags.manifest.summary
|
|
42
30
|
|
|
43
|
-
|
|
31
|
+
File path to manifest (package.xml) of metadata types to convert.
|
|
44
32
|
|
|
45
|
-
|
|
33
|
+
# flags.metadata-dir.summary
|
|
46
34
|
|
|
47
|
-
|
|
35
|
+
Comma-separated list of paths to the local metadata files to convert.
|
|
48
36
|
|
|
49
|
-
|
|
37
|
+
# flags.metadata.summary
|
|
50
38
|
|
|
51
|
-
-
|
|
39
|
+
Comma-separated list of metadata component names to convert.
|
|
52
40
|
|
|
53
|
-
#
|
|
41
|
+
# flags.manifest.description
|
|
54
42
|
|
|
55
|
-
|
|
43
|
+
If you specify this parameter, don’t specify --metadata or --source-dir.
|
|
56
44
|
|
|
57
|
-
|
|
45
|
+
# flags.metadata-dir.description
|
|
58
46
|
|
|
59
|
-
|
|
47
|
+
The supplied paths 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 sub-directories).
|
|
60
48
|
|
|
61
|
-
|
|
49
|
+
If you specify this flag, don’t specify --manifest or --metadata. If the comma-separated list you’re supplying contains spaces, enclose the entire comma-separated list in one set of double quotes.
|
|
62
50
|
|
|
63
51
|
# expectedDirectory
|
|
64
52
|
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Convert source-formatted files into metadata that you can deploy using Metadata API.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
convert source into Metadata API
|
|
8
|
-
Converts source-formatted files into metadata that you can deploy using Metadata API.
|
|
9
|
-
To convert source-formatted files into the metadata format, so that you can deploy them using Metadata API,
|
|
10
|
-
run "<%= config.bin %> project convert mdapi". Then deploy the metadata using "<%= config.bin %> project deploy".
|
|
7
|
+
To convert source-formatted files into the metadata format, so that you can deploy them using Metadata API, run this command. Then deploy the metadata using "<%= config.bin %> project deploy".
|
|
11
8
|
|
|
12
9
|
To convert Metadata API–formatted files into the source format, run "<%= config.bin %> project convert mdapi".
|
|
13
10
|
|
|
@@ -15,45 +12,47 @@ To specify a package name that includes spaces, enclose the name in single quote
|
|
|
15
12
|
|
|
16
13
|
# examples
|
|
17
14
|
|
|
18
|
-
-
|
|
15
|
+
- Convert source-formatted files in the specified directory into metadata-formatted files; writes converted files into a new directory:
|
|
19
16
|
|
|
20
|
-
|
|
17
|
+
$ <%= config.bin %> <%= command.id %> --root-dir path/to/source
|
|
21
18
|
|
|
22
|
-
|
|
19
|
+
- Similar to previous example, but writes converted files to the specified output directory and associates the files with the specified package:
|
|
23
20
|
|
|
24
|
-
|
|
21
|
+
$ <%= config.bin %> <%= command.id %> --root-dir path/to/source --output-dir path/to/outputdir --package-name 'My Package'
|
|
25
22
|
|
|
26
|
-
# flags.
|
|
23
|
+
# flags.root-dir.summary
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
Source directory other than the default package to convert.
|
|
29
26
|
|
|
30
|
-
# flags.
|
|
27
|
+
# flags.output-dir.summary
|
|
31
28
|
|
|
32
|
-
|
|
29
|
+
Output directory to store the Metadata API–formatted files in.
|
|
33
30
|
|
|
34
|
-
# flags.
|
|
31
|
+
# flags.package-name.summary
|
|
35
32
|
|
|
36
|
-
|
|
33
|
+
Name of the package to associate with the metadata-formatted files.
|
|
37
34
|
|
|
38
|
-
# flags.
|
|
35
|
+
# flags.manifest.summary
|
|
39
36
|
|
|
40
|
-
|
|
37
|
+
Path to the manifest (package.xml) file that specifies the metadata types to convert.
|
|
41
38
|
|
|
42
|
-
# flags.
|
|
39
|
+
# flags.source-dir.summary
|
|
43
40
|
|
|
44
|
-
|
|
41
|
+
Comma-separated list of paths to the local source files to convert.
|
|
45
42
|
|
|
46
|
-
#
|
|
43
|
+
# flags.metadata.summary
|
|
47
44
|
|
|
48
|
-
-
|
|
45
|
+
Comma-separated list of metadata component names to convert.
|
|
49
46
|
|
|
50
|
-
|
|
47
|
+
# flags.manifest.description
|
|
51
48
|
|
|
52
|
-
|
|
49
|
+
If you specify this parameter, don’t specify --metadata or --source-dir.
|
|
53
50
|
|
|
54
|
-
|
|
51
|
+
# flags.source-dir.description
|
|
55
52
|
|
|
56
|
-
|
|
53
|
+
The supplied paths 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 sub-directories).
|
|
54
|
+
|
|
55
|
+
If you specify this parameter, don’t specify --manifest or --metadata.
|
|
57
56
|
|
|
58
57
|
# success
|
|
59
58
|
|
|
@@ -1,98 +1,110 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Delete source from your project and from a non-source-tracked org.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
delete
|
|
8
|
-
IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.
|
|
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".
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
To remove deleted items from scratch orgs, which have change tracking, use "sf project deploy start".
|
|
9
|
+
When you run this command, both the local source file and the metadata component in the org are deleted.
|
|
12
10
|
|
|
13
11
|
# examples
|
|
14
12
|
|
|
15
|
-
-
|
|
13
|
+
- Delete all local Apex source files and all Apex classes from the org with alias "my-scratch":
|
|
16
14
|
|
|
17
|
-
|
|
15
|
+
<%= config.bin %> <%= command.id %> --metadata ApexClass --target-org my-scratch
|
|
18
16
|
|
|
19
|
-
|
|
17
|
+
- Delete a specific Apex class and a Profile that has a space in it from your default org; don't prompt for confirmation:
|
|
20
18
|
|
|
21
|
-
|
|
19
|
+
<%= config.bin %> <%= command.id %> --metadata ApexClass:MyFabulousApexClass --metadata "Profile: My Profile" --no-prompt
|
|
22
20
|
|
|
23
|
-
|
|
21
|
+
- Run the tests that aren’t in any managed packages as part of the deletion; if the delete succeeds, and the org has source-tracking enabled, update the source tracking information:
|
|
24
22
|
|
|
25
|
-
|
|
23
|
+
<%= config.bin %> <%= command.id %> --metadata ApexClass --test-level RunLocalTests --track-source
|
|
26
24
|
|
|
27
|
-
|
|
25
|
+
- Delete the Apex source files in a directory and the corresponding components from your default org:
|
|
28
26
|
|
|
29
|
-
|
|
27
|
+
<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes
|
|
30
28
|
|
|
31
|
-
|
|
29
|
+
- Delete all components listed in a manifest:
|
|
32
30
|
|
|
33
|
-
|
|
31
|
+
<%= config.bin %> <%= command.id %> --manifest path/to/package.xml
|
|
34
32
|
|
|
35
|
-
# flags.
|
|
33
|
+
# flags.source-dir.summary
|
|
36
34
|
|
|
37
|
-
|
|
35
|
+
Comma-separated list of source file paths to delete.
|
|
38
36
|
|
|
39
|
-
# flags.
|
|
37
|
+
# flags.metadata.summary
|
|
40
38
|
|
|
41
|
-
|
|
39
|
+
Comma-separated list of names of metadata components to delete.
|
|
42
40
|
|
|
43
|
-
# flags.
|
|
41
|
+
# flags.no-prompt.summary
|
|
44
42
|
|
|
45
|
-
|
|
43
|
+
Don't prompt for delete confirmation.
|
|
46
44
|
|
|
47
|
-
# flags.
|
|
45
|
+
# flags.wait.summary
|
|
48
46
|
|
|
49
|
-
|
|
47
|
+
Number of minutes to wait for the command to finish.
|
|
50
48
|
|
|
51
|
-
# flags.
|
|
49
|
+
# flags.check-only.summary
|
|
52
50
|
|
|
53
|
-
|
|
51
|
+
Validate delete command but don't delete anything from the org or the local project.
|
|
54
52
|
|
|
55
|
-
#
|
|
53
|
+
# flags.test-Level.summary
|
|
56
54
|
|
|
57
|
-
|
|
55
|
+
Deployment Apex testing level.
|
|
58
56
|
|
|
59
|
-
|
|
57
|
+
# flags.track-source.summary
|
|
60
58
|
|
|
61
|
-
|
|
59
|
+
If the delete succeeds, update the source tracking information.
|
|
62
60
|
|
|
63
|
-
|
|
61
|
+
# flags.force-overwrite.summary
|
|
64
62
|
|
|
65
|
-
|
|
63
|
+
Ignore conflict warnings and overwrite changes to the org.
|
|
66
64
|
|
|
67
|
-
|
|
65
|
+
# flags.verbose.summary
|
|
68
66
|
|
|
69
|
-
|
|
67
|
+
Verbose output of the delete result.
|
|
70
68
|
|
|
71
|
-
|
|
69
|
+
# flags.check-only.description
|
|
72
70
|
|
|
73
|
-
|
|
71
|
+
IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.
|
|
74
72
|
|
|
75
|
-
|
|
73
|
+
Validates the deleted metadata and runs all Apex tests, but prevents the deletion from being saved to the org.
|
|
76
74
|
|
|
77
|
-
|
|
75
|
+
If you change a field type from Master-Detail to Lookup or vice versa, that change isn’t supported when using the --chec-konly parameter to test a deletion (validation). This kind of change isn’t supported for test deletions to avoid the risk of data loss or corruption. If a change that isn’t supported for test deletions is included in a deletion package, the test deletion fails and issues an error.
|
|
78
76
|
|
|
79
|
-
-
|
|
77
|
+
If your deletion package changes a field type from Master-Detail to Lookup or vice versa, you can still validate the changes prior to deploying to Production by performing a full deletion to another test Sandbox. A full deletion includes a validation of the changes as part of the deletion process.
|
|
80
78
|
|
|
81
|
-
|
|
79
|
+
Note: A Metadata API deletion that includes Master-Detail relationships deletes all detail records in the Recycle Bin in the following cases.
|
|
82
80
|
|
|
83
|
-
|
|
81
|
+
1. For a deletion with a new Master-Detail field, soft delete (send to the Recycle Bin) all detail records before proceeding to delete the Master-Detail field, or the deletion fails. During the deletion, detail records are permanently deleted from the Recycle Bin and cannot be recovered.
|
|
84
82
|
|
|
85
|
-
|
|
83
|
+
2. For a deletion that converts a Lookup field relationship to a Master-Detail relationship, detail records must reference a master record or be soft-deleted (sent to the Recycle Bin) for the deletion to succeed. However, a successful deletion permanently deletes any detail records in the Recycle Bin.
|
|
86
84
|
|
|
87
|
-
|
|
85
|
+
# flags.metadata.description
|
|
88
86
|
|
|
89
|
-
|
|
87
|
+
If you specify this parameter, don’t specify --source-dir.
|
|
90
88
|
|
|
91
|
-
|
|
89
|
+
# flags.source-dir.description
|
|
90
|
+
|
|
91
|
+
The supplied paths can be a single file (in which case the operation is applied to only one file) or a folder (in which case the operation is applied to all metadata types in the directory and its sub-directories).
|
|
92
|
+
|
|
93
|
+
If you specify this parameter, don’t specify --metadata.
|
|
92
94
|
|
|
95
|
+
# flags.wait.description
|
|
96
|
+
|
|
97
|
+
If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
|
|
98
|
+
|
|
99
|
+
# flags.test-Level.description
|
|
100
|
+
|
|
101
|
+
Valid values are:
|
|
102
|
+
|
|
103
|
+
- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.
|
|
104
|
+
- 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.
|
|
93
105
|
- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.
|
|
94
106
|
|
|
95
|
-
|
|
107
|
+
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” in the Metadata API Developer Guide.
|
|
96
108
|
|
|
97
109
|
# localPrompt
|
|
98
110
|
|
|
@@ -1,29 +1,34 @@
|
|
|
1
|
-
#
|
|
1
|
+
# resetSummary
|
|
2
|
+
|
|
3
|
+
Reset local and remote source tracking.
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
# resetDescription
|
|
4
6
|
|
|
5
7
|
WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.
|
|
6
8
|
|
|
7
|
-
Resets local and remote source tracking so that
|
|
9
|
+
Resets local and remote source tracking so that Salesforce CLI no longer registers differences between your local files and those in the org. When you next run 'project deploy preview', Salesforce CLI returns no results, even though conflicts might actually exist. Salesforce CLI then resumes tracking new source changes as usual.
|
|
8
10
|
|
|
9
|
-
Use the --revision parameter to reset source tracking to a specific revision number of an org source member. To get the revision number, query the SourceMember Tooling API object with the
|
|
10
|
-
$ sfdx force:data:soql:query -q "SELECT MemberName, MemberType, RevisionCounter FROM SourceMember" -t
|
|
11
|
+
Use the --revision parameter to reset source tracking to a specific revision number of an org source member. To get the revision number, query the SourceMember Tooling API object with the 'data soql' command. For example:
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
<%= config.bin %> data query --query "SELECT MemberName, MemberType, RevisionCounter FROM SourceMember" --use-tooling-api
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
# deleteSummary
|
|
16
|
+
|
|
17
|
+
Delete all local source tracking information.
|
|
18
|
+
|
|
19
|
+
# deleteDescription
|
|
15
20
|
|
|
16
21
|
WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.
|
|
17
22
|
|
|
18
|
-
Deletes all local source tracking information. When you next run 'project deploy preview',
|
|
23
|
+
Deletes all local source tracking information. When you next run 'project deploy preview', Salesforce CLI displays all local and remote files as changed, and any files with the same name are listed as conflicts.
|
|
19
24
|
|
|
20
|
-
# no-
|
|
25
|
+
# flags.no-prompt.summary
|
|
21
26
|
|
|
22
|
-
|
|
27
|
+
Don't prompt for source tracking override confirmation.
|
|
23
28
|
|
|
24
|
-
#
|
|
29
|
+
# flags.revision.summary
|
|
25
30
|
|
|
26
|
-
|
|
31
|
+
SourceMember revision counter number to reset to.
|
|
27
32
|
|
|
28
33
|
# promptMessage
|
|
29
34
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# description
|
|
2
|
+
|
|
3
|
+
check your local project package directories for forceignored files
|
|
4
|
+
|
|
5
|
+
# examples
|
|
6
|
+
|
|
7
|
+
- $ <%= config.bin %> <%= command.id %>
|
|
8
|
+
|
|
9
|
+
- $ <%= config.bin %> <%= command.id %> --source-dir force-app
|
|
10
|
+
|
|
11
|
+
# flags.source-dir
|
|
12
|
+
|
|
13
|
+
file or directory of files that the command checks for foreceignored files
|
|
14
|
+
|
|
15
|
+
# invalidSourceDir
|
|
16
|
+
|
|
17
|
+
File or directory '%s' doesn't exist in your project. Specify one that exists and rerun the command.
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Create a project manifest that lists the metadata components you want to deploy or retrieve.
|
|
4
|
+
|
|
1
5
|
# description
|
|
2
6
|
|
|
3
|
-
create a project manifest that lists the metadata components you want to deploy or retrieve
|
|
4
7
|
Create a manifest from a list of metadata components (--metadata) or from one or more local directories that contain source files (--source-dir). You can specify either of these parameters, not both.
|
|
5
8
|
|
|
6
9
|
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
10
|
|
|
8
|
-
package : package.xml (default)
|
|
9
|
-
pre : destructiveChangesPre.xml
|
|
10
|
-
post : destructiveChangesPost.xml
|
|
11
|
-
destroy : destructiveChanges.xml
|
|
11
|
+
* package : package.xml (default)
|
|
12
|
+
* pre : destructiveChangesPre.xml
|
|
13
|
+
* post : destructiveChangesPost.xml
|
|
14
|
+
* destroy : destructiveChanges.xml
|
|
12
15
|
|
|
13
16
|
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
17
|
|
|
@@ -16,41 +19,49 @@ Use --manifest-name to specify a custom name for the generated manifest if the p
|
|
|
16
19
|
|
|
17
20
|
# examples
|
|
18
21
|
|
|
19
|
-
-
|
|
22
|
+
- Create a manifest for deploying or retrieving all Apex classes:
|
|
23
|
+
|
|
24
|
+
$ <%= config.bin %> <%= command.id %> --metadata ApexClass
|
|
25
|
+
|
|
26
|
+
- Create a manifest for deleting the specified Apex class:
|
|
27
|
+
|
|
28
|
+
$ <%= config.bin %> <%= command.id %> --metadata ApexClass:MyApexClass --manifest-type destroy
|
|
29
|
+
|
|
30
|
+
- Create a manifest for deploying or retrieving all the metadata components in the specified local directory; name the file myNewManifest.xml:
|
|
20
31
|
|
|
21
|
-
|
|
32
|
+
$ <%= config.bin %> <%= command.id %> --source-dir force-app --manifest-name myNewManifest
|
|
22
33
|
|
|
23
|
-
-
|
|
34
|
+
- Create a manifest from the metadata components in the specified org and include metadata in any unlocked packages:
|
|
24
35
|
|
|
25
|
-
|
|
36
|
+
$ <%= config.bin %> <%= command.id %> --from-org test@myorg.com --include-packages unlocked
|
|
26
37
|
|
|
27
|
-
# flags.include-packages
|
|
38
|
+
# flags.include-packages.summary
|
|
28
39
|
|
|
29
|
-
|
|
40
|
+
Comma-separated list of package types (managed, unlocked) whose metadata is included in the manifest; by default, metadata in packages is ignored.
|
|
30
41
|
|
|
31
|
-
# flags.from-org
|
|
42
|
+
# flags.from-org.summary
|
|
32
43
|
|
|
33
|
-
|
|
44
|
+
Username or alias of the org that contains the metadata components from which to build a manifest.
|
|
34
45
|
|
|
35
|
-
# flags.manifest-type
|
|
46
|
+
# flags.manifest-type.summary
|
|
36
47
|
|
|
37
|
-
|
|
48
|
+
Type of manifest to create; the type determines the name of the created file.
|
|
38
49
|
|
|
39
|
-
# flags.manifest-name
|
|
50
|
+
# flags.manifest-name.summary
|
|
40
51
|
|
|
41
|
-
|
|
52
|
+
Name of a custom manifest file to create.
|
|
42
53
|
|
|
43
|
-
# flags.output-dir
|
|
54
|
+
# flags.output-dir.summary
|
|
44
55
|
|
|
45
|
-
|
|
56
|
+
Directory to save the created manifest.
|
|
46
57
|
|
|
47
|
-
# flags.source-dir
|
|
58
|
+
# flags.source-dir.summary
|
|
48
59
|
|
|
49
|
-
|
|
60
|
+
Comma-separated list of paths to the local source files to include in the manifest.
|
|
50
61
|
|
|
51
|
-
# flags.metadata
|
|
62
|
+
# flags.metadata.summary
|
|
52
63
|
|
|
53
|
-
|
|
64
|
+
Comma-separated list of names of metadata components to include in the manifest.
|
|
54
65
|
|
|
55
66
|
# success
|
|
56
67
|
|