Opus Commands
apex opus <SUB_COMMAND> [OPTIONS]
|
|
Variable code generation commands for models, collections, CRUD, API endpoints, and more. All of these commands are optional, and only generate the code classes, nothing more.
|
Available Commands
| Command | Description |
|---|---|
| admin-settings | Generate views within the admin panel to define settings for a package. |
| api-endpoint | Generate a new REST API endpoint class. |
| collection | Generate full collection with array and iterator functionality constrained to a single model class. |
| crud | Generate controller class and necessary components for CRUD operations of a table. |
| email-controller | Create new e-mail notification controller class. |
| iterator | Create a new iterator class constrained to a single model class. |
| model | Create a new model class from existing database table. |
| stack | Create a new stack class. |
| ws-listener | Create a new web socket listener. |