Hilbish/docs/hooks/command.md

8 lines
324 B
Markdown
Raw Normal View History

2021-11-22 21:36:32 +00:00
+ `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.
+ `command.not-found` -> cmdStr > Thrown when a command is not found.
2022-12-28 23:28:16 +00:00
+ `command.not-executable` -> cmdStr > Thrown when Hilbish attempts to run a file
that is not executable.