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:
parent
6b4075c4a3
commit
859bdaccbe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user