diff --git a/src/main.rs b/src/main.rs index 099e91f..8a34a94 100644 --- a/src/main.rs +++ b/src/main.rs @@ -138,7 +138,7 @@ struct CreateAssetMediasSubcommand{ #[arg(long,group="api_key",required=true)] api_key_file:Option, #[arg(long)] - asset_type:AssetType, + description:Option, #[arg(long,group="creator",required=true)] creator_user_id:Option, #[arg(long,group="creator",required=true)] @@ -456,6 +456,7 @@ async fn main()->AResult<()>{ (None,Some(group_id))=>rbx_asset::cloud::Creator::groupId(group_id.to_string()), other=>Err(anyhow!("Invalid creator {other:?}"))?, }, + description:subcommand.description.unwrap_or_else(||String::with_capacity(0)), input_files:subcommand.input_files, expected_price:subcommand.expected_price, }).await,