Generic CLI containerSource:
See containers. A
cli_div container is special, because it may
add new themes, that are valid within the container.
cli_div( id = NULL, class = NULL, theme = NULL, .auto_close = TRUE, .envir = parent.frame() )
Element id, a string. If
NULL, then a new id is generated and returned.
Class name, sting. Can be used in themes.
A custom theme for the container. See themes.
Whether to close the container, when the calling function finishes (or
.enviris removed, if specified).
Environment to evaluate the glue expressions in. It is also used to auto-close the container if
#> #> Custom title
By default a
cli_div() is closed automatically when the calling
#> This is yellow #> This is not yellow any more