Skip to content

@pumpkin-plugins/build API / cli / ExecuteCliOptions

Interface: ExecuteCliOptions ​

Defined in: tools/build/src/cli.ts:136

Dependencies for the executable CLI boundary.

Properties ​

environment? ​

optional environment?: ProcessEnv

Defined in: tools/build/src/cli.ts:138

Environment used to decide whether to check for an update.


isTTY? ​

optional isTTY?: boolean

Defined in: tools/build/src/cli.ts:140

Whether standard output is an interactive terminal.


startUpdateCheck? ​

optional startUpdateCheck?: (args, options) => Promise<void>

Defined in: tools/build/src/cli.ts:142

Starts an update lookup; injectable to test CLI dispatch without network access.

Looks for a newer published build tool and prints an optional migration notice.

Parameters ​

args ​

readonly string[]

Arguments passed to the build executable.

options ​

BuildUpdateCheckOptions

Eligibility, lookup, and output dependencies.

Returns ​

Promise<void>

Remarks ​

Lookup errors and missing package metadata are intentionally ignored so they cannot affect a plugin build. Start it before the build and await it after the build finishes.

pumpkin-plugins documentation