craft-hub / executeCommand
Function: executeCommand()
executeCommand(
store,project,capability,onOutput?,persistedInvocation?):Promise<RunHandle>
Defined in: packages/craft-hub/src/executor.ts:32
Execute only a structured command capability after project trust is established.
Parameters
store
project
capability
onOutput?
(event) => void
persistedInvocation?
CommandInvocation = capability.invocation
Returns
Promise<RunHandle>