Add custom cli style to a vectorSource:
Add custom cli style to a vector
cli_vec(x, style = list())
Vector that will be collapsed by cli.
Style to apply to the vector. It is used as a theme on a
spanelement that is created for the vector. You can set
vec-lastto modify the separator and the last separator.
You can use this function to change the default parameters of collapsing the vector into a string, see an example below.
The style is added as an attribute, so operations that remove attributes will remove the style as well.
#> My list: foo & bar & foobar.