helpers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHiddenDingTalkCommand added in v1.0.0

func NewHiddenDingTalkCommand(runner executor.Runner) *cobra.Command

func NewHiddenVendorCommands added in v1.0.0

func NewHiddenVendorCommands(runner executor.Runner) []*cobra.Command

func NewPublicCommands

func NewPublicCommands(runner executor.Runner) []*cobra.Command

func NormalizeSkillName

func NormalizeSkillName(input string) string

NormalizeSkillName converts free-form skill names to a stable dash-case key.

func RegisterHiddenDingTalk added in v1.0.0

func RegisterHiddenDingTalk(factory Factory)

func RegisterHiddenVendor added in v1.0.0

func RegisterHiddenVendor(vendor string, factory Factory)

func RegisterPublic

func RegisterPublic(factory Factory)

func ValidateNaming

func ValidateNaming(vendor, name string) error

Types

type Factory

type Factory func() Handler

type Handler

type Handler interface {
	Name() string
	Command(runner executor.Runner) *cobra.Command
}

type Manifest

type Manifest struct {
	Vendor      string
	Name        string
	Description string
}

func (Manifest) FullName

func (m Manifest) FullName() string

Jump to

Keyboard shortcuts

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