MCPcopy Create free account
hub / github.com/catppuccin/cli / Execute

Function Execute

internal/cli/root.go:25–30  ·  view source on GitHub ↗

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

()

Source from the content-addressed store, hash-verified

23// Execute adds all child commands to the root command and sets flags appropriately.
24// This is called by main.main(). It only needs to happen once to the rootCmd.
25func Execute() {
26 err := rootCmd.Execute()
27 if err != nil {
28 os.Exit(1)
29 }
30}

Callers 1

mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected