pub fn parse_intent(s: &str) -> Option<&'static str>
Parse and validate an intent string. Returns a static str or None if the value is unrecognised.
None
Valid values: bugfix, feature, refactor, test, architecture, ui.
bugfix
feature
refactor
test
architecture
ui