docs: add more documentation

This commit is contained in:
mokurin000
2025-08-02 02:05:05 +08:00
parent 3721b2f8fd
commit abea7fce11
2 changed files with 10 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ pub enum Commands {
qrcode_content: String,
},
/// Retrieve update package of SDGB
AuthLite {
#[arg(short, long, default_value = "1.50")]
title_ver: String,
@@ -34,12 +35,14 @@ pub enum Commands {
variant: AuthLiteVariant,
},
// below are login-free
/// Test delay to SDGB server
Ping,
/// Get basic info
Preview {
#[arg(short, long)]
user_id: u32,
},
/// Get B35 + B15 play records
Rating {
#[arg(short, long)]
user_id: u32,
@@ -51,12 +54,15 @@ pub enum Commands {
#[arg(short, long, default_value_t = RatingFormat::default())]
format: RatingFormat,
},
/// Get all play records
MusicDetail {
#[arg(short, long)]
user_id: u32,
},
// below requires login
/// Retrieve full userdata
///
/// WARNING: This requires to login & logout your account
Userdata {
#[arg(short, long)]
user_id: u32,