pub fn init() -> Args
Initialize the typical global environment and parses the typical Args for save’s main CLI entry point.
This will panic if called multiple times, or if other code attempts conflicting global initialization of systems such as logging.
1 2 3
pub fn main() -> Result<(), Box<dyn std::error::Error>> { Ok(save::cli::main(save::cli::init())?) }