@pumpkin-plugins/build API / cli / ExecuteCliOptions
Interface: ExecuteCliOptions
Defined in: tools/build/src/cli.ts:136
Dependencies for the executable CLI boundary.
Properties
environment?
optionalenvironment?:ProcessEnv
Defined in: tools/build/src/cli.ts:138
Environment used to decide whether to check for an update.
isTTY?
optionalisTTY?:boolean
Defined in: tools/build/src/cli.ts:140
Whether standard output is an interactive terminal.
startUpdateCheck?
optionalstartUpdateCheck?: (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
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.