Skip to main content

run

Function run 

Source
pub fn run(
    file: PathBuf,
    list: bool,
    extract: Option<PathBuf>,
    inject: Option<PathBuf>,
    oid: Option<u32>,
) -> Result<()>
Expand description

Entry point for the thumbnails subcommand.

Depending on the flags provided, this function either lists all thumbnail attachments in the 3MF archive, extracts them to a directory, or injects a new thumbnail image into the archive.