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

feat(taskfile): add post tasks feature #1537

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

peterparser
Copy link

Hi, while using go-task I found that a post-tasks like feature would be cool, in my case it would be nice to use it as a teardown for my test environments.

I used posts as a keyword for implementing this feature, if you find something more suitable I will be more than happy to refactor it.

Thank you!

@andreynering
Copy link
Member

Hi @peterparser,

Why do you think posts would be useful?

You can already add extra commands to your cmds list. And to ensure something is run even after a fail, we already have defer.

So, I'm inclined to not have this so we don't have an overlap of features.

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

Successfully merging this pull request may close these issues.

None yet

2 participants