Skip to content

bare --evaluate does not surface module level variables #3263

@bluefing

Description

@bluefing

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions