cli_end: Close a CLI container

Description Usage Arguments Examples

View source: R/cli.R

Description

Close a CLI container

Usage

1
cli_end(id = NULL)

Arguments

id

Id of the container to close. If missing, the current container is closed, if any.

Examples

1
2
3
4
5
6
7
## If id is omitted
cli_par()
cli_text("First paragraph")
cli_end()
cli_par()
cli_text("Second paragraph")
cli_end()

RonMobile/cli documentation built on Dec. 18, 2021, 11 a.m.