Every CLI command is executed by loading and running a specific lifecycle.
A lifecycle is executed in the next order : 1st
framework hooks , 2nd
In order to add some priority to your plugins hooks you can use
prefixes ( you can see how that works in the plugin example )
const lifecycle = [ 'before:project:validate', 'after:project:validate', 'deploy:final' ];