agent-id-cli 0.1.0

Portable identity registry for coding-agent sessions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod activity;
pub mod cli;
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::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),
    }
}