cli

package
v1.17.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Methods

type Methods []toolsets.Method

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 (*Methods) Set

func (m *Methods) Set(value string) error

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.

func (Methods) String

func (m Methods) String() string

String returns a comma-separated string representation of the Methods slice.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL