just
just copied to clipboard
bare `--evaluate` does not surface module level variables
just --evaluate only surfaces root level variables. A (single) namepath is supported to retrieve module variables which is a bit painful
Is this intended behaviour? the documentation says
--evaluate Evaluate and print all variables. If a variable name is given as an argument, only print that variable's value.
What was intended by 'all' here.
If the intention was to limit all to root only then it might be worth updating the help message / docs.
If this is a bug and the intention was to return all including module variables I would be happy to work on this @casey
I could see this going either way. With many submodules, you might only want to see variables in one submodule at a time. I'll leave this issue open and see if it attracts feedback either way.