feat: initial support for GetUserRating
This commit is contained in:
@@ -5,6 +5,9 @@ use strum::EnumString;
|
||||
#[derive(Parser)]
|
||||
#[command(about = "SDGB api tool", long_about = env!("CARGO_PKG_DESCRIPTION"))]
|
||||
pub struct Cli {
|
||||
/// try to generate human readable output.
|
||||
#[arg(short = 'M', long)]
|
||||
pub machine_readable: bool,
|
||||
#[command(subcommand)]
|
||||
pub command: Commands,
|
||||
}
|
||||
@@ -37,6 +40,10 @@ pub enum Commands {
|
||||
#[arg(short, long)]
|
||||
user_id: u32,
|
||||
},
|
||||
Rating {
|
||||
#[arg(short, long)]
|
||||
user_id: u32,
|
||||
},
|
||||
|
||||
// below requires login
|
||||
Userdata {
|
||||
|
||||
Reference in New Issue
Block a user