plesty update#
Update metadata in an existing Plesty project. Only the options you provide are changed; everything else is left as-is.
plesty update [OPTIONS]
Operates on the directory set by the global --project-dir option (defaults to the current
working directory).
Options#
Option |
Description |
|---|---|
|
New author name — updates |
|
New author email — updates |
|
New PyPI distribution name — updates |
|
Regenerate |
|
Remove the |
At least one option must be provided.
Examples#
# Change author and email
plesty update --author "Jane Doe" --email jane@example.com
# Rename the PyPI distribution
plesty update --name plesty-pm100d-device
# Regenerate CI with nebula standard
plesty update --standard nebula
# Remove the CI file
plesty update --no-ci
# Combine multiple updates in one call
plesty update --author "Jane Doe" --email jane@example.com --standard quantum
# Update a project in another directory
plesty --project-dir ../plesty-power_meter-device update --author "Jane Doe"
Notes#
--author/--emailupdate[project]metadata inpyproject.toml. Per-file copyright is declared inREUSE.toml; edit it there if the change affects authorship.--namechanges only[project].name. The Python package directory name and all import paths in source files are left unchanged.--standardfully regenerates.gitlab-ci.ymlfrom scratch using thehub-moduleCI component; any manual edits to that file will be lost.