SingleEnum

Created an enum with a single value that can be used in commands with a single argument.

template SingleEnum (
string value
)

Examples

// test add @a
@command("test") test0(SingleEnum!"add", Target target) {}

// test remove @a
@command("test") test1(SingleEnum!"remove", Target target) {}

Meta