Hilbish/docs/hooks/command.md

8 lines
320 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.
+ `command.no-perm` -> cmdStr > Thrown when Hilbish attempts to execute a file but
has no permission.