Closed FelixZY closed 1 month ago
Thanks for trying out modules!
I think these would be good changes. I added a space before submodules in --list
when groups are present in #2244.
Putting modules into groups is a larger change, since it involves modifying the parser to accept attributes on modules, but it seems like a good idea, if anyone wants to tackle it.
Awesome, thanks - as always - for the quick fix @casey !
I'm working on a PR https://github.com/casey/just/pull/2247 that allows the doc attribute on modules; that has the parser changes necessary to make adding the group attribute on modules possible as well.
I have a potential fix for this in this PR: https://github.com/casey/just/pull/2263. Feel free to review whenever you get the chance!
@casey Is there any documentation I can update in the README
for #2263? I was looking at updating the Recipe Groups
and Modules
sections with examples for grouping modules, but wasn't sure if that was the way to go. Let me know what you prefer and I'm happy to update the docs.
I just merged #2282, which adds some initial documentation to the attributes section, regarding which attributes apply to which types of items. Feel free to open another PR if you think further documentation would be helpful!
I've started grouping commands because that makes them easier to find and read. I'm also using submodules to group certain commands specific to e.g. database commands. However, when listing these using
the submodules are simply appended to the grouped output, making it appear as if they are part of the last declared group:
At a minimum, I would expect the submodules to be grouped separately:
At best, I would like to be able to set custom groups for my submodules: