r-lib / cli

Tools for making beautiful & useful command line interfaces
https://cli.r-lib.org/
Other
653 stars 70 forks source link

Formatting for numbers? #643

Open hadley opened 1 year ago

hadley commented 1 year ago
x <- 123456
cli::cli_inform("Downloading {x} files")
#> Downloading 123456 files

Created on 2023-11-08 with reprex v2.0.2.9000

Would be nice to have

#> Downloading 123,456 files
gaborcsardi commented 1 year ago

Yeah, we can have some default {.num }.