casey / just

🤖 Just a command runner
https://just.systems
Creative Commons Zero v1.0 Universal
20.51k stars 454 forks source link

Suggestion: --recursive for modules #2196

Open Spatenheinz opened 3 months ago

Spatenheinz commented 3 months ago

I think a --recursive flag could be useful in a couple of different commands e.g. instead of --list-submodules or in --groups to also include groups from modules.

casey commented 3 months ago

I think --recursive is a much better name for the flag than --list-submodules. I would do this in two steps, first make --list-submodules work with --groups to display groups in submodules, and then change the name of --list-submodules to --recursive, and make --list-submodules an alias of --recursive, so that it doesn't break existing use.