cli
cli copied to clipboard
Tools for making beautiful & useful command line interfaces
`cli_progress_step()` is an excellent solution for easy-to-use progress updates, so first thank you! Do you have any recommendations about how to handle nested progress steps? I find that the progress...
I.e. truncate at (by default) 20 element, but if the output is longer than (by default) 100 characters, then truncate there. Cf. https://github.com/r-lib/cli/issues/430#issuecomment-1057083066
Hello @gaborcsardi ! I love this package! 🤩 I was modifying `.val` function to list elements with an "or" at the end instead of "and", e.g. `cli::cli_text("{.val {letters[1:3]}}")`. Everything was...
It is more canonical. There also should be an option for this.
Hello! Thanks again for maintaining `cli`, I feel like I am still discovering nice new features all the time (like `diff_chr` and `diff_str` recently!). I'm wondering if there is an...
Until https://github.com/r-lib/cli/issues/601 is fixed. I tried looking into fixing it, but couldn't figure it out due to the regexp. I added this clarification about `line` and `col` being numeric, because...
`usethis::ui_field()` historically quotes its text in a no-color context. When converting usethis to use cli, I made this tweak to `span.field` in a custom theme. But @hadley suggests maybe this...
For example, it might be nice if you could write: ``` cli::cli_inform(c( "!" = "The thing happened.", "?" = "Did you intend for the thing to happen?" )) ``` Right...
`cli_bullets()` lets you use `" "` for an indented item, without a symbol: ``` r cli::cli_bullets(c( " " = "indent", "*" = "bullet" )) #> indent #> • bullet ```...