Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run a script after commands #77

Open
JacobDB opened this issue Dec 27, 2023 · 1 comment
Open

Run a script after commands #77

JacobDB opened this issue Dec 27, 2023 · 1 comment

Comments

@JacobDB
Copy link

JacobDB commented Dec 27, 2023

I want to tie in to chan to also update my composer.json and some other elements; I can do this by writing my own scripts, but I'm not finding any information about those kinds of hooks. Is this possible?

@gido
Copy link

gido commented Jan 4, 2024

I played a bit last year to see if we can easily add a hooks into chan cli.

If I remember correctly, my naive implementation is based on the git hook system (execute a script at .chan/{action} if exists).

I will never finalized it but I can see if I retrieve it and create a draft PR.

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

No branches or pull requests

2 participants