Hacker News new | ask | show | jobs
by john-tells-all 370 days ago
Why would someone use this tool when `pre-commit` exists? 14k stars on GitHub:

> multi-language package manager for pre-commit hooks

I'm all for having options, I'm just curious at what GetHooky brings to the table.

1 comments

Quit simple. To use pre-commit you would need python installed, and to be honest, not everyone is going to install python just to install pre-commit right? Meanwhile GetHooky being a CLI tool just requires you to install the respective binary for your system, and done.

Also, pre-commit's approach of creating a YAML file and then running your pre-commit hook is a bit overengineering, in my opinion. I mean, what if I just want to run pytest? A whole YAML file sounds a bit unnecessary work to me. But with GetHooky, it's simple. Just use the add command and then the install command, and your job is done. Nothing much complicated.

Hope this helped you clarify what exactly GetHooky is, its not a package that requires you to install a language for its runtime, its a CLI tool, just download the binary and done.