Open pacak opened 1 year ago
Currently external supports explicit or implicit path to a function, support function call directly as well?
external
with function no_bool to generate --foo and --no-foo this would allow to write something like this
no_bool
--foo
--no-foo
#[derive(Debug, Clone, Bpaf)] struct Options { #[bpaf(external(no_bool("banana", "no banana")), help("Should banana be enabled?")] banana: bool }
Currently
external
supports explicit or implicit path to a function, support function call directly as well?with function
no_bool
to generate--foo
and--no-foo
this would allow to write something like this