Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRE and POST callback functions? #4

Open
Itxaka opened this issue Mar 15, 2023 · 0 comments
Open

PRE and POST callback functions? #4

Itxaka opened this issue Mar 15, 2023 · 0 comments

Comments

@Itxaka
Copy link
Collaborator

Itxaka commented Mar 15, 2023

I mean, you can just use the callback to execute pre and post but what if you wanted a generic function to be run before and after a lot of steps? Should be easier to just have a herd.WithPre(CleanTempFiles) and herd.WithPost(GatherLogs) stanzas in your steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant