1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
//! PortableMC CLI. #![deny(unsafe_code)] pub mod parse; pub mod format; pub mod output; pub mod cmd; use std::process::ExitCode; use clap::Parser; use parse::CliArgs; /// Entry point. fn main() -> ExitCode { cmd::main(&CliArgs::parse()) }