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 (reverts feature@version back to feature).
  • Removes the versioned symlink in <product>/features/<namespace>/.
  • Keeps .splent_cache untouched.

The active product is determined by SPLENT_APP.


Requirements

  • A product must be selected (SPLENT_APP set).
  • The product must contain pyproject.toml.
  • The feature version must be currently linked in the product.