Skip to content
Discussion options

You must be logged in to vote

Hi @GuySartorelli -

I've always felt that hooks were too complex to package successfully into a command-line argument. I think people would struggle.

But you can do things like this:

echo '
hooks:
  post-start:
    - exec: echo "hi there"
' > .ddev/config.hooks.yaml

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@GuySartorelli
Comment options

GuySartorelli Feb 2, 2026
Maintainer Author

@rfay
Comment options

rfay Feb 2, 2026
Maintainer

Answer selected by GuySartorelli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants