Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Methods ¶
type Methods struct {
// contains filtered or unexported fields
}
Methods is a slice of toolsets.Method that implements the flag.Value interface, allowing it to be used as a command-line flag type.
func NewMethods ¶ added in v1.18.2
NewMethods creates a new Methods instance with the specified initial methods.
func (*Methods) Set ¶
Set parses a comma-separated string of method names and updates the Methods slice. It supports individual method names, as well as profile names that expand into multiple methods. If an invalid method or profile name is encountered, it returns an error.
Click to show internal directories.
Click to hide internal directories.