# cpl generate
## Contents
- [Description](#description)
- [Arguments](#arguments)
- [Schematics](#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.
## Arguments
| Argument | Description | Value type |
| ----------------- |:---------------------------------:|:-------------:|
| `````` | The schematic to generate. | ```str``` |
| `````` | The name of the generated file. | ```str``` |
## Schematics
| Schematic | Description | Arguments |
| ----------------- |:-------------------:|:----------------:|
| ```abc``` | Abstract base class | ``````
| ```class``` | Class | ``````
| ```enum``` | Enum class | ``````
| ```service``` | Service class | ``````
| ```settings``` | [Configmodel](cpl_core.configuration) | ``````
| ```thread``` | Thread class | ``````