feature:detach
Detach a versioned feature from the active product without deleting the cached copy.
Usage
splent feature:detach <namespace>/<feature_name> <version>
Example
splent feature:detach splent_io/notepad v1.2.0
If no namespace is provided, splent-io is used by default.
Description
This command:
- Removes the version pin in the product
pyproject.toml(revertsfeature@versionback tofeature). - Removes the versioned symlink in
<product>/features/<namespace>/. - Keeps
.splent_cacheuntouched.
The active product is determined by SPLENT_APP.
Requirements
- A product must be selected (
SPLENT_APPset). - The product must contain
pyproject.toml. - The feature version must be currently linked in the product.