-
-
Notifications
You must be signed in to change notification settings - Fork 197
Documentation for hooks #1473
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
Documentation for hooks #1473
Conversation
ping @hdeshev |
a43c1f4
to
6c62a35
Compare
What are the hooks | ||
================== | ||
|
||
The hooks are any executable code or node.js scripts placed in the `hooks` subdirectory of your project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd use "under the hooks
subdirectory", provided there is one more level of subdirectories related to the CLI "lifecycle"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree
6c62a35
to
a514325
Compare
Ping @ikoevska |
👍 |
└── after-prepare (this is an executable file) | ||
``` | ||
|
||
To support multiple scripts extending the same action, you can use a different approach. Create a sud-directory in the `hooks` directory using the naming convention described above. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: sub-directory
LGTM 👍 |
No description provided.