forked from StrafesNET/map-tool
named args
This commit is contained in:
parent
95b6272b18
commit
52ba44c6be
@ -24,11 +24,14 @@ enum Commands {
|
|||||||
|
|
||||||
#[derive(Args)]
|
#[derive(Args)]
|
||||||
struct DownloadTexturesSubcommand {
|
struct DownloadTexturesSubcommand {
|
||||||
|
#[arg(long,required=true)]
|
||||||
roblox_files:Vec<PathBuf>
|
roblox_files:Vec<PathBuf>
|
||||||
}
|
}
|
||||||
#[derive(Args)]
|
#[derive(Args)]
|
||||||
struct ExtractTexturesSubcommand {
|
struct ExtractTexturesSubcommand {
|
||||||
|
#[arg(long)]
|
||||||
bsp_file:PathBuf,
|
bsp_file:PathBuf,
|
||||||
|
#[arg(long)]
|
||||||
vpk_dir_files:Vec<PathBuf>
|
vpk_dir_files:Vec<PathBuf>
|
||||||
}
|
}
|
||||||
#[derive(Args)]
|
#[derive(Args)]
|
||||||
@ -36,14 +39,17 @@ struct ConvertTexturesSubcommand {
|
|||||||
}
|
}
|
||||||
#[derive(Args)]
|
#[derive(Args)]
|
||||||
struct VPKContentsSubcommand {
|
struct VPKContentsSubcommand {
|
||||||
|
#[arg(long)]
|
||||||
input_file:PathBuf,
|
input_file:PathBuf,
|
||||||
}
|
}
|
||||||
#[derive(Args)]
|
#[derive(Args)]
|
||||||
struct BSPContentsSubcommand {
|
struct BSPContentsSubcommand {
|
||||||
|
#[arg(long)]
|
||||||
input_file:PathBuf,
|
input_file:PathBuf,
|
||||||
}
|
}
|
||||||
#[derive(Args)]
|
#[derive(Args)]
|
||||||
struct DownloadMeshesSubcommand {
|
struct DownloadMeshesSubcommand {
|
||||||
|
#[arg(long,required=true)]
|
||||||
roblox_files:Vec<PathBuf>
|
roblox_files:Vec<PathBuf>
|
||||||
}
|
}
|
||||||
#[derive(Args)]
|
#[derive(Args)]
|
||||||
|
Loading…
Reference in New Issue
Block a user