feature:delete

Delete a versioned feature snapshot from the SPLENT cache.


Usage

splent feature:delete <namespace>/<feature_name> <version> [--force]

Example

splent feature:delete splent_io/notepad v1.2.0

Delete without confirmation:

splent feature:delete splent_io/notepad v1.2.0 --force

If no namespace is provided, splent-io is used by default.


Description

This command:

  • Deletes the cached folder for feature@version under .splent_cache.
  • Scans all products in the workspace and warns if any product references that version.
  • Asks for confirmation when the version is in use (unless --force is provided).

It only affects the local cache. It does not modify products automatically.


Requirements

  • The versioned snapshot must exist in .splent_cache.
  • Use --force only if you know the affected products will be updated or detached.