Skip to content

Conversation

DannyBen
Copy link
Member

@DannyBen DannyBen commented Mar 21, 2023

cc #359, #116

  • Remove unused --help related code from the generated run() function
  • If src/before.sh exists, it will be put into a before_hook() function and called in run() after processing the args, but before running any of the commands.
  • If src/after.sh exists, it will be put into an after_hook() function and called in run() after running any of the commands.
  • Add bashly add hooks
  • Add hooks example (== integration test)
  • Update bashly docs (Add Before/After hooks documentation bashly-book#21)

@DannyBen DannyBen merged commit 2310022 into master Mar 21, 2023
@DannyBen DannyBen deleted the add/hooks branch March 21, 2023 10:42
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.

1 participant