cli_control: Control the position and information should be printed

Description Usage Arguments Examples

View source: R/cli_control.R

Description

Control the position and information should be printed

Usage

1
cli_control(pos = "info", text, col_status = NULL)

Arguments

pos

The position of cli function should be

text

The character to print

col_status

The status color for pos = end

Examples

1
2
3
4
5
6
cli_control("head", "Message 1")
cli_control("okay", "Okay message")
cli_control("warning", "Warning message")
cli_control("error", "Error message")
cli_control("info", "Plain information")
cli_control("end", "End of message")

bishun945/DAMATO documentation built on Dec. 19, 2021, 9:48 a.m.