Pkg REPL mode: filter status list

pkg

#1

If I switch to pkg repl mode (]) is there a way to filter the status list of added packages?

For example, I might want to know which version of package X I’m using in this environment but the status list is really long.

I guess one way to do it is using Pkg; Pkg.installed()["NameOfPackage"]. But I’d love to do it in the pkg repl mode.


#2

There is a feature request for pkg> status X here: https://github.com/JuliaLang/Pkg.jl/issues/575. Should be simple to implement if you want give it a go.


#3

Maybe I’ll have some time later today :slight_smile:


#4