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

Method VisibleFlags

command.go:285–287  ·  command.go::Command.VisibleFlags

VisibleFlags returns a slice of the Flags with Hidden=false

()

Source from the content-addressed store, hash-verified

283
284// VisibleFlags returns a slice of the Flags with Hidden=false
285func (cmd *Command) VisibleFlags() []Flag {
286 return visibleFlags(cmd.allFlags())
287}
288
289func (cmd *Command) appendFlag(fl Flag) {
290 if !hasFlag(cmd.Flags, fl) {

Callers 1

prepareFishFlagsFunction · 0.80

Calls 2

allFlagsMethod · 0.95
visibleFlagsFunction · 0.85

Tested by

no test coverage detected