mirror of
https://github.com/TheLocehiliosan/yadm.git
synced 2026-09-10 07:16:22 -04:00
Document YADM_HOOK_DATA and YADM_HOOK_DIR env variables (#343)
Some checks failed
Tests / Tests (macos-13) (push) Has been cancelled
Tests / Tests (macos-15) (push) Has been cancelled
Tests / Tests (ubuntu-20.04) (push) Has been cancelled
Tests / Tests (ubuntu-24.04) (push) Has been cancelled
Tests / Tests (windows-2022) (push) Has been cancelled
Some checks failed
Tests / Tests (macos-13) (push) Has been cancelled
Tests / Tests (macos-15) (push) Has been cancelled
Tests / Tests (ubuntu-20.04) (push) Has been cancelled
Tests / Tests (ubuntu-24.04) (push) Has been cancelled
Tests / Tests (windows-2022) (push) Has been cancelled
This commit is contained in:
parent
1505b7ec8f
commit
7e19d21f09
6
yadm.1
6
yadm.1
|
|
@ -913,6 +913,12 @@ Hooks have the following environment variables available to them at runtime:
|
||||||
.B YADM_HOOK_COMMAND
|
.B YADM_HOOK_COMMAND
|
||||||
The command which triggered the hook
|
The command which triggered the hook
|
||||||
.TP
|
.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
|
.B YADM_HOOK_EXIT
|
||||||
The exit status of the yadm command
|
The exit status of the yadm command
|
||||||
.TP
|
.TP
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue