Add flag to skip running hooks
Hi beautiful people, Scott suggested i create an issue here.
I added some hooks to my gel.toml so that when i apply a migration it my codegen script runs (TS types, .edgeql builder, etc.).
Thing is they're being invoked in my CI when setting up the db with geldata/setup-gel. I'd like to skip that (more so because it silently errors out).
As a start a flag to skip running the hooks would be needed, no? e.g. a global flag --skip-hooks. And then maybe i'll have to bother you at that other repo.
Thank you!
We've had a quick discussion about this and I've updated the RFC to add the --skip-hooks flag as well as a corresponding environment variable.
https://github.com/geldata/rfcs/pull/112
@mmastrac, can you please implement this CLI flag and environment variable check?