Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Module string
)
View Source
var ModuleAddCmd = &cobra.Command{ Use: "add", Short: "Add a Kuma module from a GitHub repository", Run: func(cmd *cobra.Command, args []string) { if Repository == "" { Repository = handleTea() } download(cmd) }, }
View Source
var ModuleCmd = &cobra.Command{ Use: "module", Short: "Manage Kuma modules", Run: func(cmd *cobra.Command, args []string) { cmd.Help() }, }
View Source
var ModuleRmCmd = &cobra.Command{ Use: "rm", Short: "Remove a Kuma module", Run: func(cmd *cobra.Command, args []string) { if Module == "" { style.ErrorPrint("module is required") os.Exit(1) } err := removeModule(Module) if err != nil { style.ErrorPrint("error removing module: " + err.Error()) os.Exit(1) } }, }
Add a Kuma module from a GitHub repository
View Source
var (
Repository string
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.