MCPcopy Create free account
hub / github.com/LunaSource/Luna / init

Function init

cmd/commit.go:44–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42
43 if _, err := p.Run(); err != nil {
44 fmt.Println(style.Err(fmt.Sprintf("Error running UI: %v", err)))
45 os.Exit(1)
46 }
47 },
48}
49
50func init() {
51 rootCmd.AddCommand(commitCmd)
52
53 commitCmd.Flags().BoolVarP(&includeEmoji, "emoji", "e", false, "Include emoji to the commit message.")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected