mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-15 18:20:11 +00:00
chore: move command parser into crates
This commit is contained in:
parent
7bd50db63e
commit
63a35c78ac
7 changed files with 0 additions and 0 deletions
|
|
@ -1,13 +0,0 @@
|
|||
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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue