wrapcli
CLI identity faking utility.
Usage
Add this to your project's dependencies:
cargo add wrapcli
Then use it in your code:
use ;
Documentation
Full documentation is available on docs.rs.
License
Licensed under MIT.
CLI identity faking utility.
Add this to your project's dependencies:
cargo add wrapcli
Then use it in your code:
use wrapcli::{run_streaming, WrapConfig};
fn main() -> std::io::Result<()> {
let cfg = WrapConfig {
orig_name: "rustc".into(),
fake_name: "dustc".into(),
fake_ver: "2.0.0".into(),
save_orig: true,
};
let args: Vec<String> = std::env::args().skip(1).collect();
let status = run_streaming(&cfg, args)?;
std::process::exit(status.code().unwrap_or(1));
}
Full documentation is available on docs.rs.
Licensed under MIT.