Combine behavioral struct fields into sub-struct groupings #1791
Labels
area/v3
relates to / is being considered for v3
kind/cleanup
describes internal cleanup / maintaince
kind/feature
describes a code enhancement / feature request
Milestone
Some of the fields on
Command
are related and may be grouped together for clarity. For example, theseHelp.+
fields could be grouped together under aHelp
field:HideHelp
➡️Help.Hidden
HideHelpCommand
➡️Help.CommandHidden
or these fields related to shell completion could be under a
ShellCompletion
field:EnableShellCompletion
➡️ShellCompletion.Enabled
ShellCompletionCommandName
➡️ShellCompletion.CommandName
or all of these could be grouped under an
Options
orConfig
field (?):There are arguable tradeoffs, of course, such as:
HideSomething
(default on) vs.EnableSomething
(default off)Ideas and questions and concerns wanted 🙇🏼
The text was updated successfully, but these errors were encountered: