Skip to content

Commit 6d7ea9b

Browse files
author
SF-CLI-BOT
committed
chore(release): 1.6.0 [ci skip]
1 parent 380c978 commit 6d7ea9b

File tree

3 files changed

+32
-14
lines changed

3 files changed

+32
-14
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [1.6.0](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.5.5...v1.6.0) (2022-09-06)
6+
7+
### Features
8+
9+
- support retrieves in metadata format ([#313](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/313)) ([380c978](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/380c978f1a19fe3eac6468d7c5dab6bca7ffbf6d))
10+
511
### [1.5.5](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.5.4...v1.5.5) (2022-08-23)
612

713
### [1.5.4](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.5.3...v1.5.4) (2022-08-15)

README.md

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ EXAMPLES
117117
$ sf deploy --interactive
118118
```
119119

120-
_See code: [src/commands/deploy.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.5.4/src/commands/deploy.ts)_
120+
_See code: [src/commands/deploy.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.5.5/src/commands/deploy.ts)_
121121

122122
## `sf deploy metadata`
123123

@@ -732,20 +732,24 @@ Retrieve metadata in source format from an org to your local project.
732732

733733
```
734734
USAGE
735-
$ sf retrieve metadata [--json] [-a <value>] [-c] [-x <value> | -m <value> | -d <value>] [-n <value>] [-o <value>]
736-
[-w <value>]
735+
$ sf retrieve metadata [--json] [-a <value>] [-c] [-x <value> | -m <value> | -d <value>] [-n <value>]
736+
[--single-package -t <value>] [-o <value>] [-w <value>] [-z ] [--zip-file-name <value> ]
737737
738738
FLAGS
739-
-a, --api-version=<value> Target API version for the retrieve.
740-
-c, --ignore-conflicts Ignore conflicts and retrieve and save files to your local filesystem, even if they
741-
overwrite your local changes.
742-
-d, --source-dir=<value>... File paths for source to retrieve from the org.
743-
-m, --metadata=<value>... Metadata component names to retrieve.
744-
-n, --package-name=<value>... Package names to retrieve.
745-
-o, --target-org=<value> Login username or alias for the target org.
746-
-w, --wait=<value> Number of minutes to wait for the command to complete and display results to the
747-
terminal window.
748-
-x, --manifest=<value> File path for the manifest (package.xml) that specifies the components to retrieve.
739+
-a, --api-version=<value> Target API version for the retrieve.
740+
-c, --ignore-conflicts Ignore conflicts and retrieve and save files to your local filesystem, even if they
741+
overwrite your local changes.
742+
-d, --source-dir=<value>... File paths for source to retrieve from the org.
743+
-m, --metadata=<value>... Metadata component names to retrieve.
744+
-n, --package-name=<value>... Package names to retrieve.
745+
-o, --target-org=<value> Login username or alias for the target org.
746+
-t, --target-metadata-dir=<value> Directory root for the retrieved files.
747+
-w, --wait=<value> Number of minutes to wait for the command to complete and display results to the
748+
terminal window.
749+
-x, --manifest=<value> File path for the manifest (package.xml) that specifies the components to retrieve.
750+
-z, --unzip Extract all files from the retrieved zip file.
751+
--single-package Indicates that the zip file points to a directory structure for a single package.
752+
--zip-file-name=<value> File name to use for the retrieved zip file.
749753
750754
GLOBAL FLAGS
751755
--json Format output as json.
@@ -803,6 +807,14 @@ EXAMPLES
803807
$ sf retrieve metadata --package-name Package1 "PackageName With Spaces" Package3
804808
$ sf retrieve metadata --package-name Package1 --package-name "PackageName With Spaces" --package-name Package3
805809
810+
Retrieve using Metadata API
811+
812+
$ sf retrieve metadata --source-dir force-app --target-metadata-dir output
813+
814+
Retrieve using Metadata API and automatically unzip the contents
815+
816+
$ sf retrieve metadata --source-dir force-app --target-metadata-dir output --unzip
817+
806818
FLAG DESCRIPTIONS
807819
-a, --api-version=<value> Target API version for the retrieve.
808820

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-deploy-retrieve",
33
"description": "deploy and retrieve commands for sf",
4-
"version": "1.5.5",
4+
"version": "1.6.0",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)