@salesforce/plugin-packaging
Version:
SF plugin that support Salesforce Packaging Platform
63 lines (32 loc) • 1.73 kB
Markdown
# summary
Install a specific version of a package bundle in the target org.
# description
During developer preview, package bundles can be installed only in scratch orgs. To install a package bundle in a scratch org, add the PackageBundles feature to the scratch org definition file.
# examples
- Install a package bundle version in a scratch org and wait 10 minutes for the installation to complete:
<%= config.bin %> <%= command.id %> --bundle MyPkgBundle1@0.1 --target-org my-scratch-org --dev-hub-org devhub@example.com --wait 10
# flags.bundle.summary
Package bundle version to install. The valid format is BundleName@VersionNumber, such as "MyPkgBundle@0.1".
# flags.target-org.summary
Username or alias of the org in which to install the package bundle version. Not required if the `target-org` configuration variable is already set.
# flags.dev-hub-org.summary
Username, alias, or ID of the Dev Hub org where the bundle was created.
# flags.dev-hub-org.description
Enter the username, alias, or ID of the Dev Hub org, such as "admin@example.com", "myDevHub", or "00Dxx0000000000".
# flags.wait.summary
Number of minutes to wait for the installation to complete.
# flags.verbose.summary
Display extended details about the installation.
# requestInProgress
Installing package bundle.
# bundleInstallWaitingStatus
%d minutes remaining until timeout. Install status: %s
# bundleInstallFinalStatus
Install status: %s
# bundleInstallSuccess
Successfully installed bundle [%s]
# bundleInstallError
Encountered errors installing the bundle! %s
# bundleInstallInProgress
Bundle installation is currently %s. You can continue to query the status using
sf package bundle install report -i %s -o %s