I would like to read the contents of the mix.lock file. It seems to be valid Elixir syntax and so I can do a File.read and a Code.eval_string but eval_string is inherently unsafe and the contents of mix.lock should just be a data structure without any side-effecting code that might be dangerous.
I’m playing around with nushell and trying to write a plugin that generates table data from the mix.lock contents. Just a bit of fun. Not going anywhere really.