reloadable configuration
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
184a3b0f0c
commit
b1b6dc0479
3 changed files with 29 additions and 6 deletions
|
@ -1,5 +1,7 @@
|
|||
mod commands;
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
use clap::Subcommand;
|
||||
use conduwuit::Result;
|
||||
|
||||
|
@ -14,6 +16,11 @@ pub(super) enum ServerCommand {
|
|||
/// - Show configuration values
|
||||
ShowConfig,
|
||||
|
||||
/// - Reload configuration values
|
||||
ReloadConfig {
|
||||
path: Option<PathBuf>,
|
||||
},
|
||||
|
||||
/// - List the features built into the server
|
||||
ListFeatures {
|
||||
#[arg(short, long)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue