pub async fn cmd_create(
room_id: &str,
socket: Option<&Path>,
visibility: &str,
invite: &[String],
token: &str,
) -> Result<()>Expand description
One-shot create subcommand: connect to daemon, create a room, print result.
Sends a CREATE:<room_id> request to the daemon socket with the given
visibility and invite list. The daemon creates the room immediately and
returns a room_created envelope.
socket overrides the default daemon socket path (auto-discovered if None).
token is required for authentication — the daemon validates it against the
global UserRegistry.