replaced generate_index with generate_hook so that the -r | --regenerate case won't need to be altered if I want to run multiple generate jobs when need

This commit is contained in:
Tristan Ancelet 2023-11-07 12:30:04 -06:00
parent f1fa984587
commit d4655ec4ca

View File

@ -35,8 +35,8 @@ while [[ $# -ne 0 ]]; do
;;
-r | --regenrate )
## This will regnerate index
generate_index
## This will run all generate scripts/functions in the generate_hook function
generate_hook
exit 0
;;
*)