Extend the Zopio CLI with custom plugins
.zopio/plugins
directory in your project. You can also specify additional plugin directories using the ZOPIO_PLUGINS_DIR
environment variable.
register
function. This function receives the CLI instance and can register new commands or modify existing ones.
Hook | Description |
---|---|
pre:init | Before project initialization |
post:init | After project initialization |
pre:generate | Before generating a module |
post:generate | After generating a module |
pre:crud | Before generating CRUD operations |
post:crud | After generating CRUD operations |
pre:job | Before creating a job |
post:job | After creating a job |