-
-
Notifications
You must be signed in to change notification settings - Fork 909
Closed
Labels
Description
I am trying to write a hook to format jsonnet files.
Goal is: If a changed file is *.jsonnet or *.libsonnet, then run jsonnetfmt -i <file_path>. (Assuming jsonnetfmt in the path)
What would be the best approach? I believe system language would work? Is there an example that could help me?
Thanks.