pub async fn run( ref_: String, mode: OutputMode, quiet_was_explicit: bool, ) -> Result<()>
Run the link subcommand.
link
A non-DOI ref is a usage error; OpenAlex failures surface a typed ErrorCode as a process exit code via CliExit (e.g. a DOI with no OpenAlex work → NOT_FOUND).
ErrorCode
CliExit
NOT_FOUND