//! Implements the input precedence and transfer flow behind the CLI.
modfile;modinput;modqr;usestd::path::PathBuf;pub(super)fnrun(file:Option<PathBuf>)->Result<(), String>{match file {Some(path)=>file::serve(&path),None=>qr::print(&input::read_text()?),}}