cat function for whereami output

cat_where(
  where,
  type = c("rule", "boxx", "bullet", "line", "print"),
  color = c("none", "black", "blue", "cyan", "green", "magenta", "red", "white",
    "yellow", "grey", "silver"),
  ...
)

Arguments

where

whereami output

type

cli cat_* method. Can be boxx, bullet, line, print, rule. Default is rule.

color

cli col_* method.

...

further arguments passed to cli::cat_*.

Value

character

Author

Colin Fay

Examples

 cat_where(whereami())
#> ── Running From: /home/runner/work/_temp/7a6570a7-4eb5-4e2a-a9f8-61be4498307e ──
 cat_where(whereami(), type = "bullet", bullet = "tick")
#> ✔ Running From: /home/runner/work/_temp/7a6570a7-4eb5-4e2a-a9f8-61be4498307e
 cat_where(whereami(), color = "green")
#> ── Running From: /home/runner/work/_temp/7a6570a7-4eb5-4e2a-a9f8-61be4498307e ──