1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2025-06-04 00:23:58 +00:00

Add information about YADM_HOOK_FULL_COMMAND

This commit is contained in:
Tim Byrne 2020-01-27 08:39:55 -06:00 committed by Erik Flodin
parent 6b4075c4a3
commit 859bdaccbe
No known key found for this signature in database
GPG Key ID: 420A7C865EE3F85F

View File

@ -32,10 +32,15 @@ YADM_HOOK_EXIT
: The exit status of the yadm command
YADM_HOOK_FULL_COMMAND
: The yadm command with all command line arguments
: The yadm command with all command line arguments (parameters are space
delimited, and any space, tab or backslash will be escaped with a
backslash). An example of parsing this variable with Bash can be found
[here][parse-example].
YADM_HOOK_REPO
: The path to the yadm repository
YADM_HOOK_WORK
: The path to the work-tree
[parse-example]: https://github.com/yadm-dev/yadm/blob/master/contrib/hooks/parsing_full_command_example/pre_log