Add support to unpack archive files

This commit is contained in:
2025-06-07 13:12:41 +08:00
parent ddb54da46c
commit eaee52d64d
3 changed files with 153 additions and 2 deletions

View File

@@ -132,12 +132,20 @@ pub enum Command {
},
/// Import to script
Import(ImportArgs),
/// Pack files to archive
Pack {
/// Input directory
input: String,
/// Output archive file
output: Option<String>,
},
/// Unpack archive to directory
Unpack {
/// Input archive file
input: String,
/// Output directory
output: Option<String>,
},
}
pub fn parse_args() -> Arg {