Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 52 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
$ sf COMMAND
running command...
$ sf (--version|-v)
@salesforce/cli/2.86.5 linux-x64 node-v22.14.0
@salesforce/cli/2.86.6 linux-x64 node-v22.14.0
$ sf --help [COMMAND]
USAGE
$ sf COMMAND
Expand Down Expand Up @@ -3200,7 +3200,7 @@ FLAG DESCRIPTIONS
You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/create/sandbox.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/create/sandbox.ts)_

## `sf org create scratch`

Expand Down Expand Up @@ -3382,7 +3382,7 @@ FLAG DESCRIPTIONS
Omit this flag to have Salesforce generate a unique username for your org.
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/create/scratch.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/create/scratch.ts)_

## `sf org create user`

Expand Down Expand Up @@ -3536,7 +3536,7 @@ EXAMPLES
$ sf org delete sandbox --target-org my-sandbox --no-prompt
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/delete/sandbox.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/delete/sandbox.ts)_

## `sf org delete scratch`

Expand Down Expand Up @@ -3580,7 +3580,7 @@ EXAMPLES
$ sf org delete scratch --target-org my-scratch-org --no-prompt
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/delete/scratch.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/delete/scratch.ts)_

## `sf org disable tracking`

Expand Down Expand Up @@ -3619,7 +3619,7 @@ EXAMPLES
$ sf org disable tracking
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/disable/tracking.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/disable/tracking.ts)_

## `sf org display`

Expand Down Expand Up @@ -3664,7 +3664,7 @@ EXAMPLES
$ sf org display --target-org TestOrg1 --verbose
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/display.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/display.ts)_

## `sf org display user`

Expand Down Expand Up @@ -3745,7 +3745,7 @@ EXAMPLES
$ sf org enable tracking
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/enable/tracking.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/enable/tracking.ts)_

## `sf org generate password`

Expand Down Expand Up @@ -3851,7 +3851,7 @@ EXAMPLES
$ sf org list --clean
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/list.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/list.ts)_

## `sf org list auth`

Expand Down Expand Up @@ -3990,7 +3990,7 @@ FLAG DESCRIPTIONS
Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/list/metadata.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/list/metadata.ts)_

## `sf org list metadata-types`

Expand Down Expand Up @@ -4045,7 +4045,7 @@ FLAG DESCRIPTIONS
Override the api version used for api requests made by this command
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/list/metadata-types.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/list/metadata-types.ts)_

## `sf org list sobject record-counts`

Expand Down Expand Up @@ -4628,7 +4628,7 @@ EXAMPLES
$ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/open.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/open.ts)_

## `sf org open agent`

Expand Down Expand Up @@ -4679,7 +4679,7 @@ EXAMPLES
$ sf org open agent --target-org MyTestOrg1 --browser firefox --name Coral_Cloud_Agent
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/open/agent.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/open/agent.ts)_

## `sf org refresh sandbox`

Expand All @@ -4688,17 +4688,21 @@ Refresh a sandbox org using the sandbox name.
```
USAGE
$ sf org refresh sandbox -o <value> [--json] [--flags-dir <value>] [--no-auto-activate] [-w <minutes> | --async] [-i
<seconds> | ] [-n <value>] [-f <value>] [--no-prompt]
<seconds> | ] [--source-sandbox-name <value> | -i <value>] [-n <value>] [-f <value>] [--no-prompt]

FLAGS
-f, --definition-file=<value> Path to a sandbox definition file for overriding its configuration when you refresh it.
-i, --poll-interval=<seconds> Number of seconds to wait between status polling requests.
-n, --name=<value> Name of the existing sandbox org in your production org that you want to refresh.
-o, --target-org=<value> (required) Username or alias of the production org that contains the sandbox license.
-w, --wait=<minutes> Number of minutes to poll for sandbox refresh status.
--async Request the sandbox refresh, but don't wait for it to complete.
--no-auto-activate Disable auto-activation of the sandbox after a successful refresh.
--no-prompt Don't prompt for confirmation about the sandbox refresh.
-f, --definition-file=<value> Path to a sandbox definition file for overriding its configuration when you refresh
it.
-i, --poll-interval=<seconds> Number of seconds to wait between status polling requests.
-i, --source-id=<value> ID of the sandbox org that becomes the new source org for the refreshed sandbox.
-n, --name=<value> Name of the existing sandbox org in your production org that you want to refresh.
-o, --target-org=<value> (required) Username or alias of the production org that contains the sandbox
license.
-w, --wait=<minutes> Number of minutes to poll for sandbox refresh status.
--async Request the sandbox refresh, but don't wait for it to complete.
--no-auto-activate Disable auto-activation of the sandbox after a successful refresh.
--no-prompt Don't prompt for confirmation about the sandbox refresh.
--source-sandbox-name=<value> Name of the sandbox org that becomes the new source org for the refreshed sandbox.

GLOBAL FLAGS
--flags-dir=<value> Import flag values from a directory.
Expand All @@ -4709,7 +4713,9 @@ DESCRIPTION

Refreshing a sandbox copies the metadata, and optionally data, from your source org to the refreshed sandbox org. You
can optionally specify a definition file if you want to change the configuration of the refreshed sandbox, such as its
license type or template ID.
license type or template ID. You can also use the --source-id or --source-sandbox-name flags to change the refreshed
sandbox org's original source org to a new org; in this case, the refreshed sandbox org's metadata is updated with the
new source org's metadata.

You're not allowed to change the sandbox name when you refresh it with this command. If you want to change the sandbox
name, first delete it with the "org delete sandbox" command. And then recreate it with the "org create sandbox"
Expand All @@ -4731,6 +4737,10 @@ EXAMPLES

$ sf org refresh sandbox --definition-file devSbx3-config.json --target-org prodOrg

Refresh the sandbox named "devSbx2" by changing its original source org to be a sandbox called "devSbx3":

$ sf org refresh sandbox --name devSbx2 --source-sandbox-name devSbx3 --target-org prodOrg

FLAG DESCRIPTIONS
-f, --definition-file=<value> Path to a sandbox definition file for overriding its configuration when you refresh it.

Expand All @@ -4740,6 +4750,14 @@ FLAG DESCRIPTIONS
<https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_sandbox_definition.htm> for all
the options you can specify in the definition file.

-i, --source-id=<value> ID of the sandbox org that becomes the new source org for the refreshed sandbox.

The value of --source-id must be an existing sandbox. The new source sandbox, and the refreshed sandbox specified
with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox
licenses.

You can specify either --source-id or --source-sandbox-name when refreshing an existing sandbox, but not both.

-w, --wait=<minutes> Number of minutes to poll for sandbox refresh status.

If the command continues to run after the wait period, the CLI returns control of the terminal to you and displays
Expand All @@ -4754,9 +4772,17 @@ FLAG DESCRIPTIONS
--no-auto-activate Disable auto-activation of the sandbox after a successful refresh.

By default, a sandbox auto-activates after a refresh. Use this flag to control sandbox activation manually.

--source-sandbox-name=<value> Name of the sandbox org that becomes the new source org for the refreshed sandbox.

The value of --source-sandbox-name must be an existing sandbox. The new source sandbox, and the refreshed sandbox
specified with the --name flag, must both be associated with the production org (--target-org) that contains the
sandbox licenses.

You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/refresh/sandbox.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/refresh/sandbox.ts)_

## `sf org resume sandbox`

Expand Down Expand Up @@ -4819,7 +4845,7 @@ FLAG DESCRIPTIONS
returns the job ID. To resume checking the sandbox creation, rerun this command.
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/resume/sandbox.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/resume/sandbox.ts)_

## `sf org resume scratch`

Expand Down Expand Up @@ -4872,7 +4898,7 @@ FLAG DESCRIPTIONS
returns the job ID. To resume checking the scratch creation, rerun this command.
```

