You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.
Would be cool to to .addHook on a command to intercept its lifecycle and maybe do some modifications at runtime.
command.addHook("pre",(args,options,tools)=>{console.log("This command is about to run with: ",args,options)})command.addHook("post",(args,options,tools)=>{console.log("This command just finished running with: ",args,options)})
The text was updated successfully, but these errors were encountered:
Would be cool to to
.addHook
on a command to intercept its lifecycle and maybe do some modifications at runtime.The text was updated successfully, but these errors were encountered: