Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GPT = &cobra.Command{ Use: "gpt", Run: func(cmd *cobra.Command, args []string) { msg, changes := gpt.GenerateCommitMessage(".") if !changes { clog.Warn("No changes detected") return } clog.Info(msg) }, }
View Source
var Root = &cobra.Command{ Use: "x", Long: color.Template(embed_text.Root), }
View Source
var Scan = &cobra.Command{ Use: "scan", Run: func(cmd *cobra.Command, args []string) { baseDirectory := cfg.BaseDirectory() git.Scan(baseDirectory) git.VerifyPaths() golang.Scan(baseDirectory) golang.VerifyPaths() }, }
View Source
var Setup = &cobra.Command{ Use: "setup", Run: func(cmd *cobra.Command, args []string) { git := shell.Installed("git") if git { fmt.Println("Git is installed") } }, }
View Source
var Version = &cobra.Command{ Use: "version", Run: func(cmd *cobra.Command, args []string) { clog.Info("{{" + embed_text.Version + "| blue }}") }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.