get

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

get.go

Package get defines the 'get' subcommand for the Kuma CLI. It handles generating project scaffolds based on Go templates.

Index

Constants

This section is empty.

Variables

View Source
var (
	Repo      string
	Template  string
	Templates map[string]interface{}
)
View Source
var GetCmd = &cobra.Command{
	Use:   "get",
	Short: "Get a templates repository remotely",
	Run: func(cmd *cobra.Command, args []string) {
		if Template == "" && Repo == "" {
			Template = handleTea()
		}
		download(cmd)
	},
}

GetCmd represents the 'get' subcommand.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL