Documentation ¶
Index ¶
- func ClearScreen()
- func CreateProject(dir, gitURL string, args ...string) error
- func CreateSecret() error
- func GetProjectTemplates(gitURL string) (res []string, err error)
- func GetTemplateGenerators(tmplSrc string) (tmplDir string, err error)
- type Generator
- func (g *Generator) RenderedFiles() map[string][]byte
- func (g *Generator) RunMainMenu(subCategory ...string) (escaped bool, err error)
- func (g *Generator) RunTemplate() (err error)
- func (g *Generator) SelectedTemplate() string
- func (g *Generator) SetInteractive()
- func (g *Generator) WriteFiles(path string) (err error)
- type TmplFS
- type TmplFSLocal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearScreen ¶
func ClearScreen()
func CreateProject ¶
func CreateSecret ¶
func CreateSecret() error
func GetProjectTemplates ¶
GetProjectTemplates returns list of templates in dir.
func GetTemplateGenerators ¶
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGeneratorLocal ¶
func NewGeneratorRemote ¶
func (*Generator) RenderedFiles ¶
func (*Generator) RunMainMenu ¶
func (*Generator) RunTemplate ¶
func (*Generator) SelectedTemplate ¶
func (*Generator) SetInteractive ¶
func (g *Generator) SetInteractive()
func (*Generator) WriteFiles ¶
Click to show internal directories.
Click to hide internal directories.