config

package
v2.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig added in v2.3.0

func InitConfig(cmd *cobra.Command) error

Types

type Config

type Config struct {
	Token                           string
	ProviderPlugin                  string
	ProviderOpts                    map[string]string
	CommitAnalyzerPlugin            string
	CommitAnalyzerOpts              map[string]string
	CIConditionPlugin               string
	CIConditionOpts                 map[string]string
	ChangelogGeneratorPlugin        string
	ChangelogGeneratorOpts          map[string]string
	Changelog                       string
	FilesUpdaterPlugins             []string
	FilesUpdaterOpts                map[string]string
	HooksPlugins                    []string
	HooksOpts                       map[string]string
	UpdateFiles                     []string
	Match                           string
	VersionFile                     bool
	Prerelease                      bool
	Ghr                             bool
	NoCI                            bool
	Dry                             bool
	AllowInitialDevelopmentVersions bool
	AllowNoChanges                  bool
	ForceBumpPatchVersion           bool
	MaintainedVersion               string
	PrependChangelog                bool
	DownloadPlugins                 bool
	ShowProgress                    bool
}

Config is a complete set of app configuration

func NewConfig

func NewConfig(cmd *cobra.Command) (*Config, error)

Jump to

Keyboard shortcuts

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