feature:list

List all features declared in the active product, grouped by environment.


Usage

splent feature:list

Example output

  All environments — [tool.splent.features] (5):
    - splent-io/splent_feature_auth@v1.2.7
    - splent-io/splent_feature_public@v1.2.7
    - splent-io/splent_feature_redis@v1.2.7
    - splent-io/splent_feature_mail@v1.2.7
    - splent-io/splent_feature_profile@v1.2.7

  Dev only — [tool.splent.features_dev] (1):
    - splent-io/splent_feature_debug@v1.0.0

  Prod only — [tool.splent.features_prod] (1):
    - splent-io/splent_feature_monitoring@v1.0.0

  Total: 7 features

Description

Reads the active product’s pyproject.toml and displays features from three groups:

Group pyproject.toml key When loaded
All environments [tool.splent].features Always
Dev only [tool.splent].features_dev Only with --dev / SPLENT_ENV=dev
Prod only [tool.splent].features_prod Only with --prod / SPLENT_ENV=prod

Empty groups are hidden from the output.


Requirements

  • A product must be selected (SPLENT_APP set).

See also


Back to top

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