x = "BenchmarkTools" # just an example pkg"status $x" # what I want but doesn't work
Looking at the definition of
@pkg_str I figured I can do
x = "BenchmarkTools" s = "status $x" Pkg.REPLMode.do_cmd(Pkg.REPLMode.minirepl, s; do_rethrow=true)
which works but is arguably ugly.
Is there a nice way that I’m missing?