Setup Wizard¶
PyDjinni comes with a setup wizard that allows to bootstrap a simple project setup from a list of available templates.
When running the wizard, a new PyDjinni Library project is initialized in the current working directory.
pydjinni-init¶
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--version |
boolean | Show the version and exit. | False |
--log-level , -l |
choice (debug | info | warn | error ) |
Log level | info |
--help |
boolean | Show this message and exit. | False |
conan-cmake¶
Initializes a CMake project that uses Conan to configure and build a PyDjinni cross-platform library.
Usage:
Options:
Name | Type | Description | Default |
---|---|---|---|
--output-dir |
Path | Directory where the project should be initialized | . |
--platforms |
text | Comma separated list of system target platforms | android,darwin,windows |
--target |
text | The CMake build target name | PyDjinniLib |
--cpp-namespace |
text | The C++ root namespace of the library | pydjinni::lib |
--version |
text | Library package version | 0.0.0 |
--help |
boolean | Show this message and exit. | False |
Return Codes¶
In the event of an error, the CLI tries to provide a helpful return code for further error handling in addition to the error message.
Code | Description |
---|---|
120 | Unknown packaging target |