cpl generate
Contents
- Description 
- Arguments 
- Schematics 
Generate a file based on schematic.
cpl generate <schematic> <name> 
cpl g <schematic> <name> 
cpl G <schematic> <name>
Description
Generates files based on a schematic.
You can define custom schematics by creating templates in a .cpl folder.
Arguments
| Argument | Description | Value type | 
|---|---|---|
| 
 | The schematic to generate. | 
 | 
| 
 | The name of the generated file. | 
 | 
| 
 | First element of path will be used as base-path not ‘src’. For example: ‘cpl g c test/Test’ will be created at  | 
 | 
Schematics
| Schematic | Description | Arguments | 
|---|---|---|
| 
 | Abstract base class | 
 | 
| 
 | Class | 
 | 
| 
 | Enum class | 
 | 
| 
 | Pipe class | 
 | 
| 
 | Service class | 
 | 
| 
 | 
 | |
| 
 | Test class | 
 | 
| 
 | Thread class | 
 | 
| 
 | Validator class | 
 | 
| 
 | Discord bot command class | 
 | 
| 
 | Discord bot event class | 
 |