Group options and arguments by topic
[nitpick] too many commands
- Group options by topic when running
just --helpfrom the command line - Same thing with commands
a) recipe listing / selection --choose --list --groups --summary
b) justfile formatting / checking --fmt --check
c) justfile management --init --dump --edit
d) variables --variables --evaluate
e) help --help --changelog --man
f) others --version --completions
I think that's pretty reasonable. There's a help_heading feature that clap provides, that we already use to separate commands from other options, so this would just require using different headings for the different groups of commands.
Part of the confusion is that commands look like options. Thinking loud, could commands behave like built-in recipes??
just --sys help just --sys list just --sys init ...
It would be pretty annoying to have to type --sys. Also, this would be a very disruptive breaking change.
Yeah, I agree
It would be nice to have a different command for managing just and another command for running recipes justrun.
Would have justrun as a separate command ease the user experience for #476
Because most of the options of the just command are about managing just or justfiles etc. If we have a dedicated justrun, then have options/flags, commands and subcommands(using modules) etc...?