feature:info
Show a feature’s contract, dependencies and usage — without cloning it.
Usage
splent feature:info FEATURE [--refresh] [--json]
| Argument / Option | Description |
|---|---|
FEATURE |
Short name (auth), package (splent_feature_auth) or org/repo. |
--refresh |
Re-fetch the index from SPLENT_INDEX_URL before answering. |
--json |
Print the raw index entry as JSON (for scripting). |
Examples
splent feature:info contact
splent feature:info splent-io/splent_feature_events
splent feature:info media --json
What it shows
The full contract card: description, archetype, category/tags, everything the feature provides (models, services, routes, hooks, signals, commands, translations, docker services), everything it requires (features — marked ✔/✗ against the active product —, env vars, signals), its transitive dependency closure, which features use it (reverse dependencies), refinements, PyPI publication state and the repo URL.
When a product is selected, the card tells you whether the feature is
already installed and prints the exact feature:install command if not.
Where the data comes from
- The marketplace index (local
.splent_cache/marketplace/index.json, orSPLENT_INDEX_URL). - Live fallback: with no index available, the command reads the feature’s
pyproject.tomlstraight from GitHub at its latest released tag.
Either way the information is the real [tool.splent.contract] — never a
copy maintained by hand.