sh_cpl/docs/source/cpl_cli.add.md

32 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2021-05-17 18:32:09 +02:00
# cpl add
## Contents
- [Description](#description)
- [Arguments](#arguments)
2022-07-31 11:30:05 +02:00
- [Flags](#flags)
2021-05-17 18:32:09 +02:00
Removes a project from workspace.
cpl **add** *&lt;source-project&gt;* *&lt;target-project&gt;* <br>
cpl **a** *&lt;source-project&gt;* *&lt;target-project&gt;* <br>
cpl **A** *&lt;source-project&gt;* *&lt;target-project&gt;*
## Description
Adds a project reference to given project.
If you call the command in a CPL workspace, you can use the project names. Otherwise the paths of the projects must be specified.
## Arguments
2022-06-27 21:42:34 +02:00
| Argument | Description | Value type |
|------------------------|:----------------------------------------------------------:|:----------:|
| ```<source-project>``` | Name of the project to which the reference has to be added | ```str``` |
| ```<target-project>``` | Name of the project to be referenced | ```str``` |
## Flags
| Argument | Description |
|------------------|:------------------------------------------:|
2023-02-20 15:55:20 +01:00
| ```--simulate``` | Specifies whether the command is simulated |