| cli {cli} | R Documentation |
Compose multiple cli functions
Description
cli() will record all cli_* calls in expr, and emit them together
in a single message. This is useful if you want to built a larger
piece of output from multiple cli_* calls.
Usage
cli(expr)
Arguments
expr |
Expression that contains |
Details
Use this function to build a more complex piece of CLI that would not make sense to show in pieces.
cli({
cli_h1("Title")
cli_h2("Subtitle")
cli_ul(c("this", "that", "end"))
})
#> #> ── Title ───────────────────────────────────────────────────────────── #> #> ── Subtitle ── #> #> • this #> • that #> • end
Value
Nothing.
[Package cli version 3.6.3 Index]