validate_profile_in_config

Function validate_profile_in_config 

Source
pub(crate) fn validate_profile_in_config(profile: &str) -> Result<()>
Expand description

Validate that a profile exists in config before sending an RPC. Fails fast at the CLI boundary with a clear error message.