Merge branch 'add-flag-category-support' of ssh://github.com/michaeljs1990/cli into michaeljs1990-add-flag-category-support

This commit is contained in:
2022-04-22 13:56:03 -04:00
5 changed files with 67 additions and 2 deletions

View File

@@ -94,6 +94,8 @@ type Flag interface {
Apply(*flag.FlagSet) error
Names() []string
IsSet() bool
GetCategory() string
GetHidden() bool
}
// RequiredFlag is an interface that allows us to mark flags as required