pub async fn init(profile_arg: Option<String>) -> Result<(), ApiError>
Entry point from main — uses real stdin/stdout and live API validation.