Interface IForgePluginInterface
Methods
getHookListrTasks
- getHookListrTasks<Hook>(childTrace, hookName, hookArgs): Promise<ForgeListrTaskDefinition[]>
Parameters
- childTrace: (<Args, R>(opts, fn) => ((...args) => R))
- <Args, R>(opts, fn): ((...args) => R)
Type Parameters
- Args extends any[]
- R = void
Parameters
- opts: TraceOptions
- fn: ((childTrace, ...args) => R)
- (childTrace, ...args): R
Parameters
- childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R
Rest
...args: Args
Returns R
Returns ((...args) => R)
- hookName: Hook
- hookArgs: ForgeSimpleHookSignatures[Hook]
triggerHook
- triggerHook<Hook>(hookName, hookArgs): Promise<void>
Returns Promise<void>