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

Method allFlags

command.go:188–197  ·  command.go::Command.allFlags
()

Source from the content-addressed store, hash-verified

186}
187
188func (cmd *Command) allFlags() []Flag {
189 var flags []Flag
190 flags = append(flags, cmd.Flags...)
191 for _, grpf := range cmd.MutuallyExclusiveFlags {
192 for _, f1 := range grpf.Flags {
193 flags = append(flags, f1...)
194 }
195 }
196 return flags
197}
198
199// useShortOptionHandling traverses Lineage() for *any* ancestors
200// with UseShortOptionHandling

Callers 9

parseFlagsMethod · 0.95
setupDefaultsMethod · 0.95
setupSubcommandMethod · 0.95
runMethod · 0.95
VisibleFlagCategoriesMethod · 0.95
VisibleFlagsMethod · 0.95
lFlagMethod · 0.95
LocalFlagNamesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected