cli icon indicating copy to clipboard operation
cli copied to clipboard

Tools for making beautiful & useful command line interfaces

Results 142 cli issues
Sort by recently updated
recently updated
newest added

The attributes of `cli_ansi_string` are a bit cumbersome for programming, they end up in unexpected places and cause issues for comparison, testing, etc. These variants could be suffixed with `_bare()`?...

Hi, I have a user-supplied string that I want to feed `cli_bullets()`, but it seems to cause a bug if 2 conditions are met: - the string contains an unescaped...

bug

Sure you will here this from elsewhere soon enough but I think the latest change in R-devel (https://github.com/wch/r-source/commit/55b259e7ea922acbd4f1f3e92309b6a699c66ff6 or maybe https://github.com/wch/r-source/commit/00c14e770b7568325e0cd7e2b5a8fbbaefd067f1) has broken cli. I'm struggling to pinpoint where as...

bug

When [closing a container](https://cli.r-lib.org/reference/cli_end.html) by explicitly passing the container ID, this raises an error when performed within a `cli::cli()` call. ``` r cli::cli({ cli::cli_ul("a bullet") }) #> • a bullet...

bug

I'm not sure if this is intended behavior, so I've opened an issue. If it is intended behavior, perhaps it's worth documenting? When nesting `cli::cli()` calls, it is possible for...

```r > remotes::install_github("r-lib/cli") Downloading GitHub repo r-lib/cli@HEAD Installing 1 packages: glue Installing package into ‘C:/Users/cpsievert/AppData/Local/R/win-library/4.2’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/glue_1.6.2.zip' Content type 'application/zip' length 162214 bytes (158 KB)...

I am developing a package. I am switching my error calls from `rlang::abort()` to `cli::cli_abort()` ```r abort("Problem", .internal = TRUE) This is an internal error in the canadr package, please...

bug

When creating cli span elements programmatically, I sometimes have to perform gymnastics to output a string that gives the intended result after interpolation. Would it be possible/easy to add a...

feature

In functions with wrapping, we use the form feed character "\f" to force a newline. I've found that this is handled inconsistently though. If the form feed is at the...

bug