Add a subcommand to check server features
This commit is contained in:
parent
c141153ad1
commit
0cd998a7a6
6 changed files with 221 additions and 25 deletions
|
@ -6,6 +6,7 @@ use clap::Parser;
|
|||
use color_eyre::eyre::{Result, WrapErr};
|
||||
use color_eyre::Section;
|
||||
use commands::missing_date_of_birth::missing_date_of_birth;
|
||||
use commands::server_features::server_features;
|
||||
use commands::server_version::server_version;
|
||||
use commands::sync_date_of_birth::sync_date_of_birth;
|
||||
use config::Config;
|
||||
|
@ -62,6 +63,7 @@ async fn main() -> Result<()> {
|
|||
}
|
||||
},
|
||||
Commands::Server { server_command } => match server_command {
|
||||
ServerCommands::Features {} => server_features(&client).await,
|
||||
ServerCommands::Version {} => server_version(&client).await,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue