data-code-extension script run

Run a data code extension script package locally by using data from your Salesforce org.

Run an initialized data code extension package against a Salesforce org. Before you run this command, initialize the package and verify that your entrypoint file is valid.

Run a script package against the org with alias myorg:

Run a script package with a custom config file:

  • -e, --entrypoint <ENTRYPOINT> (Required): Entrypoint file for the package to run.
  • -o, --target-org <TARGET-ORG> (Required): Target Salesforce org to run against.
  • --config-file <CONFIG-FILE> (Optional): Path to a config file.
  • --dependencies <DEPENDENCIES> (Optional): Comma-separated dependencies override.
  • --flags-dir <FLAGS-DIR> (Optional): Global flag that provides command flag values from files in a directory instead of passing them on the command line. Name each file in the directory after a supported flag of the command, without the -- prefix, and include the plain text value for that flag as its content. Omit required flags from the command line if they are satisfied through the directory.