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

Interface CommandCategory

category.go:53–58  ·  category.go::CommandCategory

CommandCategory is a category containing commands.

Source from the content-addressed store, hash-verified

51
52// CommandCategory is a category containing commands.
53type CommandCategory interface {
54 // Name returns the category name string
55 Name() string
56 // VisibleCommands returns a slice of the Commands with Hidden=false
57 VisibleCommands() []*Command
58}
59
60type commandCategory struct {
61 name string

Callers 10

LessMethod · 0.65
TypeNameMethod · 0.65
tracefFunction · 0.65
TestTracingFunction · 0.65
helpCommandActionFunction · 0.65
DefaultShowCommandHelpFunction · 0.65
TestCommandCategoriesFunction · 0.65
VisibleCategoriesMethod · 0.65

Implementers 1

commandCategorycategory.go

Calls

no outgoing calls

Tested by

no test coverage detected