Container elements may contain other elements. Currently the following
commands create container elements:
cli_par(), the list
cli_dl(), and list items are
containers as well:
A container can add a new theme, which is removed when the container exits.
Container elements are closed with
cli_end(). For convenience,
by default they are closed automatically when the function that created
them terminated (either regularly or with an error). The default
behavior can be changed with the
You can use the internal
cli:::cli_debug_doc() function to see the
currently open containers.