spl:deps

Introduction

spl:deps shows what a feature requires according to the constraints of a model. It follows them transitively, so you get every feature a product must also select, not only the direct ones.

splent spl:deps confirmemail sample_splent_spl
SPL deps
SPL      : sample_splent_spl
UVL      : /workspace/.splent_cache/spls/sample_splent_spl@v4/sample_splent_spl.uvl
Features : 17

Dependencies of 'confirmemail' (features it requires):
- auth
- mail

The feature comes first, then the line.


Finding what requires a feature

splent spl:deps auth sample_splent_spl --reverse
Reverse dependencies of 'auth' (features that require it):
- admin
- confirmemail
- profile
- reset

Check it before you remove a feature. - (none) means the feature requires nothing or, with --reverse, that nothing requires it.


Advanced

Only simple constraints of the form a => b are followed. A compound one such as a => b & c is left out, so check those in the model itself.


Reference

Argument / Option Description
<feature> The feature’s name in the model, or its package
<spl_name> The product line
--reverse Show the features that require it

A name the model does not have exits 1 with '<feature>' is not a feature of <spl>. and a Did you mean ...? line when one is close.


Requirements

  • Detached mode, with no product selected. A leading SPLENT_APP= runs one command detached and keeps your selection.
  • flamapy, to parse the model. The CLI container has it. Elsewhere, pip install splent_cli[uvl].

See also


Back to top

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