Skip to content

Conversation

@arikkfir
Copy link
Owner

This feature allows parent commands to execute a hook just before a sub-command is run. The hooks are run in out-to-inner order - like so:

Hook run order: root -> sub1 -> sub2
Command run: sub2 only

This feature allows parent commands to execute a hook just before a
sub-command is run. The hooks are run in out-to-inner order - like so:

Hook run order: root -> sub1 -> sub2
Command run: sub2 only
@arikkfir arikkfir added the feature New features and functionality label May 16, 2024
@arikkfir arikkfir self-assigned this May 16, 2024
@arikkfir arikkfir merged commit d71d3a0 into main May 16, 2024
@arikkfir arikkfir deleted the feat/add-support-for-pre-subcommand-run branch May 16, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New features and functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant