husky v1.0.3 mix husky.execute View Source

Mix task to invoke a system command set by a husky config file

Examples

With the given config file:

config :husky, pre_commit: "mix format"
mix husky.execute pre-commit

Would execute mix format

Link to this section Summary

Functions

mix task to execute husky config commands.

Link to this section Functions

mix task to execute husky config commands.

Examples

mix husky.execute pre-commit