Replies: 1 comment 1 reply
-
Thank you for this suggestion. The idea looks good, I have this feature on my radar. You can also check a workaround: #66. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To me this would be a huge thing for lefthook if you've considered adding it.
I'm aware that I can always split commands across multiple tasks, but running
lefthook run <task>
inside a lefthook command unfortunately results in seeing the command's name until all the subcommands are complete, I don't see the spinners for subcommands, only the summary at the end. I think this is the correct experience considering the circumstances, but not the one I'm looking for.I was thinking of an API, and the only reasonable one I can come up with is being able to specify sub-tasks:
What do you think?
EDIT: Or, to simplify the schema, it could be something like:
This way you get to keep
run
. It results into more nesting, but I find it cleaner.Beta Was this translation helpful? Give feedback.
All reactions