Skip to main content

run

Function run 

Source
pub fn run(
    args: &SparqlQueryArgs,
    cfg: &Config,
    client: &dyn DspClient,
) -> Result<(), Diagnostic>
Expand description

Run a raw SPARQL query, owning all real IO: stdin (D5), the --query-file read (D5), DSP_TOKEN (D11), and stdout (D3).

Reads stdin only when neither --query nor --query-file is given, and never when stdin is a terminal — a hang waiting on an interactive terminal is a usage error, not a silent block (D5).