sh_cpl/docs/build/html/_sources/cpl_cli.publish.md.txt

27 lines
897 B
Plaintext
Raw Normal View History

2021-05-17 18:32:09 +02:00
# cpl publish
## Contents
- [Description](#description)
<!-- - [Arguments](#arguments) -->
Prepares files for publish into an output directory named dist/ at the given output path and executes ```setup.py```.
cpl **publish** <br>
cpl **p** <br>
cpl **P**
## Description
The command can be used to publish a project of type "console" or "library".
2021-11-01 20:43:25 +01:00
The publish command builds the source files and then creates an ```setup.py``` with data from ```cpl_core.json```.
2021-05-17 18:32:09 +02:00
The command executes the ```setup.py``` and removes all source files with the ```setup.py``` from the 'publish/' directory.
Generated files of ```setup.py``` are in the 'publish/setup/' directory.
<!-- ## Arguments
| Argument | Description | Value type |
| ------------- |:-------------:|:----------------:|
| ```<project>``` | The name of the project to build. Can be an console or a library. | ```str``` -->