Expand description
Library-level service entrypoints built on the core ports. Small embeddable service-layer command surface.
This module exists for callers that want osp-style command parsing and DSL
pipelines without bootstrapping the full CLI host or REPL runtime.
High level flow:
- parse a narrow service command grammar
- execute it against abstract
crate::portstraits - optionally apply trailing DSL stages to the returned rows
Contract:
- this layer is intentionally small and port-driven
- richer host concerns like plugin dispatch, prompt handling, and terminal rendering belong elsewhere
Public API shape:
crate::services::ServiceContext::newis the main construction surface- parsed commands and output values stay plain semantic data
- callers that outgrow this small surface should move up to
crate::appor down tocrate::portsrather than reassembling host machinery here
Structs§
- Service
Context - Embeddable execution inputs for the small service-layer command API.
Enums§
- Parsed
Command - Parsed subset of commands understood by
execute_line.
Functions§
- execute_
command - Executes a parsed service-layer command against the configured LDAP port.
- execute_
line - Executes one service-layer command line and applies any trailing DSL stages.
- parse_
repl_ command - Interprets tokenized service-layer input using the minimal LDAP command grammar.