Skip to content

runSf

runSf(args, options?): ExecaChildProcess

Defined in: packages/simply-cicd-core/src/exec/sfCli.ts:34

Run the Salesforce CLI.

Everything this package does to an org ultimately shells out to sf, and each site was naming the binary itself. Options are forwarded only when a caller supplies them, so the underlying execa() call keeps the exact arity each site had.

string[]

Arguments to pass to sf.

Options

Optional execa options, e.g. { stdio: 'inherit' } to stream output straight into the job log.

ExecaChildProcess

The completed execa result.