Skip to content

Instantly share code, notes, and snippets.

@woodruffw
Created November 18, 2020 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woodruffw/1c40415d3063aba6809e386806f55714 to your computer and use it in GitHub Desktop.
Save woodruffw/1c40415d3063aba6809e386806f55714 to your computer and use it in GitHub Desktop.
from blight.action import ASAction
class SayHello(ASAction):
def before_run(self, tool):
print(f"running {tool.wrapped_tool()} from {tool.cwd} on {tool.inputs}")
def after_run(self, tool):
print(f"finished running {tool.wrapped_tool()} on {tool.inputs}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment