inst/examples/ex-handle_input.R

handle_input(
    input_fn = input_yes_no_again_exit,
    implications_fn = purrr::partial(
        .f = function(input) {
            if (input) {
                message("Yes")
            } else {
                message("No")
            }
        }
    )
)
rappster/clix documentation built on Aug. 16, 2022, 9:54 p.m.