Remove the signup code; applications always queue for MA review, invite per node
This commit is contained in:
+9
-9
@@ -185,6 +185,11 @@ enum RegistryCommand {
|
||||
#[arg(long)]
|
||||
registry_url: Option<String>,
|
||||
},
|
||||
Invite {
|
||||
id: String,
|
||||
#[arg(long)]
|
||||
registry_url: Option<String>,
|
||||
},
|
||||
SetRelays {
|
||||
#[arg(required = true)]
|
||||
relays: Vec<String>,
|
||||
@@ -193,10 +198,6 @@ enum RegistryCommand {
|
||||
Serve {
|
||||
#[arg(long, default_value = "127.0.0.1:7800")]
|
||||
listen: String,
|
||||
#[arg(long)]
|
||||
signup_code: Option<String>,
|
||||
#[arg(long)]
|
||||
registry_url: Option<String>,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -364,13 +365,12 @@ async fn main() -> Result<()> {
|
||||
RegistryCommand::Approve { id, registry_url } => {
|
||||
commands::registry_approve(&dir, &id, registry_url.as_deref())?
|
||||
}
|
||||
RegistryCommand::Invite { id, registry_url } => {
|
||||
commands::registry_invite(&dir, &id, registry_url.as_deref())?
|
||||
}
|
||||
RegistryCommand::SetRelays { relays } => commands::registry_set_relays(&dir, &relays)?,
|
||||
RegistryCommand::Show => commands::registry_show(&dir)?,
|
||||
RegistryCommand::Serve {
|
||||
listen,
|
||||
signup_code,
|
||||
registry_url,
|
||||
} => commands::registry_serve(&dir, &listen, signup_code, registry_url).await?,
|
||||
RegistryCommand::Serve { listen } => commands::registry_serve(&dir, &listen).await?,
|
||||
},
|
||||
Command::Aggregates {
|
||||
from,
|
||||
|
||||
Reference in New Issue
Block a user