MicahElliott / captain

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

Concise/compact run mode #32

Open MicahElliott opened 11 months ago

MicahElliott commented 11 months ago

Noticed that other managers have very little output. That can be nice if you don't want to see what the command is or its output. Should support a one-line-per-trigger output mode. Probably will model it after a unit testing framework's output; examples:

Could try something like:

(◕‿-) ⚳ ♥ MSGLINT ⚳ [(4)] ... PASS (⧖ 2ms)
(◕‿-) ⚳ ♦ INLINE-SCRIPT ⚳ [∞] ... PASS (⧖ 8ms)
(◕‿-) ⚳ ♠ FIXMES ⚳ [(1)] ... FAIL (⧖ 25ms)
some details
on failure
(◕‿-) ⚳ ♠ OTHERLINT ⚳ [(8)] ... PASS (⧖ 75ms)

Might want to skip triggers printing anything when they have nothing to really report; eg:

(◕‿-) ⚳⚳⚳ DOCLINT ⚳⚳⚳ (♥ Not seein any matchin files staged, skippin.)