Skip to content

Commit 7e19d21

Browse files
committed
Document YADM_HOOK_DATA and YADM_HOOK_DIR env variables (#343)
1 parent 1505b7e commit 7e19d21

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

yadm.1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,12 @@ Hooks have the following environment variables available to them at runtime:
913913
.B YADM_HOOK_COMMAND
914914
The command which triggered the hook
915915
.TP
916+
.B YADM_HOOK_DATA
917+
The path to the yadm data directory
918+
.TP
919+
.B YADM_HOOK_DIR
920+
The path to the yadm directory
921+
.TP
916922
.B YADM_HOOK_EXIT
917923
The exit status of the yadm command
918924
.TP

0 commit comments

Comments
 (0)