MCPcopy
hub / github.com/urfave/cli / AddFlag

Method AddFlag

category.go:86–86  ·  view source on GitHub ↗

AddFlags adds a flag to a category, creating a new category if necessary.

(category string, fl Flag)

Source from the content-addressed store, hash-verified

84type FlagCategories interface {
85 // AddFlags adds a flag to a category, creating a new category if necessary.
86 AddFlag(category string, fl Flag)
87 // VisibleCategories returns a slice of visible flag categories sorted by name
88 VisibleCategories() []VisibleFlagCategory
89}

Callers 1

Implementers 1

Calls

no outgoing calls

Tested by

no test coverage detected