agent-id-cli 0.4.1

Portable identity registry for coding-agent sessions
Documentation
pub mod activity;
pub mod cli;
pub mod herdr;
pub mod names;
pub mod prime;
pub mod registry;

use anyhow::Result;

pub fn run(cli: cli::Cli) -> Result<()> {
    match cli.command {
        cli::Commands::Register(args) => registry::execute_register(&args),
        cli::Commands::Lookup(args) => registry::execute_lookup(&args),
        cli::Commands::Current(args) => registry::execute_current(&args),
        cli::Commands::Annotate(args) => registry::execute_annotate(&args),
        cli::Commands::Discover(args) => registry::execute_discover(&args),
        cli::Commands::Prune(args) => registry::execute_prune(&args),
        cli::Commands::Prime(args) => prime::execute(&args),
    }
}