chore: move command parser into crates

This commit is contained in:
dusk 2025-01-03 20:19:50 +09:00
parent 7bd50db63e
commit 63a35c78ac
No known key found for this signature in database
7 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,13 @@
namespace commands {
CommandResult parse_command(string input);
};
[Enum]
interface CommandResult {
Ok(ParsedCommand command);
Err(string error);
};
dictionary ParsedCommand {
string command_ref;
sequence<string> args;
record<string, string?> flags;
};