PluralKit/crates/commands/src/commands.udl

14 lines
262 B
Text
Raw Normal View History

2024-09-13 16:02:30 +09:00
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;
};