Skip to main content

parse_intent

Function parse_intent 

Source
pub fn parse_intent(s: &str) -> Option<&'static str>
Expand description

Parse and validate an intent string. Returns a static str or None if the value is unrecognised.

Valid values: bugfix, feature, refactor, test, architecture, ui.