-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Description
Run commands before and/or after tasks.
Proposed Syntax
build:
before: echo "Starting build..."
cmd: cargo build
after: echo "Build complete"
# Or with multiple commands
deploy:
before:
- echo "Checking prerequisites"
- ./check-auth.sh
cmd: ./deploy.sh
after:
- echo "Deployed successfully"
- ./notify-slack.shAcceptance Criteria
- Run
beforecommands/tasks before main command - Run
aftercommands/tasks after main command (only on success) - Support single command or array of commands
- Consider
afterAlwaysfor cleanup that runs even on failure