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