pub fn run(yes: bool, dry_run: bool) -> Result<()>
Runs the autoremove command.
Returns an error if the autoremove operation fails.
This function does not explicitly panic.