feat: Move get-remote-pdu to graph command, simplify

This commit is contained in:
timedout committed 2026-10-31 23:09:37 +00:00
1 parent b651fbd088
commit 2f82475811
4 files changed
+36 -168

No files matched your search

-24
View File
@@ -40,30 +40,6 @@ pub enum DebugCommand {
/// the command.
ParsePdu,
/// Attempts to retrieve a PDU from a remote server. **Does not** insert
/// it into the database
/// or persist it anywhere.
GetRemotePdu {
/// An event ID (a $ followed by the base64 reference hash)
event_id: OwnedEventId,
/// Argument for us to attempt to fetch the event from the
/// specified remote server.
server: OwnedServerName,
},
/// Same as `get-remote-pdu` but accepts a codeblock newline delimited
/// list of PDUs and a single server to fetch from
GetRemotePduList {
/// Argument for us to attempt to fetch all the events from the
/// specified remote server.
server: OwnedServerName,
/// If set, ignores errors, else stops at the first error/failure.
#[arg(short, long)]
force: bool,
},
/// Forces device lists for all local and remote users to be updated (as
/// having new keys available)
ForceDeviceListUpdates,