use crate::Settings;
use anyhow::Result;
use larian_formats::{format::Write, lspk::write::Writer};
use std::path::PathBuf;
impl Settings {
pub(crate) fn pack_helper(mod_files_root: PathBuf, destination: Option<PathBuf>) -> Result<()> {
let writer = Writer::with_mod_root_path(mod_files_root, destination)?;
writer.write()?;
Ok(())
}
}