Skip to main content

parse_rewrite

Function parse_rewrite 

Source
pub fn parse_rewrite(raw: &str) -> Option<String>
Expand description

Interpret the stdout of rtk rewrite.

Empty output means rtk had no rewrite to offer, which is not an error: the caller falls back to the original command. Only known commands are covered, so most invocations legitimately land here.