Function get_task_kind
Source pub fn get_task_kind(kind: &str) -> Result<String, ErrorKind>
Expand description
Validates the kind name of the task and returns the formatted kind if valid
§Arguments
kind - A reference to the kind name of the task
§Returns
- An Ok Result containing the formatted kind if the input is valid
- An Err Result with an ErrorKind::NotFound if the input is not valid