Skip to main content

list

Function list 

Source
pub fn list(
    args: &ResourceListArgs,
    cfg: &Config,
    client: &dyn DspClient,
    renderer: &mut dyn Renderer,
) -> Result<(), Diagnostic>
Expand description

List resource instances of a given type within a project.

Authentication is optional (instance-side read; anonymous callers see only publicly-visible resources per ADR-0007). Reads DSP_TOKEN from the environment and delegates all work to run_list_impl with injectable seams for deterministic testing.