Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catppuccin/cli
/ Hook
Struct
Hook
internal/pkg/structs/program.go:75–78 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
)
74
75
type
Hook
struct
{
76
Type HookType `yaml:
"type"
`
77
Args []string `yaml:
"args"
`
78
}
79
80
func
(h Hook) Run() error {
81
if
len(h.Args) == 0 {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected