rearrange and comment args

This commit is contained in:
Quaternions 2024-01-12 11:20:22 -08:00
parent a9a40cd2f0
commit ee8e59b898

View File

@ -13,8 +13,11 @@ const CONCURRENT_REQUESTS:usize=32;
#[command(author,version,about,long_about=None)]
#[command(propagate_version = true)]
struct Cli{
//asset options
#[arg(short,long)]
group:Option<u64>,
#[arg(long)]
asset_id:Option<AssetID>,
//idk how to do this better
#[arg(long)]
cookie_literal:Option<String>,
@ -23,6 +26,7 @@ struct Cli{
#[arg(long)]
cookie_file:Option<std::path::PathBuf>,
//decompile options
#[arg(long)]
no_models:Option<bool>,
#[arg(long)]
@ -30,14 +34,12 @@ struct Cli{
#[arg(long)]
no_template:Option<bool>,
//git options
#[arg(long)]
git_committer_name:Option<String>,
#[arg(long)]
git_committer_email:Option<String>,
#[arg(long)]
asset_id:Option<AssetID>,
#[arg(short,long)]
input:Option<std::path::PathBuf>,