mirror of
https://github.com/sayanarijit/xplr
synced 2024-11-04 18:00:14 +00:00
2962a8d52d
This improves the compatibility and adds the ability to introduce non-breaking changes by using a builder pattern. Example: ```rust fn main() { match xplr::runner(None).and_then(|a| a.run()) { Ok(Some(out)) => print!("{}", out), Ok(None) => {} Err(err) => { if !err.to_string().is_empty() { eprintln!("error: {}", err); }; std::process::exit(1); } } } ``` |
||
---|---|---|
.. | ||
run.rs |