Signup without a code queues a pending application; registry approve issues credentials
This commit is contained in:
@@ -180,6 +180,11 @@ enum RegistryCommand {
|
||||
},
|
||||
List,
|
||||
Applications,
|
||||
Approve {
|
||||
id: String,
|
||||
#[arg(long)]
|
||||
registry_url: Option<String>,
|
||||
},
|
||||
SetRelays {
|
||||
#[arg(required = true)]
|
||||
relays: Vec<String>,
|
||||
@@ -356,6 +361,9 @@ async fn main() -> Result<()> {
|
||||
RegistryCommand::Remove { id } => commands::registry_remove(&dir, &id)?,
|
||||
RegistryCommand::List => commands::registry_list(&dir)?,
|
||||
RegistryCommand::Applications => commands::registry_applications(&dir)?,
|
||||
RegistryCommand::Approve { id, registry_url } => {
|
||||
commands::registry_approve(&dir, &id, registry_url.as_deref())?
|
||||
}
|
||||
RegistryCommand::SetRelays { relays } => commands::registry_set_relays(&dir, &relays)?,
|
||||
RegistryCommand::Show => commands::registry_show(&dir)?,
|
||||
RegistryCommand::Serve {
|
||||
|
||||
Reference in New Issue
Block a user