-
Hi, I'm considering switching from pre-commit, which (when applicable) passes all files matching the glob for a defined script as input arguments. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hey @avudnez! If I correctly understood you need to get all files in your repo and filter them via some glob. For that you can specify If it's not what you want, please, describe your case in more details, maybe with an example repo. |
Beta Was this translation helpful? Give feedback.
Ok, I think I know what may fit your case. You need to use
commands
instead ofscripts
and pass the file list to the script manually, like this:And in the script you need to iterate the args.
Does it sound helpful?