2
2
réplica de https://github.com/Hilbis/Hilbish sincronizado 2025-07-14 14:52:02 +00:00

docs: documnt command.preexec hook

Este cometimento está contido em:
sammyette 2023-07-10 19:02:06 -04:00
ascendente 9113b44a02
cometimento d63a10d699
Assinados por: sammyette
ID da chave GPG: 904FC49417B44DCD

Ver ficheiro

@ -1,3 +1,8 @@
+ `command.preexec` -> input, cmdStr > Thrown before a command
is executed. The `input` is the user written command, while `cmdStr`
is what will be executed (`input` will have aliases while `cmdStr`
will have alias resolved input).
+ `command.exit` -> code, cmdStr > Thrown when a command exits.
`code` is the exit code of the command, and `cmdStr` is the command that was run.