Expand description
The shared command selector (-s/-p) resolution.
The shared command selector: how -s/-p/project/service flags resolve to
a target set, identically for start, stop, and restart.
Each command’s plan (StartPlan, StopPlan, RestartPlan) is built on top
of a crate::selector::Target so the selector semantics — including the -p-vs-selector
mismatch rule — live in exactly one place and cannot drift between commands.
Structs§
- Project
Mismatch - A
-pflag disagreeing with aproject/serviceselector prefix.
Enums§
- Target
- What a command’s selectors resolve to, before command-specific dispatch.
Functions§
- resolve_
target - Resolves
-s/-pselectors into aTarget. - split_
selector - Splits a
project/serviceselector into its parts, orNoneif unqualified. A part is only recognised when both sides are non-empty.