refactor(commands): separate commands definitions and other code into modules

This commit is contained in:
dusk 2025-01-04 07:35:04 +09:00
parent 405ac11d74
commit af523a4c23
No known key found for this signature in database
24 changed files with 293 additions and 216 deletions

View file

@ -68,10 +68,7 @@ pub(super) fn next_param(input: SmolStr, current_pos: usize) -> Option<(SmolStr,
.is_whitespace()
{
// return quoted string, without quotes
return Some((
substr_to_match[1..pos - 1].into(),
current_pos + pos + 1,
));
return Some((substr_to_match[1..pos - 1].into(), current_pos + pos + 1));
}
}
}