pub fn run_src(
client: &dyn HttpClient,
options: &RunSrcOptions,
) -> Result<String>Expand description
Resolve spec via the shared checkout helper and return the text to print:
the checkout path (default) or a JSON SrcModel (json). On a
NoCacheError or any resolver failure this returns an error whose message
the CLI writes to stderr before exiting non-zero — matching the TS behaviour
where both cases route through error() + exit(1).