Helpers for Developing Command Line Interfaces


[Up] [Top]

Documentation for package ‘cli’ version 1.1.0

Help Pages

ansi-styles ANSI colored text
ansi_hide_cursor Hide/show cursor in a terminal
ansi_show_cursor Hide/show cursor in a terminal
ansi_with_hidden_cursor Hide/show cursor in a terminal
bg_black ANSI colored text
bg_blue ANSI colored text
bg_cyan ANSI colored text
bg_green ANSI colored text
bg_magenta ANSI colored text
bg_red ANSI colored text
bg_white ANSI colored text
bg_yellow ANSI colored text
boxx Draw a banner-like box in the console
cat_boxx 'cat()' helpers
cat_bullet 'cat()' helpers
cat_line 'cat()' helpers
cat_print 'cat()' helpers
cat_rule 'cat()' helpers
cli_sitrep cli situation report
col_black ANSI colored text
col_blue ANSI colored text
col_cyan ANSI colored text
col_green ANSI colored text
col_grey ANSI colored text
col_magenta ANSI colored text
col_red ANSI colored text
col_silver ANSI colored text
col_white ANSI colored text
col_yellow ANSI colored text
combine_ansi_styles Combine two or more ANSI styles
console_width Determine the width of the console
demo_spinners Show a demo of some (by default all) spinners
get_spinner Character vector to put a spinner on the screen
is_ansi_tty Detect if a stream support ANSI escape characters
is_dynamic_tty Detect whether a stream supports '\r' (Carriage return)
is_utf8_output Whether cli is emitting UTF-8 characters
list_border_styles Draw a banner-like box in the console
list_spinners List all available spinners
make_ansi_style Create a new ANSI style
make_spinner Create a spinner
rule Make a rule with one or two text labels
style_blurred ANSI colored text
style_bold ANSI colored text
style_dim ANSI colored text
style_hidden ANSI colored text
style_inverse ANSI colored text
style_italic ANSI colored text
style_reset ANSI colored text
style_strikethrough ANSI colored text
style_underline ANSI colored text
symbol Various handy symbols to use in a command line UI
tree Draw a tree