UTPM is a package manager for local and remote Typst packages. Quickly create and manage projects and templates on your system, and publish them directly to Typst Universe.
useonce_cell::sync::OnceCell;usecrate::commands::Cli;/// A global static variable holding the args with which UTPM has been called
pubstaticARGS:OnceCell<Cli>=OnceCell::new();/// Returns the arguments
pubfnget_args()->&'static Cli{ARGS.get().expect("ARGS should be initialized")}