pub async fn register_command( name: Option<String>, description: Option<String>, ) -> Result<(), ApiError>
Command to register a new agent and save its credentials to the local config.