util

package
v4.0.0-beta.4+incompat... Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateQuestionViaTypeConfig

func GenerateQuestionViaTypeConfig(title string, config *model.TypeConfig, listConfig *viper.Viper) (survey.Prompt, []survey.AskOpt)

GenerateQuestionViaTypeConfig will generate PromptUI object for prompt input from user

Types

type YAML

type YAML struct{}

YAML is object of config yaml

func GeneratorYAML

func GeneratorYAML() *YAML

GeneratorYAML will return YAML Object

func (*YAML) ChgLogConfig

func (y *YAML) ChgLogConfig(style, repoURL string) string

ChgLogConfig will return chglog configuration template

func (*YAML) ChgLogTpl

func (y *YAML) ChgLogTpl() string

ChgLogTpl will return chglog release-notes templates

func (*YAML) Config

func (y *YAML) Config() string

Config is a default config.yaml

func (*YAML) ListConfig

func (y *YAML) ListConfig() string

ListConfig is default list.yaml

func (*YAML) ReadmeMarkdown

func (y *YAML) ReadmeMarkdown(version string) string

ReadmeMarkdown will return readme file template

Jump to

Keyboard shortcuts

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