Skip to content

feat(hooks): provide a single list of hooks on command creation#17

Merged
arikkfir merged 1 commit intomainfrom
arikkfir/feat/single-hooks-init
Jul 7, 2024
Merged

feat(hooks): provide a single list of hooks on command creation#17
arikkfir merged 1 commit intomainfrom
arikkfir/feat/single-hooks-init

Conversation

@arikkfir
Copy link
Owner

@arikkfir arikkfir commented Jul 7, 2024

This change allows users to provide just a single list of hooks to the New and MustNew API, and have each hook implement PreRunHook, PostRunHook or both. Passing an object that implements neither results in an error.

This change allows users to provide just a single list of hooks to the
`New` and `MustNew` API, and have each hook implement `PreRunHook`,
`PostRunHook` or both. Passing an object that implements neither results
in an error.
@arikkfir arikkfir added the feature New features and functionality label Jul 7, 2024
@arikkfir arikkfir self-assigned this Jul 7, 2024
@arikkfir arikkfir merged commit d9b7479 into main Jul 7, 2024
@arikkfir arikkfir deleted the arikkfir/feat/single-hooks-init branch July 7, 2024 07:58
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

Comments