MicahElliott / captain

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

Support single-word non-built-in triggers #18

Closed MicahElliott closed 3 days ago

MicahElliott commented 1 year ago

You should maybe be able to specify a trigger that is just a single command. Presently, user is required to do for non-built-in:

fooname: foocmd  # required today
foocmd  # might be nice, but capt assumes it's a built-in
MicahElliott commented 3 days ago

Built-ins (having no :) are now treated specially (double-filtering), so don't want to implement this.