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
109 changes: 107 additions & 2 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.134.0 linux-x64 node-v22.22.2
@salesforce/cli/2.134.1 linux-x64 node-v22.22.2
$ sf --help [COMMAND]
USAGE
$ sf COMMAND
Expand Down Expand Up @@ -173,6 +173,9 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI.
- [`sf plugins install PLUGIN`](#sf-plugins-install-plugin)
- [`sf plugins link PATH`](#sf-plugins-link-path)
- [`sf plugins reset`](#sf-plugins-reset)
- [`sf plugins trust allowlist add`](#sf-plugins-trust-allowlist-add)
- [`sf plugins trust allowlist list`](#sf-plugins-trust-allowlist-list)
- [`sf plugins trust allowlist remove`](#sf-plugins-trust-allowlist-remove)
- [`sf plugins trust verify`](#sf-plugins-trust-verify)
- [`sf plugins uninstall [PLUGIN]`](#sf-plugins-uninstall-plugin)
- [`sf plugins update`](#sf-plugins-update)
Expand Down Expand Up @@ -7781,6 +7784,108 @@ FLAGS

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.62/src/commands/plugins/reset.ts)_

## `sf plugins trust allowlist add`

Add plugins to the plugin allowlist.

```
USAGE
$ sf plugins trust allowlist add -n <value>... [--json] [--flags-dir <value>]

FLAGS
-n, --name=<value>... (required) The npm name of the plugin to add to the allowlist. Add multiple plugins by
specifying the `--name` flag multiple times.

GLOBAL FLAGS
--flags-dir=<value> Import flag values from a directory.
--json Format output as json.

DESCRIPTION
Add plugins to the plugin allowlist.

The plugin allowlist lets users automatically install a plugin without being prompted, even when the plugin is
unsigned.

This command adds one or more plugins to the `unsignedPluginAllowList.json` file, creating the file if it doesn't
exist. Plugins already present in the allowlist are skipped.

EXAMPLES
Add a single plugin to the allowlist:

$ sf plugins trust allowlist add --name @scope/my-plugin

Add multiple plugins to the allowlist:

$ sf plugins trust allowlist add --name @scope/my-plugin --name another-plugin
```

_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/3.8.0/src/commands/plugins/trust/allowlist/add.ts)_

## `sf plugins trust allowlist list`

List the plugins on the plugin allowlist.

```
USAGE
$ sf plugins trust allowlist list [--json] [--flags-dir <value>]

GLOBAL FLAGS
--flags-dir=<value> Import flag values from a directory.
--json Format output as json.

DESCRIPTION
List the plugins on the plugin allowlist.

The plugin allowlist lets users automatically install a plugin without being prompted, even when the plugin is
unsigned.

This command prints the contents of the `unsignedPluginAllowList.json` file as a table.

EXAMPLES
List all plugins on the allowlist:

$ sf plugins trust allowlist list
```

_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/3.8.0/src/commands/plugins/trust/allowlist/list.ts)_

## `sf plugins trust allowlist remove`

Remove plugins from the plugin allowlist.

```
USAGE
$ sf plugins trust allowlist remove -n <value>... [--json] [--flags-dir <value>]

FLAGS
-n, --name=<value>... (required) The npm name of the plugin to remove from the allowlist. Remove multiple plugins by
specifying the `--name` flag multiple times.

GLOBAL FLAGS
--flags-dir=<value> Import flag values from a directory.
--json Format output as json.

DESCRIPTION
Remove plugins from the plugin allowlist.

The plugin allowlist lets users automatically install a plugin without being prompted, even when the plugin is
unsigned.

This command removes one or more plugins from the `unsignedPluginAllowList.json` file. Plugins not present in the
allowlist are skipped.

EXAMPLES
Remove a single plugin from the allowlist:

$ sf plugins trust allowlist remove --name @scope/my-plugin

Remove multiple plugins from the allowlist:

$ sf plugins trust allowlist remove --name @scope/my-plugin --name another-plugin
```

_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/3.8.0/src/commands/plugins/trust/allowlist/remove.ts)_

## `sf plugins trust verify`

Validate a digital signature.
Expand Down Expand Up @@ -7808,7 +7913,7 @@ EXAMPLES
$ sf plugins trust verify --npm @scope/npmName
```

_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/3.7.127/src/commands/plugins/trust/verify.ts)_
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/3.8.0/src/commands/plugins/trust/verify.ts)_

## `sf plugins uninstall [PLUGIN]`

Expand Down
6 changes: 3 additions & 3 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.134.0",
"version": "2.134.1",
"author": "Salesforce",
"bin": {
"sf": "./bin/run.js",
Expand Down Expand Up @@ -146,7 +146,7 @@
},
"dependencies": {
"@inquirer/select": "^2.3.5",
"@oclif/core": "4.10.6",
"@oclif/core": "4.11.0",
"@oclif/plugin-autocomplete": "3.2.46",
"@oclif/plugin-commands": "4.1.47",
"@oclif/plugin-help": "6.2.45",
Expand Down Expand Up @@ -175,7 +175,7 @@
"@salesforce/plugin-sobject": "1.4.100",
"@salesforce/plugin-telemetry": "3.8.15",
"@salesforce/plugin-templates": "56.16.4",
"@salesforce/plugin-trust": "3.7.127",
"@salesforce/plugin-trust": "3.8.0",
"@salesforce/plugin-user": "3.9.0",
"@salesforce/sf-plugins-core": "12.2.10",
"ansis": "^3.12.0"
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1742,10 +1742,10 @@
node-gyp "^12.1.0"
proc-log "^6.0.0"

"@oclif/core@4.10.6", "@oclif/core@^4", "@oclif/core@^4.0.27", "@oclif/core@^4.10.4", "@oclif/core@^4.10.5", "@oclif/core@^4.10.6", "@oclif/core@^4.8.0":
version "4.10.6"
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.10.6.tgz#233d66284d8c7c8162c9d437754503734069dd85"
integrity sha512-ySCOYnPKZE3KACT1V9It99hWG9b8E5MpagbRdWxPNRO3beMqmbr4SLUQoFtZ9XRtW++kks1ZVwZOdpnR8rpb9A==
"@oclif/core@4.11.0", "@oclif/core@^4", "@oclif/core@^4.0.27", "@oclif/core@^4.10.4", "@oclif/core@^4.10.5", "@oclif/core@^4.10.6", "@oclif/core@^4.8.0":
version "4.11.0"
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.11.0.tgz#262102cbdabfe0f83eba5381a4ffcd34d779921a"
integrity sha512-nTkRMgxFlIKQIIYGvhO2JMsLSQ1aHPHblHfFgxgoBrGK8Ao/8wxc4eNOIv/+t8dMXliZd7mREVr6la4aXXXg5A==
dependencies:
ansi-escapes "^4.3.2"
ansis "^3.17.0"
Expand Down Expand Up @@ -2578,10 +2578,10 @@
"@salesforce/sf-plugins-core" "^12"
"@salesforce/templates" "^66.7.12"

"@salesforce/plugin-trust@3.7.127", "@salesforce/plugin-trust@^3.7.89":
version "3.7.127"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-trust/-/plugin-trust-3.7.127.tgz#454e490c0a678c19fd9ce906d6aa8560e771143c"
integrity sha512-yJZ2MkcMtKksQ17Tk6irKxoyCwle+tP0jGYNTj6eGqbhvBAC4ueLGjdYpGOe70taceu1LZPEEdwAgirlZ+0o8A==
"@salesforce/plugin-trust@3.8.0", "@salesforce/plugin-trust@^3.7.89":
version "3.8.0"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-trust/-/plugin-trust-3.8.0.tgz#fd98704f63ac646316b523d65a7655b6a634306c"
integrity sha512-SkG1HhfWMfo3hpKooukPW4wlVadk4lQlP3R2De8D6CElxNlr0zkQhWirQrt67nCkSZZKjXdyPOeJzqY2/9jMpA==
dependencies:
"@oclif/core" "^4"
"@salesforce/core" "^8.28.1"
Expand Down
Loading