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

It would be great if errors could be rethrown by cli? If I have this code lost somewhere, it is a bit difficult to find the location. ```r y Error...

bug

Hi, I just discovered the awesome [color system](https://cli.r-lib.org/reference/ansi-styles.html#ref-examples) in `cli`, my console output has never been more clear and readable :-) However, I was surprised that you have to use...

See also https://github.com/r-lib/pkgdown/pull/2436 In pkgdown we accidentally tried to interpolate fs paths into cli strings and that caused some bad link generation. I think it has something to do with...

bug

In https://github.com/r-lib/pkgdown/commit/52d696dfec4ab529f24f3243a00709256f341707 we went from `style_hyperlink()` to the more ergonomic `{.run }` syntax. Notice how in this case the text we _show_ the user is _not_ code, it is just...

bug

`cli_vec()` is very helpful when informing uses that they should choose one of a set of values. Using `vec-last` is great because it allows us to say ` or {last-item}`...

bug

If the number used for pluralisation is `Inf`, message creation fails. ``` r errormsg range #> Warning in make_quantity(values$qty): NAs introduced by coercion to integer #> range #> Error in...

bug

e.g. in `testthat::local_reproducible_output()` I have ```R withr::local_options( crayon.enabled = crayon, cli.hyperlink = hyperlinks, cli.hyperlink_run = hyperlinks, cli.hyperlink_help = hyperlinks, cli.hyperlink_vignette = hyperlinks, cli.dynamic = FALSE, cli.unicode = unicode, cli.condition_width =...

Hello there. Thank you for your work on this package! Do you have any suggestions for how to include tibble previews in error messages? Currently, our work around is something...

I am thinking yaml, qmd, patch, csv would be great to highlight! Can the function be easily extended?

feature

I would expect "first" and "last" to be colored grey in this case. ```r cli::col_grey("first {.val a} last") |> cli::cli_bullets() ``` ![image](https://github.com/r-lib/cli/assets/52606734/5935e4da-3252-48a4-8f37-b4a92a504ea3) Is this a bug or maybe a limitation?

bug