ArgBindWith

Attach this onto an argument/provide it directly to ArgBinder.bind, to specify a specific function to use when binding the argument, instead of relying on ArgBinder's default behaviour.

Notes: The Func should match the following signature:

Result!T Func(string arg);

Where T will be the type of the argument being bound to.

struct ArgBindWith (
alias Func
) {}

Members

Functions

bind
Result!T bind(string arg)
Undocumented in source. Be warned that the author may not have intended to support it.

Parameters

Func

The function to use to perform the binding.

See Also

jaster.cli.binder.ArgBinder and jaster.cli.binder.ArgBinder.bind for more details.

Meta