Skip to content

Commit

Permalink
Document YADM_HOOK_DATA and YADM_HOOK_DIR env variables (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
erijo committed Jan 27, 2025
1 parent 1505b7e commit 7e19d21
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions yadm.1
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,12 @@ Hooks have the following environment variables available to them at runtime:
.B YADM_HOOK_COMMAND
The command which triggered the hook
.TP
.B YADM_HOOK_DATA
The path to the yadm data directory
.TP
.B YADM_HOOK_DIR
The path to the yadm directory
.TP
.B YADM_HOOK_EXIT
The exit status of the yadm command
.TP
Expand Down

0 comments on commit 7e19d21

Please sign in to comment.