_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/resume/scratch.ts)_
_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/resume/scratch.ts)_

## `sf package create`

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@salesforce/cli",
"description": "The Salesforce CLI",
"version": "2.86.5",
"version": "2.86.6",
"author": "Salesforce",
"bin": {
"sf": "./bin/run.js",
Expand Down Expand Up @@ -165,7 +165,7 @@
"@salesforce/plugin-info": "3.4.54",
"@salesforce/plugin-limits": "3.3.52",
"@salesforce/plugin-marketplace": "1.3.8",
"@salesforce/plugin-org": "5.6.3",
"@salesforce/plugin-org": "5.7.0",
"@salesforce/plugin-packaging": "2.13.1",
"@salesforce/plugin-schema": "3.3.59",
"@salesforce/plugin-settings": "2.4.24",
Expand Down
39 changes: 32 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2172,10 +2172,10 @@
got "^13.0.0"
proxy-agent "^6.4.0"

"@salesforce/plugin-org@5.6.3":
version "5.6.3"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-org/-/plugin-org-5.6.3.tgz#72d7ff869af482b8ae96d6285765e10b0b1a703f"
integrity sha512-xvbgw5WeJO5zfTXKBdLhu9ScvQYPyJpIB9GY7O0lfDXzgumi9mYaK+nN3rIMwqVBp714w7tr404LtjVRc/69dQ==
"@salesforce/plugin-org@5.7.0":
version "5.7.0"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-org/-/plugin-org-5.7.0.tgz#cb3e29c71286698bfb960a32231bc962f9be872a"
integrity sha512-StXGo/W1mcl/dRqbj7pI+lXJmDsfIabkfltv9rBSItYRW9ExIVykOFXYKExdxVq3/rzz0+jXa7txq1aN/UY8wQ==
dependencies:
"@oclif/core" "^4.2.10"
"@oclif/multi-stage-output" "^0.8.12"
Expand Down Expand Up @@ -10375,7 +10375,16 @@ static-eval@2.0.2:
dependencies:
escodegen "^1.8.1"

"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
"string-width-cjs@npm:string-width@^4.2.0":
version "4.2.3"
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"

string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
version "4.2.3"
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
Expand Down Expand Up @@ -10457,7 +10466,14 @@ stringify-package@^1.0.1:
resolved "https://registry.npmjs.org/stringify-package/-/stringify-package-1.0.1.tgz"
integrity sha512-sa4DUQsYciMP1xhKWGuFM04fB0LG/9DlluZoSVywUMRNvzid6XucHK0/90xGxRoHrAaROrcHK1aPKaijCtSrhg==

"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@6.0.1, strip-ansi@^6, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
version "6.0.1"
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
dependencies:
ansi-regex "^5.0.1"

strip-ansi@6.0.1, strip-ansi@^6, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
Expand Down Expand Up @@ -11290,7 +11306,7 @@ workerpool@^6.5.1:
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544"
integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==

"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
version "7.0.0"
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
Expand All @@ -11308,6 +11324,15 @@ wrap-ansi@^6.2.0:
string-width "^4.1.0"
strip-ansi "^6.0.0"

wrap-ansi@^7.0.0:
version "7.0.0"
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
dependencies:
ansi-styles "^4.0.0"
string-width "^4.1.0"
strip-ansi "^6.0.0"

wrap-ansi@^8.1.0:
version "8.1.0"
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz"
Expand Down
Loading