Imagine you want to build a fictional gem called with a CLI command: hanami webpack setup
.
Hook into existing command
Third-party Hanami plugins can hook into existing commands, in order to enhance the default behavior. During the command execution lifecycle you can execute custom code before and/or after the command itself.
By running , the third-party code is executed: