Crate ragit_cli

Source

Structs§

ArgFlag
ArgParser
Error
Flag
ParsedArgs

Enums§

ArgCount
ArgType
ArgType doesn’t do much. Only Integer and IntegerBetween variants do extra checks. The other variants are more like type signatures which clarifies the intent of the code.
ErrorKind
Span

Functions§

get_closest_string
parse_pre_args
It parses rag [-C <path>] <command> <args> and returns Ok((args, pre_args)) where args is rag <command> <args> and pre_args is -C <path>.
substr_edit_distance
underline_span