cache:usage

Show which products declare each feature in their pyproject.toml.


Usage

splent cache:usage [--feature FEATURE]

Examples

Show all feature-to-product mappings:

splent cache:usage

Filter by partial feature name:

splent cache:usage --feature auth

Example output

Feature usage across 3 feature(s):

  splent_feature_auth@v1.2.7
    └── sample_splent_app

  splent_feature_redis@v1.2.7
    ├── sample_splent_app
    └── another_product

  splent_feature_mail@v1.2.7
    └── sample_splent_app

Options

Option Description
--feature Filter results to features whose name contains this string (case-insensitive).

Description

Reads every product’s pyproject.toml in the workspace and builds a map of each feature reference to the product(s) that declare it. This is the reverse view of cache:orphans: instead of showing what is unused, it shows what is used and by whom.

Useful when deciding whether it is safe to remove a cache entry, or when tracking which products would be affected by updating a feature version.


Back to top

splent. Distributed by an LGPL license v3. Contact us: drorganvidez@us.es