heroku / heroku/salesforce-cli-buildpack

[question] how to install CLI plugins?

Open
#7 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
26
Forks
34
PR merge metrics
No merged PRs in 30d

Description

hi, I wonder how to install plugins for sfdx CLI. I tried something like this in `compile` script:
```
install_sfdx_cli_plugins() {
log "Installing sfdx plugins ..."
sfdx plugins:install @salesforce/plugin-name
}
```

and call it after `install_sfdx_cli`:
```
setup_dirs
log "Starting CLI installation ..."
install_sfdx_cli
install_sfdx_cli_plugins
```

in the output I can see how my plugins are installed, but after, in heroku I do a `sfdx plugins --core` and I can't see my plugins

any idea?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.