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
87 changes: 42 additions & 45 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.93.5 linux-x64 node-v22.16.0
@salesforce/cli/2.93.6 linux-x64 node-v22.16.0
$ sf --help [COMMAND]
USAGE
$ sf COMMAND
Expand Down Expand Up @@ -5506,20 +5506,20 @@ _See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/

## `sf package convert`

Create a second-generation package version from a first-generation package.
Convert a managed-released first-generation managed package into a second-generation managed package.

```
USAGE
$ sf package convert -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-k <value>] [-f
<value>] [-x] [-w <value>] [-m <value>] [--verbose] [-a <value>]

FLAGS
-a, --patch-version=<value> Specific released patch version to convert
-a, --patch-version=<value> Specific released patch version to be converted.
-f, --definition-file=<value> Path to a definition file that contains features and org preferences that the metadata
of the package version depends on.
-k, --installation-key=<value> Installation key for key-protected package.
-m, --seed-metadata=<value> Directory containing metadata to be deployed prior to conversion.
-p, --package=<value> (required) ID (starts with 033) of the first-generation package to convert.
-p, --package=<value> (required) ID (starts with 033) of the first-generation managed package to convert.
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
configuration variable is already set.
-w, --wait=<value> Minutes to wait for the package version to be created.
Expand All @@ -5532,30 +5532,27 @@ GLOBAL FLAGS
--json Format output as json.

DESCRIPTION
Create a second-generation package version from a first-generation package.
Convert a managed-released first-generation managed package into a second-generation managed package.

The package convert creates a new package in the Dev Hub if one does not already exist for the specified
first-generation package.
The package conversion command automatically selects the latest released major.minor first-generation managed package
version, and converts it into a second-generation managed package version.

It then creates a new package version in the Dev Hub with contents based on the specified first-generation package.

By default, the latest released non-patch version from the specified first-generation package will be converted. Use
--patch-version to override the default. Read more about --patch-version option in help
Use --patch-version to specify a released patch version.

To retrieve details about a package version create request, including status and package version ID (04t), run "sf
package version create report -i 08c...".

We recommend specifying the --installation-key to protect the contents of your package and to prevent unauthorized
installation of your package.
To protect the contents of your package and to prevent unauthorized installation of your package, specify the
--installation-key flag.

To list package version creation requests in the org, run "sf package version create list".

ALIASES
$ sf force package convert

EXAMPLES
Create a second-generation package version from the first-generation package with the specified ID and give it the
installation key "password123"; uses your default Dev Hub org:
Create a second-generation managed package version from the first-generation managed package with the specified ID
and give it the installation key "password123"; uses your default Dev Hub org:

$ sf package convert --package 033... --installation-key password123

Expand All @@ -5564,9 +5561,9 @@ EXAMPLES
$ sf package convert --package 033... --installation-key password123 --target-dev-hub devhuborg@example.com

FLAG DESCRIPTIONS
-a, --patch-version=<value> Specific released patch version to convert
-a, --patch-version=<value> Specific released patch version to be converted.

Specify a released patch version as major.minor.patch.build to convert to second generation package version
Specify a released patch version as major.minor.patch to convert to a second-generation managed package version.

-f, --definition-file=<value>

Expand All @@ -5581,15 +5578,15 @@ FLAG DESCRIPTIONS

-m, --seed-metadata=<value> Directory containing metadata to be deployed prior to conversion.

The directory containing metadata that will be deployed on the build org prior to attempting conversion.
The directory containing metadata that will be deployed on the build org prior to attempting package conversion.

-x, --installation-key-bypass Bypass the installation key requirement.

If you bypass this requirement, anyone can install your package. Either an --installation-key value or the
--installation-key-bypass flag is required.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/convert.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/convert.ts)_

## `sf package create`

Expand Down Expand Up @@ -5668,7 +5665,7 @@ FLAG DESCRIPTIONS
Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/create.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/create.ts)_

## `sf package delete`

Expand Down Expand Up @@ -5710,7 +5707,7 @@ EXAMPLES
$ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/delete.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/delete.ts)_

## `sf package install`

Expand Down Expand Up @@ -5809,7 +5806,7 @@ FLAG DESCRIPTIONS
- Delete: Delete all removed components that can be safely deleted, and deprecate the other components.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/install.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/install.ts)_

## `sf package install report`

Expand Down Expand Up @@ -5842,7 +5839,7 @@ EXAMPLES
$ sf package install report --request-id 0Hf... --target-org me@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/install/report.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/install/report.ts)_

## `sf package installed list`

Expand Down Expand Up @@ -5874,7 +5871,7 @@ EXAMPLES
$ sf package installed list --target-org me@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/installed/list.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/installed/list.ts)_

## `sf package list`

Expand Down Expand Up @@ -5912,7 +5909,7 @@ EXAMPLES
$ sf package list --target-dev-hub devhub@example.com --verbose
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/list.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/list.ts)_

## `sf package push-upgrade abort`

Expand Down Expand Up @@ -5952,7 +5949,7 @@ EXAMPLES
$ sf package push-upgrade abort --push-request-id 0DV... --target-dev-hub devhub@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/push-upgrade/abort.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/push-upgrade/abort.ts)_

## `sf package push-upgrade list`

Expand Down Expand Up @@ -6011,7 +6008,7 @@ EXAMPLES
$ sf package push-upgrade list --package 033xyz –-status Failed
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/push-upgrade/list.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/push-upgrade/list.ts)_

## `sf package push-upgrade report`

Expand Down Expand Up @@ -6053,7 +6050,7 @@ EXAMPLES
$ sf package push-upgrade report --push-request-id 0DV... --target-dev-hub devhub@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/push-upgrade/report.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/push-upgrade/report.ts)_

## `sf package push-upgrade schedule`

Expand Down Expand Up @@ -6135,7 +6132,7 @@ FLAG DESCRIPTIONS
Overrides the value of the target-dev-hub configuration variable, if set.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/push-upgrade/schedule.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/push-upgrade/schedule.ts)_

## `sf package uninstall`

Expand Down Expand Up @@ -6183,7 +6180,7 @@ EXAMPLES
$ sf package uninstall --package "Undesirable Package Alias"
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/uninstall.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/uninstall.ts)_

## `sf package uninstall report`

Expand Down Expand Up @@ -6216,7 +6213,7 @@ EXAMPLES
$ sf package uninstall report --request-id 06y... --target-org me@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/uninstall/report.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/uninstall/report.ts)_

## `sf package update`

Expand Down Expand Up @@ -6271,7 +6268,7 @@ FLAG DESCRIPTIONS
associated with your package.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/update.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/update.ts)_

## `sf package version create`

Expand Down Expand Up @@ -6446,7 +6443,7 @@ FLAG DESCRIPTIONS
periods of no output from commands.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/version/create.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/create.ts)_

## `sf package version create list`

Expand Down Expand Up @@ -6507,7 +6504,7 @@ EXAMPLES
$ sf package version create list --created-last-days 0 --status Success
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/version/create/list.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/create/list.ts)_

## `sf package version create report`

Expand Down Expand Up @@ -6550,7 +6547,7 @@ EXAMPLES
$ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/version/create/report.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/create/report.ts)_

## `sf package version delete`

Expand Down Expand Up @@ -6591,7 +6588,7 @@ EXAMPLES
$ sf package version delete --package 04t... --target-org devhub@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/version/delete.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/delete.ts)_

## `sf package version displayancestry`

Expand Down Expand Up @@ -6651,7 +6648,7 @@ FLAG DESCRIPTIONS
You can use the DOT code output in graph visualization software to create tree visualizations.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/version/displayancestry.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/displayancestry.ts)_

## `sf package version list`

Expand Down Expand Up @@ -6727,7 +6724,7 @@ EXAMPLES
$ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/version/list.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/list.ts)_

## `sf package version promote`

Expand Down Expand Up @@ -6771,7 +6768,7 @@ EXAMPLES
$ sf package version promote --package "Awesome Package Alias"
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/version/promote.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/promote.ts)_

## `sf package version report`

Expand Down Expand Up @@ -6811,7 +6808,7 @@ EXAMPLES
$ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/version/report.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/report.ts)_

## `sf package version update`

Expand Down Expand Up @@ -6864,7 +6861,7 @@ EXAMPLES
$ sf package version update --package 04t... --version-description "New Package Version Description"
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package/version/update.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/update.ts)_

## `sf package1 version create`

Expand Down Expand Up @@ -6931,7 +6928,7 @@ FLAG DESCRIPTIONS
subscribers.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package1/version/create.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package1/version/create.ts)_

## `sf package1 version create get`

Expand Down Expand Up @@ -6964,7 +6961,7 @@ EXAMPLES
$ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package1/version/create/get.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package1/version/create/get.ts)_

## `sf package1 version display`

Expand Down Expand Up @@ -6998,7 +6995,7 @@ EXAMPLES
$ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package1/version/display.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package1/version/display.ts)_

## `sf package1 version list`

Expand Down Expand Up @@ -7036,7 +7033,7 @@ FLAG DESCRIPTIONS
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.3/src/commands/package1/version/list.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package1/version/list.ts)_

## `sf plugins`

Expand Down
2 changes: 1 addition & 1 deletion 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.93.5",
"version": "2.93.6",
"author": "Salesforce",
"bin": {
"sf": "./bin/run.js",
Expand Down
Loading