just icon indicating copy to clipboard operation
just copied to clipboard

bare `--evaluate` does not surface module level variables

Open bluefing opened this issue 7 months ago • 1 comments

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

bluefing avatar Apr 07 '26 12:04 bluefing

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.

casey avatar Apr 08 '26 23:04 casey