feat: Exclude undocumented commands

This commit is contained in:
Ginger
2026-01-12 10:51:17 -05:00
parent 00eeeb78de
commit ae28fe92d2
7 changed files with 14 additions and 220 deletions
-3
View File
@@ -4,9 +4,6 @@ use futures::StreamExt;
use crate::Context;
/// Uses the iterator in `src/database/key_value/users.rs` to iterator over
/// every user in our database (remote and local). Reports total count, any
/// errors if there were any, etc
#[implement(Context, params = "<'_>")]
pub(super) async fn check_all_users(&self) -> Result {
let timer = tokio::time::Instant::now();
+3
View File
@@ -8,5 +8,8 @@ use crate::admin_command_dispatch;
#[admin_command_dispatch]
#[derive(Debug, Subcommand)]
pub enum CheckCommand {
/// Uses the iterator in `src/database/key_value/users.rs` to iterator over
/// every user in our database (remote and local). Reports total count, any
/// errors if there were any, etc
CheckAllUsers,
}