You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way that we can use the post_init hook in order to run additional scripts after a new project is initialized?
For example, is there somewhere that I can I tell pdm to run git init when pdm init finishes? I tried adding a post_init script under [tool.pdm.scripts] on the global project, but that didn't accomplish anything.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a way that we can use the
post_init
hook in order to run additional scripts after a new project is initialized?For example, is there somewhere that I can I tell pdm to run
git init
whenpdm init
finishes? I tried adding apost_init
script under[tool.pdm.scripts]
on the global project, but that didn't accomplish anything.Beta Was this translation helpful? Give feedback.
All reactions