cmd

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmpty = errors.New(Printer.Sprintf("error empty"))
View Source
var Printer = i18n.GetPrinter()

nolint

Functions

func Execute

func Execute()

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.

func NewSelectTemplates added in v0.1.7

func NewSelectTemplates() *promptui.SelectTemplates

Types

type Env added in v0.1.7

type Env struct {
	Year    string
	User    string
	Package string
	Name    string
	Path    string
}

func NewEnv added in v0.1.7

func NewEnv(dir string) *Env

Jump to

Keyboard shortcuts

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