Skip to main content

handle_register

Function handle_register 

Source
pub fn handle_register(repo_path: &Path, registry: &str) -> Result<()>
Expand description

Publishes a local identity to a registry for public discovery.

Args:

  • repo_path: Path to the local identity repository.
  • registry: Base URL of the target registry.

Usage:

handle_register(&repo_path, "https://public.auths.dev")?;