cpl new
Contents
Generates a workspace and initial project or add a project to workspace.
cpl new <type> <name>
cpl n <type> <name>
cpl N <type> <name>
Description
Generates a workspace and initial project or add a project to workspace.
You can define custom project types by creating templates in a .cpl
folder.
If the command is running in a CPL workspace, it will add the new project to the workspace.
Argument |
Description |
Value type |
---|---|---|
|
The type of the project, see types |
|
|
The name of the project |
|
|
First element of path will be used as base-path not ‘src’. For example: ‘cpl g c test/Test’ will be created at |
|
Project types
Project type |
Description |
---|---|
|
A simple console application |
|
A package |
Flags
Argument |
Description |
---|---|
|
Specifies whether async is used |
|
Specifies whether application base is used |
|
Specifies whether startup is used |
|
Specifies whether service-providing is used |
|
Specifies whether nothing is used |
|
Specifies whether venv is used |