1
0
Fork 0
mirror of https://github.com/xavo95/repak.git synced 2025-03-01 02:28:00 +00:00
repak/examples/subcommands/version.rs

5 lines
144 B
Rust
Raw Normal View History

2023-01-14 18:32:06 +00:00
pub fn version(path: String, key: String) -> Result<(), unpak::Error> {
println!("{}", super::load_pak(path, key)?.version());
Ok(())
}