named args

This commit is contained in:
Quaternions 2024-04-19 00:18:20 -07:00
parent 95b6272b18
commit 52ba44c6be

View File

@ -24,11 +24,14 @@ enum Commands {
#[derive(Args)]
struct DownloadTexturesSubcommand {
#[arg(long,required=true)]
roblox_files:Vec<PathBuf>
}
#[derive(Args)]
struct ExtractTexturesSubcommand {
#[arg(long)]
bsp_file:PathBuf,
#[arg(long)]
vpk_dir_files:Vec<PathBuf>
}
#[derive(Args)]
@ -36,14 +39,17 @@ struct ConvertTexturesSubcommand {
}
#[derive(Args)]
struct VPKContentsSubcommand {
#[arg(long)]
input_file:PathBuf,
}
#[derive(Args)]
struct BSPContentsSubcommand {
#[arg(long)]
input_file:PathBuf,
}
#[derive(Args)]
struct DownloadMeshesSubcommand {
#[arg(long,required=true)]
roblox_files:Vec<PathBuf>
}
#[derive(Args)]