• Deploy 1 or more datapack from the specified folders to Salesforce. The deployment process can be controlled by the options parameter. At minimum a connection or sfdxAlias should be specified which will tell the deployment to which environment to connect.

    This is a simple straight forward method that can be used to trigger a deployment without having to prepare and setup the dependent classes and objects.

    Parameters

    • input: string | string[]

      The folder(s) to load the datapacks from that will be deployed

    • options: DatapackDeployOptions

      options that control the deployment

    Returns Promise<DatapackDeployment>

    An promise of the deployment object containing the deployment results