-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
When developers use graylog-project bootstrap to clone all repositories the next step is to run yarn install and an initial mvn compile. These steps are required to run the web server and graylog server development processes from the IDE.
To avoid hardcoding these commands in the CLI, the CLI should check for hook scripts in a default location. (e.g. hooks/) A good default might be to check for a script that is named after the CLI command that is executed.
Examples:
graylog-project bootstrap: Check and executehooks/bootstrap.shif it existsgraylog-project checkout: Check and executehooks/checkout.shif it exists
In addition to that, the CLI could also check for <command-name>_custom.sh files where developers can add some custom commands. (these files should be in .gitignore)