borgmatic/borgmatic/commands
C-Duv f17fde399e Add "actions" runtime variable (#657)
This commit adds the "actions" variable to the list of variables
borgmatic can interpolate at runtime.

This variable will contains the list (as a string of comma-separated
elements) of all the actions borgmatic will run in this instance.

This will allow running "intelligent" before_actions and after_actions
hooks capable of behavior dependent of the actual action borgmatic will
perform/has performed.

Original need for this variable was to automatically mount and unmount
an NFS remote folder.

Issue: #657
2023-05-14 19:12:38 +02:00
..
__init__.py Basic YAML generating / validating / converting to. 2017-07-08 22:33:51 -07:00
arguments.py Add support for logging each log line as a JSON object via global "--log-json" flag (#680). 2023-05-08 23:00:49 -07:00
borgmatic.py Add "actions" runtime variable (#657) 2023-05-14 19:12:38 +02:00
completion.py add test for dedent strip 2023-05-06 11:51:35 -07:00
convert_config.py Add code style plugins to enforce use of Python f-strings and prevent single-letter variables. 2023-03-23 23:11:14 -07:00
generate_config.py Add code style plugins to enforce use of Python f-strings and prevent single-letter variables. 2023-03-23 23:11:14 -07:00
validate_config.py View the results of configuration file merging via "validate-borgmatic-config --show" flag (#673). 2023-04-11 10:49:09 -07:00