con / duct

A helper to run a command, capture stdout/stderr and details about running
MIT License
1 stars 1 forks source link

Add ability to register external commands/hooks to provide extra metadata #31

Open yarikoptic opened 1 month ago

yarikoptic commented 1 month ago

E.g.

For that we might need to provide some layered mechanism to pick up configurations. E.g. in many datalad or even simpler git repo based cases it could go to .git/config or "datalad's config".

edit1: what I really wondered is even for those external hooks to provide augmentation of environment, e.g. ENV vars, so we could e.g. provide env var to tune git-annex commit message to git-annex branch, e.g. to include its version to help later troubleshooting odd changes etc