Skip to content

Latest commit

 

History

History
58 lines (48 loc) · 2.17 KB

README.md

File metadata and controls

58 lines (48 loc) · 2.17 KB

sfdx-jeff-hook-plugins

Salesforce CLI hooks to perform deployment of package after org creation

Version Continuous Integration Codecov Downloads/week License

$ npm install -g sfdx-jeff-hook-plugins
$ sfdx COMMAND
running command...
$ sfdx (-v|--version|version)
sfdx-jeff-hook-plugins/0.1.2 darwin-x64 node-v12.19.0
$ sfdx --help [COMMAND]
USAGE
  $ sfdx COMMAND
...

Getting Started

To use, install the Salesforce CLI and run the following commands.

Verify the CLI is installed
  $ sfdx (-v | --version)
Install the plugin
  $ sfdx plugins:install sfdx-jeff-hook-plugins

So, when you run sfdx force:org:create, then it will attempt to install the packages defined on packageAliases. The installation key will be determined trying to use sfdx-installation-key sending the package alias as argument, if found in path. (the goal is to bring convenience but use convention over configuration)

To build the plugin locally, make sure to have yarn installed and run the following commands:

Clone the repository
  $ git clone https://github.com/jefersonchaves/sfdx-jeff-hook-plugins/
Install the dependencies and compile
  $ yarn install
  $ yarn prepack
Link your plugin to the sfdx cli
  $ sfdx plugins:link
To verify
  $ sfdx plugins