r-lib / cli

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

Add inline text formatting example for function argument #661

Closed peterdesmet closed 2 months ago

peterdesmet commented 6 months ago

I was looking through the semantic CLI vignette to find guidance on what inline text formatting to use for a function argument/parameter. I noticed in vroom that {arg file} is used. This PR adds argument styling as an example to the vignette.

peterdesmet commented 6 months ago

I should have seen there are my more classes listed at https://cli.r-lib.org/reference/inline-markup.html#classes, a file that is listed from the vignette. So no need to add arg specifically.