MicahElliott / captain

A simpler approach to git-hook management
Other
2 stars 0 forks source link

Add description to trigger DSL #30

Open MicahElliott opened 11 months ago

MicahElliott commented 11 months ago

The full DSL should support descriptions. This would mean appending to the end with some separator like:

'lint(clj|cljs):   clj-kondo $CAPT_CHANGES & ## linting of files using all options'

Could do ::: in zsh style, but maybe ## is more shell-comment-like and also could go unparsed.

Purpose: when running each trigger would be able to print the description, for those who might not know what the tool actually does.