systemprompt-cli 0.2.2

Unified CLI for systemprompt.io AI governance: agent orchestration, MCP governance, analytics, profiles, cloud deploy, and self-hosted operations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! CLI value parsers for fail-fast validation at command line boundaries.

use systemprompt_identifiers::{Email, ProfileName};

pub fn parse_profile_name(s: &str) -> Result<ProfileName, String> {
    ProfileName::try_new(s).map_err(|e| e.to_string())
}

pub fn parse_email(s: &str) -> Result<Email, String> {
    Email::try_new(s).map_err(|e| e.to_string())
}