mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-19 08:41:24 +01:00
allow selecting a subset of rooms
This can make debugging a specific room much easier/faster.
This commit is contained in:
parent
b1e14fad5c
commit
aa49b111ed
4 changed files with 32 additions and 13 deletions
|
|
@ -6,6 +6,7 @@
|
|||
use std::path::PathBuf;
|
||||
|
||||
use clap::{Parser, Subcommand};
|
||||
use ruma::OwnedRoomId;
|
||||
|
||||
use crate::{
|
||||
config::{default_tracing_filter, EnvFilterClone, LogFormat},
|
||||
|
|
@ -107,6 +108,12 @@ pub(crate) struct GetRoomStatesArgs {
|
|||
#[clap(long, short)]
|
||||
pub(crate) recompute: bool,
|
||||
|
||||
/// Limit the output to a subset of rooms by their IDs
|
||||
///
|
||||
/// This option can be specified multiple times.
|
||||
#[clap(long, short)]
|
||||
pub(crate) select: Vec<OwnedRoomId>,
|
||||
|
||||
#[clap(flatten)]
|
||||
observability: ObservabilityArgs,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue