A simple script that allows you to reorder your pre-commit hooks by ID.
Simply run the script - with custom --input and --output if needed - and it will write the IDs of hooks to order.txt
- or --temp-file.
Then after modifying the order of the IDs in order.txt
, hit enter in the script and it will reorder the hooks in the file you specified.