# Hook for adding and maintaing file headers automatically
All 4DSSE files should have a header specifying authors, last edits, copyright, and liscence information.
Hook should be setup automatically to run on each commit.
## Dependencies
- GitPython
- Python (>=3.10)
## Usage
This script assumes that an enviromental variable has been set which points to the root of the 4DSSE project. This is used to retreive the git log so that author information and last update date information may be read. By default this uses the enviromental variable `_4DSSE_ROOT`; however, this may be changed with the `--root` command line flag. Whatever is set as `--root` will be the name of the enviromental variable this script will search for.
The project name may be changed with the `--project` command line argument. `--project` defaults to "4DSSE"
## Notes
- Generally this script is **not** meant to be directly invoked. Rather, it is meant to be run as a pre-commit-hook automatically.
- There are defaults for root and project; however, they can be configured with command line options so if they change with time those changes can be easily propegated to this script.