pub enum GroupCommand {
Create {
name: String,
json: bool,
},
Add {
group: String,
peer: String,
json: bool,
},
Send {
group: String,
message: String,
json: bool,
},
Tail {
group: String,
limit: usize,
json: bool,
},
List {
json: bool,
},
Invite {
group: String,
json: bool,
},
Join {
code: String,
json: bool,
},
}Expand description
v0.6.3: top-level wire mesh verbs. Each verb operates on the current
session’s view of the pinned peer set. status is the read-only
observability primitive (alias for wire session mesh-status);
Group-chat verbs (v0.13.3). Membership is a creator-signed roster
(src/group.rs); send fans a signed message over the member set.
Variants§
Create
Create a new group — you become the creator + sole member, roster signed.
Add
Add a bilaterally-VERIFIED pinned peer to a group you created (Member tier).
Fields
Send
Send a message to every other member of a group (signed fan-out).
Tail
Show recent messages received for a group.
List
List your groups + their members and tiers.
Invite
Mint a shareable join code for a group (a self-contained token carrying
the room coords + signed roster). Anyone you give it to can wire group join <code> to enter the room at Introduced tier. The code IS the room
key — share it only with people you want in the room.
Join
Join a group from a code minted by wire group invite. Materializes the
room locally, pins the existing members on the creator’s vouch, and
announces you to the room so members can verify your messages.
Trait Implementations§
Source§impl Debug for GroupCommand
impl Debug for GroupCommand
Source§impl FromArgMatches for GroupCommand
impl FromArgMatches for GroupCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for GroupCommand
impl Subcommand for GroupCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand