Documentation ¶
Index ¶
- Variables
- func AddSubcommands(cmd *cobra.Command, subcommands ...*cobra.Command)
- func BasePostRunE(p *cobra.Command, args []string) error
- func BasePreRunE(cmd *cobra.Command, args []string) error
- func EditInteractive[T proto.Message](spec T, comments ...string) (T, error)
- func InitializeField[T proto.Message](pt *T)
- func JoinKeyValuePairs(pairs map[string]string) []string
- func LoadFromFile[T proto.Message](spec T, path string) error
- func ParseKeyValuePairs(pairs []string) (map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAborted = errors.New("aborted by user")
View Source
var ErrNoEditor = fmt.Errorf("no available editor; please set the EDITOR environment variable and try again")
Functions ¶
func InitializeField ¶
func JoinKeyValuePairs ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.