Runs a configured lifecycle hook.
Hook to execute
Hook environment payload
Command string to execute
Spawn implementation used to launch the hook
Promise resolved when hook exits successfully
await runHook('pre-sync', { mapping: 'claude' }, 'echo ok'); Copy
await runHook('pre-sync', { mapping: 'claude' }, 'echo ok');
0.1.0
Runs a configured lifecycle hook.