ui

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearScreen

func ClearScreen()

func CreateSecret

func CreateSecret() error

func CreteProject

func CreteProject(dir string, args ...string) error

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(categoryName string) (*Generator, error)

func (*Generator) RenderedFiles

func (g *Generator) RenderedFiles() map[string][]byte

func (*Generator) RunMainMenu

func (g *Generator) RunMainMenu(subCategory ...string) (escaped bool, err error)

func (*Generator) RunTemplate

func (g *Generator) RunTemplate() (err error)

func (*Generator) SelectedTemplate

func (g *Generator) SelectedTemplate() string

func (*Generator) SetInteractive added in v0.4.1

func (g *Generator) SetInteractive()

func (*Generator) WriteFiles

func (g *Generator) WriteFiles(path string) (err error)

Jump to

Keyboard shortcuts

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