binderString

Undocumented in source. Be warned that the author may not have intended to support it.
ResultOf!string
binderString
(
string value
)

Examples

@CommandDefault
static struct S
{
    @ArgPositional
    string str;
}

alias Info = commandInfoFor!S;
enum Param = Info.positionalArgs[0];
S s;
assert(ArgBinder!().bind!Param("hello", s).isOk);
assert(s.str == "hello");

Meta