Skip to main content

extract_auth_url

Function extract_auth_url 

Source
pub fn extract_auth_url(line: &str) -> Option<String>
Expand description

Extract an OAuth URL from a line of CLI output: an https:// URL that looks like an auth URL, from an OSC-8 link target first, else from the visible text.