forked from StrafesNET/asset-tool
rearrange and comment args
This commit is contained in:
parent
a9a40cd2f0
commit
ee8e59b898
@ -13,8 +13,11 @@ const CONCURRENT_REQUESTS:usize=32;
|
|||||||
#[command(author,version,about,long_about=None)]
|
#[command(author,version,about,long_about=None)]
|
||||||
#[command(propagate_version = true)]
|
#[command(propagate_version = true)]
|
||||||
struct Cli{
|
struct Cli{
|
||||||
|
//asset options
|
||||||
#[arg(short,long)]
|
#[arg(short,long)]
|
||||||
group:Option<u64>,
|
group:Option<u64>,
|
||||||
|
#[arg(long)]
|
||||||
|
asset_id:Option<AssetID>,
|
||||||
//idk how to do this better
|
//idk how to do this better
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
cookie_literal:Option<String>,
|
cookie_literal:Option<String>,
|
||||||
@ -23,6 +26,7 @@ struct Cli{
|
|||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
cookie_file:Option<std::path::PathBuf>,
|
cookie_file:Option<std::path::PathBuf>,
|
||||||
|
|
||||||
|
//decompile options
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
no_models:Option<bool>,
|
no_models:Option<bool>,
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
@ -30,14 +34,12 @@ struct Cli{
|
|||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
no_template:Option<bool>,
|
no_template:Option<bool>,
|
||||||
|
|
||||||
|
//git options
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
git_committer_name:Option<String>,
|
git_committer_name:Option<String>,
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
git_committer_email:Option<String>,
|
git_committer_email:Option<String>,
|
||||||
|
|
||||||
#[arg(long)]
|
|
||||||
asset_id:Option<AssetID>,
|
|
||||||
|
|
||||||
#[arg(short,long)]
|
#[arg(short,long)]
|
||||||
input:Option<std::path::PathBuf>,
|
input:Option<std::path::PathBuf>,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user